You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.2 KiB
Vue
77 lines
1.2 KiB
Vue
<template>
|
|
<div id="app">
|
|
<router-view/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'App',
|
|
metaInfo() {
|
|
return {
|
|
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
|
|
titleTemplate: title => {
|
|
return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
|
|
/* 滚动条样式 */
|
|
::-webkit-scrollbar {
|
|
width: 10px; /* 滚动条宽度 */
|
|
height: 10px; /* 滚动条高度 */
|
|
}
|
|
|
|
/* 滚动条轨道 */
|
|
::-webkit-scrollbar-track {
|
|
background-color: #f5f5f5; /* 滚动条轨道颜色 */
|
|
border-radius: 25px; /* 滚动条轨道圆角 */
|
|
}
|
|
|
|
/* 滚动条滑块 */
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: #888; /* 滚动条滑块颜色 */
|
|
border-radius: 25px; /* 滚动条轨道圆角 */
|
|
}
|
|
|
|
/* 鼠标悬停时滚动条滑块颜色 */
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: #555; /* 鼠标悬停时滚动条滑块颜色 */
|
|
}
|
|
|
|
.color-red {
|
|
color: red;
|
|
}
|
|
|
|
.p10 {
|
|
padding: 10px;
|
|
}
|
|
|
|
.width-full {
|
|
width: 100%;
|
|
}
|
|
|
|
.height-full {
|
|
height: 100%;
|
|
}
|
|
|
|
.w90-percent {
|
|
width: 90%;
|
|
}
|
|
|
|
.align-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.align-left {
|
|
text-align: left;
|
|
}
|
|
|
|
.align-center {
|
|
text-align: center;
|
|
}
|
|
</style>
|