Merge branch '4.7.0' of https://gitee.com/mingSoft/MCMS.git into 4.7.0

This commit is contained in:
yinxr 2019-01-26 15:49:03 +08:00
commit 0df5bb3d77
4 changed files with 13 additions and 11 deletions

View File

@ -2,15 +2,15 @@
<div id="menu-vue"> <div id="menu-vue">
<!--左侧--> <!--左侧-->
<el-container> <el-container class="am-admin-menu">
<!--右侧头部--> <!--右侧头部-->
<el-header height="50px"> <el-header height="50px">
<div class="ms-admin-title"> <div class="ms-admin-menu-title">
<i></i> 吕小布微信号 <i></i> 吕小布微信号
</div> </div>
</el-header> </el-header>
<el-main> <el-main>
<el-menu class="ms-weixin-menu" default-active="0-0"> <el-menu class="ms-admin-menu-menu" default-active="0-0">
<template v-for="(menu,i) in menuList"> <template v-for="(menu,i) in menuList">
<!--单个选项--> <!--单个选项-->
<el-menu-item :index="i" @click="menuActive = menu.title" v-if="!menu.sub" v-text="menu.title"></el-menu-item> <el-menu-item :index="i" @click="menuActive = menu.title" v-if="!menu.sub" v-text="menu.title"></el-menu-item>
@ -20,7 +20,7 @@
<span v-text="menu.title"></span> <span v-text="menu.title"></span>
</template> </template>
<el-menu-item-group> <el-menu-item-group>
<el-menu-item class="ms-weixin-menu-item" @click="menuActive = sub.title" :index="i+'-'+index" v-for="(sub,index) in menu.sub" v-text="sub.title"></el-menu-item> <el-menu-item class="ms-admin-menu-menu-item" @click="menuActive = sub.title" :index="i+'-'+index" v-for="(sub,index) in menu.sub" v-text="sub.title"></el-menu-item>
</el-menu-item-group> </el-menu-item-group>
</el-submenu> </el-submenu>
</template> </template>

View File

@ -5,6 +5,7 @@ body {
min-height: 100vh; min-height: 100vh;
background-color: @backgroundColor; background-color: @backgroundColor;
margin: 0; margin: 0;
display: flex;
.ms-font(@defalutSize, @defalutColor) !important; //默认字体样式 .ms-font(@defalutSize, @defalutColor) !important; //默认字体样式
* { * {
text-decoration: none !important; text-decoration: none !important;

View File

@ -24,6 +24,7 @@ body {
min-height: 100vh; min-height: 100vh;
background-color: #eee; background-color: #eee;
margin: 0; margin: 0;
display: flex;
font-weight: initial !important; font-weight: initial !important;
font-size: 14px !important; font-size: 14px !important;
color: #333 !important; color: #333 !important;
@ -100,10 +101,10 @@ textarea::-webkit-input-placeholder {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.ms-weixin-menu { .ms-admin-menu {
min-height: calc(100vh - 50px); min-height: calc(100vh - 50px);
background: #fff; background: #fff;
} }
.ms-weixin-menu-item { .ms-admin-menu-item {
min-width: 100% !important; min-width: 100% !important;
} }

View File

@ -5,11 +5,11 @@
align-items: center; align-items: center;
} }
.ms-weixin-menu { .ms-admin-menu {
min-height: ~'calc(100vh - 50px)'; min-height: ~'calc(100vh - 50px)';
background: #fff; background: #fff;
} }
.ms-weixin-menu-item { .ms-admin-menu-item {
min-width: 100% !important; min-width: 100% !important;
} }