YZProjectCloud/yanzhu-ui-vue3/src/App.vue

73 lines
1.3 KiB
Vue
Raw Normal View History

2024-08-17 12:11:19 +08:00
<template>
<router-view />
</template>
<script setup>
2024-08-24 11:53:56 +08:00
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'
2024-08-17 12:11:19 +08:00
onMounted(() => {
nextTick(() => {
handleThemeStyle(useSettingsStore().theme);
2024-08-24 11:53:56 +08:00
})
})
2024-08-17 12:11:19 +08:00
</script>
2024-09-01 17:36:53 +08:00
<style lang="scss">
2024-12-18 22:34:51 +08:00
.el-form-item__content {
.el-select--default {
width: 192px;
2024-10-01 16:35:07 +08:00
}
}
2024-12-20 20:24:08 +08:00
.pagination-container {
.el-pagination {
right: 20px;
}
2024-12-22 19:55:21 +08:00
}
.el-sub-menu__title{
position: relative;
.todo_num_tips{
top:20px;
position: absolute;
right: 36px;
background-color: #f56c6c;
border-radius: 10px;
color: #fff;
font-size: 12px;
height: 18px;
line-height: 18px;
padding: 0 6px;
text-align: center;
white-space: nowrap;
border: 1px solid #fff;
cursor: pointer;
top: 16px;
display: none;
}
}
.nest-menu{
position: relative;
.todo_num_tips{
position: absolute;
right: 18px;
background-color: #f56c6c;
border-radius: 10px;
color: #fff;
font-size: 12px;
height: 18px;
line-height: 18px;
padding: 0 6px;
text-align: center;
white-space: nowrap;
border: 1px solid #fff;
cursor: pointer;
top: 16px;
display: none;
}
2024-12-24 23:41:35 +08:00
}
:focus-visible {
outline: none !important;
}
2024-12-28 20:35:20 +08:00
.command{
cursor: pointer;
}
2024-09-01 17:36:53 +08:00
</style>