jhprjv2/ruoyi-ui/src/App.vue

81 lines
1.7 KiB
Vue
Raw Normal View History

2023-08-10 21:09:49 +08:00
<template>
<div id="app">
<router-view />
<theme-picker />
</div>
</template>
<script>
import ThemePicker from "@/components/ThemePicker";
export default {
name: "App",
components: { ThemePicker },
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 scoped>
#app .theme-picker {
display: none;
}
</style>
2023-09-11 00:19:49 +08:00
<style lang="scss">
2024-04-20 16:19:07 +08:00
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active{
background-color: #1890ff !important;
color:#EEEEEE !important;
}
.app-container:first-child {
background-image: url("assets/images/app-bgvip.png?v=20230923");
background-size: 100% 100%;
}
2024-05-20 22:37:25 +08:00
.el-submenu__title{
2023-09-11 00:19:49 +08:00
position: relative;
.todo_num_tips{
2024-05-20 22:37:25 +08:00
top:20px;
2023-09-11 00:19:49 +08:00
position: absolute;
right: 36px;
background-color: #f56c6c;
border-radius: 10px;
color: #fff;
display: inline-block;
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-05-20 22:37:25 +08:00
.nest-menu{
position: relative;
2023-09-11 00:19:49 +08:00
.todo_num_tips{
2024-05-20 22:37:25 +08:00
position: absolute;
right: 18px;
background-color: #f56c6c;
border-radius: 10px;
color: #fff;
display: inline-block;
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;
2023-09-11 00:19:49 +08:00
}
}
</style>