调整样式&控制台模块名称
This commit is contained in:
parent
9264130521
commit
d0a1b3d28e
|
@ -30,8 +30,8 @@ const DEFAULT_CONFIG = {
|
||||||
layout: [18, 6],
|
layout: [18, 6],
|
||||||
//小组件分布,com取值:views/home/components 文件名
|
//小组件分布,com取值:views/home/components 文件名
|
||||||
copmsList: [
|
copmsList: [
|
||||||
[{ title: "模块1", com: 'C1' },{ title: "模块3", com: 'C3' }],
|
[{ title: "实时收入", com: 'C1' },{ title: "周收入对比", com: 'C3' }],
|
||||||
[{ title: "模块2", com: 'C2' }],
|
[{ title: "版本更新", com: 'C2' }],
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<ul ref="tags">
|
<ul ref="tags">
|
||||||
<li v-for="tag in tagList" v-bind:key="tag" :class="[isActive(tag)?'active':'',tag.meta.affix?'affix':'' ]" @contextmenu.prevent="openContextMenu($event, tag)">
|
<li v-for="tag in tagList" v-bind:key="tag" :class="[isActive(tag)?'active':'',tag.meta.affix?'affix':'' ]" @contextmenu.prevent="openContextMenu($event, tag)">
|
||||||
<router-link :to="tag">
|
<router-link :to="tag">
|
||||||
{{ tag.meta.title }}
|
<span>{{ tag.meta.title }}</span>
|
||||||
<i v-if="!tag.meta.affix" class="el-icon-close" @click.prevent.stop='closeSelectedTag(tag)'></i>
|
<i v-if="!tag.meta.affix" class="el-icon-close" @click.prevent.stop='closeSelectedTag(tag)'></i>
|
||||||
</router-link>
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -79,10 +79,11 @@ a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: bo
|
||||||
.adminui-topbar .menu-collapse:hover {background-image: linear-gradient(90deg, #d9ecff, transparent);}
|
.adminui-topbar .menu-collapse:hover {background-image: linear-gradient(90deg, #d9ecff, transparent);}
|
||||||
|
|
||||||
.adminui-tags {height:35px;background: #fff;border-bottom: 1px solid #e6e6e6;box-shadow: 0 1px 4px rgba(0,21,41,.08);}
|
.adminui-tags {height:35px;background: #fff;border-bottom: 1px solid #e6e6e6;box-shadow: 0 1px 4px rgba(0,21,41,.08);}
|
||||||
.adminui-tags li {cursor: pointer;display: inline-block;float: left;height:34px;line-height: 34px;}
|
.adminui-tags li {cursor: pointer;display: inline-block;float: left;height:34px;line-height: 34px;position: relative;}
|
||||||
|
.adminui-tags li::after {content: " ";width:1px;height:100%;position: absolute;right:0px;background-image: linear-gradient(#fff, #e6e6e6);}
|
||||||
.adminui-tags li a {display: inline-block;padding:0 10px;width:100%;height:100%;color: #999;text-decoration:none;}
|
.adminui-tags li a {display: inline-block;padding:0 10px;width:100%;height:100%;color: #999;text-decoration:none;}
|
||||||
.adminui-tags li i {margin-left:10px;padding:3px;}
|
.adminui-tags li i {margin-left:10px;padding:3px;border-radius: 3px;}
|
||||||
.adminui-tags li i:hover {background: #ff5722;color: #fff;}
|
.adminui-tags li i:hover {background: rgba(0,0,0,.2);color: #fff;}
|
||||||
.adminui-tags li:hover {background: #ecf5ff;}
|
.adminui-tags li:hover {background: #ecf5ff;}
|
||||||
.adminui-tags li.active {background: @--color-primary;}
|
.adminui-tags li.active {background: @--color-primary;}
|
||||||
.adminui-tags li.active a {color: #fff;}
|
.adminui-tags li.active a {color: #fff;}
|
||||||
|
|
|
@ -14,7 +14,9 @@
|
||||||
.el-main.nopadding {padding:0;background: #fff;}
|
.el-main.nopadding {padding:0;background: #fff;}
|
||||||
.el-drawer__body {overflow: auto;}
|
.el-drawer__body {overflow: auto;}
|
||||||
.el-popconfirm__main {margin: 14px 0;}
|
.el-popconfirm__main {margin: 14px 0;}
|
||||||
.el-card__header {border-bottom: 0}
|
.el-card__header {border-bottom: 0;font-size: 17px;font-weight: bold;padding:15px 20px;}
|
||||||
|
.el-dialog__title {font-size: 17px;font-weight: bold;}
|
||||||
|
.el-drawer__header>:first-child {font-size: 17px;font-weight: bold;}
|
||||||
.el-tree.menu .el-tree-node__content {height:36px;}
|
.el-tree.menu .el-tree-node__content {height:36px;}
|
||||||
.el-input-number__decrease, .el-input-number__increase {top:2px;}
|
.el-input-number__decrease, .el-input-number__increase {top:2px;}
|
||||||
.el-menu-item [class^=sc-icon-] {font-size: 18px;display: inline-block;line-height: 1;}
|
.el-menu-item [class^=sc-icon-] {font-size: 18px;display: inline-block;line-height: 1;}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
import scEcharts from '@/components/scEcharts';
|
import scEcharts from '@/components/scEcharts';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title:"模块1",
|
title: "实时收入",
|
||||||
components: {
|
components: {
|
||||||
scEcharts
|
scEcharts
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
title: "模块2",
|
title: "版本更新",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
import scEcharts from '@/components/scEcharts';
|
import scEcharts from '@/components/scEcharts';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title:"模块3",
|
title:"周收入对比",
|
||||||
components: {
|
components: {
|
||||||
scEcharts
|
scEcharts
|
||||||
},
|
},
|
||||||
|
|
|
@ -150,9 +150,11 @@
|
||||||
},
|
},
|
||||||
created: function() {
|
created: function() {
|
||||||
this.$TOOL.data.remove("user")
|
this.$TOOL.data.remove("user")
|
||||||
|
this.$TOOL.data.remove("grid")
|
||||||
this.$store.commit("clearViewTags")
|
this.$store.commit("clearViewTags")
|
||||||
this.$store.commit("clearKeepLive")
|
this.$store.commit("clearKeepLive")
|
||||||
this.$store.commit("clearIframeList")
|
this.$store.commit("clearIframeList")
|
||||||
|
console.log('%c SCUI %c Gitee: https://gitee.com/lolicode/scui', 'background:#666;color:#fff;border-radius:3px;', '')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
submitForm(formName, type) {
|
submitForm(formName, type) {
|
||||||
|
|
Loading…
Reference in New Issue