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

113 lines
2.1 KiB
Vue
Raw Normal View History

2024-08-17 12:11:19 +08:00
<template>
2025-04-16 23:58:47 +08:00
<router-view />
2024-08-17 12:11:19 +08:00
</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(() => {
2025-04-16 23:58:47 +08:00
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 {
2025-04-16 23:58:47 +08:00
.el-select--default {
width: 192px;
}
2024-10-01 16:35:07 +08:00
}
2024-12-20 20:24:08 +08:00
.pagination-container {
2025-04-16 23:58:47 +08:00
.el-pagination {
right: 20px;
}
2024-12-22 19:55:21 +08:00
}
2025-04-16 23:58:47 +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-22 19:55:21 +08:00
}
2024-12-24 23:41:35 +08:00
:focus-visible {
2025-04-16 23:58:47 +08:00
outline: none !important;
2024-12-28 20:35:20 +08:00
}
2025-04-16 23:58:47 +08:00
.command {
cursor: pointer;
}
.el-dialog__body {
max-height: 720px !important;
overflow-y: scroll !important;
.el-form {
margin-right: 15px !important;
}
2025-04-05 12:44:01 +08:00
}
/* 自定义垂直滚动条 */
::-webkit-scrollbar {
2025-04-16 23:58:47 +08:00
width: 8px;
2025-04-05 12:44:01 +08:00
}
::-webkit-scrollbar-track {
2025-04-16 23:58:47 +08:00
background-color: #fff3eaee !important;
2025-04-05 12:44:01 +08:00
}
::-webkit-scrollbar-thumb {
2025-04-16 23:58:47 +08:00
background-color: #ff990088 !important;
border-radius: 8px !important;
2025-04-05 12:44:01 +08:00
}
::-webkit-scrollbar-thumb:hover {
2025-04-16 23:58:47 +08:00
background-color: #ff9900ee !important;
2025-04-05 12:44:01 +08:00
}
2025-04-16 23:58:47 +08:00
.anchorBL {
display: none !important;
}
a {
color: #1e90ff;
}
.ant-modal-mask {
opacity: 0.9 !important;
2025-04-05 12:44:01 +08:00
}
2025-04-22 00:07:38 +08:00
.blue {
color: rgb(30, 144, 255);
}
2025-06-25 10:36:08 +08:00
.icon-blue{
fill:rgb(30, 144, 255) !important;
}
2024-09-01 17:36:53 +08:00
</style>