diff --git a/src/styles/index.scss b/src/styles/index.scss index f10f5cd..bc8ff0e 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -30,12 +30,12 @@ body { /* 自定义滚动条样式 */ .cur-scroll { &::-webkit-scrollbar{ - width:8px; - height:6px; + width: 6px; + height: 6px; } &::-webkit-scrollbar-thumb{ background-color: transparent; - border-radius:4px; + border-radius: 3px; } &::-webkit-scrollbar-corner{ diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index a36c964..202288d 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -1,42 +1,51 @@ @@ -45,24 +54,3 @@ import { useUserStore } from '@/store/modules/user' const userStore = useUserStore() - - diff --git a/unocss.config.js b/unocss.config.js index 27f2a9b..1844097 100644 --- a/unocss.config.js +++ b/unocss.config.js @@ -3,11 +3,13 @@ import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss' export default defineConfig({ shortcuts: [ ['f-c-c', 'flex justify-center items-center'], - ['ellipsis', 'truncate'], + ['text-ellipsis', 'truncate'], + ['wh-full', 'w-full h-full'], ], rules: [ ['color-primary', { color: 'var(--primaryColor)' }], ['bgc-primary', { backgroundColor: 'var(--primaryColor)' }], + ['card-shadow', { 'box-shadow': '0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017' }], ], presets: [presetUno(), presetAttributify()], })