Zlpt_Portal/src/App.vue

46 lines
1.2 KiB
Vue
Raw Normal View History

2024-12-25 08:52:58 +08:00
<script setup lang="ts">
import { loginNewApi } from 'http/api/home/index'
2025-02-05 09:12:35 +08:00
import { getUserInfoAPI } from 'http/api/login/index'
import { mainStore } from 'store/main'
import { useStore } from 'store/user'
import { useRoute, useRouter } from 'vue-router'
const userStore = mainStore()
const store = useStore()
const router = useRouter()
2024-12-25 08:52:58 +08:00
</script>
2023-11-30 10:49:45 +08:00
<template>
2023-12-01 17:02:05 +08:00
<RouterView />
2023-11-30 10:49:45 +08:00
</template>
2023-12-01 14:48:58 +08:00
2024-12-08 20:40:59 +08:00
<style lang="scss">
/* 适用于 Webkit 浏览器Chrome, Edge, Safari, etc. */
::-webkit-scrollbar {
width: 6px; /* 滚动条宽度 */
height: 8px; /* 水平滚动条高度 */
}
::-webkit-scrollbar-track {
// background: rgba(0, 0, 0, 0.1); /* 滚动条轨道背景颜色 */
border-radius: 6px; /* 轨道的圆角 */
}
::-webkit-scrollbar-thumb {
2025-04-30 10:00:41 +08:00
background-color: #00377a; /* 滚动条滑块颜色 */
2024-12-08 20:40:59 +08:00
border-radius: 6px; /* 滑块的圆角 */
border: 1px solid rgba(0, 0, 0, 0.1); /* 滑块与轨道的边框 */
}
::-webkit-scrollbar-thumb:hover {
2025-04-30 10:00:41 +08:00
//background-color: #00377a; /* 鼠标悬浮时的滑块颜色,稍微加深 */
2024-12-08 20:40:59 +08:00
}
::-webkit-scrollbar-corner {
background-color: transparent; /* 滚动条和内容区的角落部分,通常用于表格等 */
}
2024-12-23 13:52:38 +08:00
body {
font-size: 16px;
}
2024-12-08 20:40:59 +08:00
</style>