cashier-ERP/src/App.vue

28 lines
655 B
Vue
Raw Normal View History

2024-03-30 18:04:30 +08:00
<script setup>
import { onMounted } from 'vue'
onMounted(() => {
document.body.style.setProperty('--el-color-primary', '#1890ff');
2024-04-11 15:32:40 +08:00
document.body.style.setProperty('--el-upload-picture-card-size', '60px');
document.body.style.setProperty('--el-upload-list-picture-card-size', '60px');
2024-03-30 18:04:30 +08:00
})
2024-04-18 17:58:06 +08:00
const screenWidth = window.innerWidth;
console.log('当前屏幕宽度:', screenWidth);
2024-03-30 09:23:34 +08:00
</script>
<template>
2024-03-30 18:04:30 +08:00
<router-view />
2024-03-30 09:23:34 +08:00
</template>
2024-03-30 18:04:30 +08:00
<style lang="scss">
.el-button:focus{
outline: none;
2024-03-30 09:23:34 +08:00
}
2024-04-10 10:22:20 +08:00
// 取消input的上下箭头
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
2024-03-30 09:23:34 +08:00
</style>