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

# Conflicts:
#	src/main/webapp/static/ms-admin/4.7.0/less/app.less
#	src/main/webapp/static/mweixin/css/article.css

Signed-off-by: yinxr <2273460044@qq.com>
This commit is contained in:
yinxr 2019-01-26 17:14:47 +08:00
commit ae05dc1d20
19 changed files with 127 additions and 50 deletions

View File

@ -64,7 +64,7 @@ var articleBasicId=0;
$(function(){ $(function(){
//页面标题 //页面标题
var articleTitle="<#if categoryTitle?has_content>${categoryTitle}&nbsp;</#if><#if article.basicId !=0><small>编辑文章</small><#else><small>添加文章</small></#if>"; var articleTitle="<#if categoryTitle?has_content>${categoryTitle}&nbsp;</#if><#if article.basicId !=0><small>编辑文章</small><#else><small>添加文章</small></#if>";
$(".ms-content-body-title>span").html(articleTitle); $(".ms-weixin-content-body-title>span").html(articleTitle);
//隐藏跳转地址 //隐藏跳转地址
$("input[name='articleUrl']").parent().hide(); $("input[name='articleUrl']").parent().hide();

View File

@ -1,7 +1,7 @@
<!-- 关键词回复 --> <!-- 关键词回复 -->
<link rel="stylesheet" href="../../../../static/mweixin/css/keyword-reply.css"> <link rel="stylesheet" href="../../../../static/mweixin/css/keyword-reply.css">
<div id="keyword-reply" class="keyword-reply ms-container" v-if="menuVue.menuActive == '关键词表单'"> <div id="keyword-reply" class="keyword-reply ms-container ms-weixin-content" v-if="menuVue.menuActive == '关键词表单'">
<el-form :model="keywordReplyForm" status-icon :rules="keywordReplyFormRules" ref="keywordReplyForm" label-width="100px"> <el-form :model="keywordReplyForm" status-icon :rules="keywordReplyFormRules" ref="keywordReplyForm" label-width="100px">
<el-form-item label="关键词" prop="keyword" class="ms-keyword-input"> <el-form-item label="关键词" prop="keyword" class="ms-keyword-input">
<el-row type='flex' justify='space-between' align='center'> <el-row type='flex' justify='space-between' align='center'>

View File

@ -1,7 +1,7 @@
<!-- 关键字列表 --> <!-- 关键字列表 -->
<link rel="stylesheet" href="../../../../static/mweixin/css/keyword-list.css"> <link rel="stylesheet" href="../../../../static/mweixin/css/keyword-list.css">
<div id="keyword-list" class="keyword-list ms-container" v-if="menuVue.menuActive == '关键词回复'"> <div id="keyword-list" class="keyword-list ms-container ms-weixin-content" v-if="menuVue.menuActive == '关键词回复'">
<el-table :data="tableData" border style="width: 100%"> <el-table :data="tableData" border style="width: 100%">
<el-table-column prop="date" label="规则名" width="180" align='center'> <el-table-column prop="date" label="规则名" width="180" align='center'>
</el-table-column> </el-table-column>

View File

@ -2,11 +2,14 @@
<div id="menu-vue"> <div id="menu-vue">
<!--左侧--> <!--左侧-->
<el-container class="am-admin-menu"> <el-container class="ms-admin-menu">
<!--右侧头部--> <!--右侧头部-->
<el-header height="50px"> <el-header class="ms-header" height="50px">
<div class="ms-admin-menu-title"> <div>
<i></i> 吕小布微信号 <i class="el-icon-arrow-left"></i>
<span>
吕小布微信号
</span>
</div> </div>
</el-header> </el-header>
<el-main> <el-main>
@ -19,9 +22,7 @@
<template slot="title"> <template slot="title">
<span v-text="menu.title"></span> <span v-text="menu.title"></span>
</template> </template>
<el-menu-item-group>
<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 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-submenu> </el-submenu>
</template> </template>
</el-menu> </el-menu>

View File

@ -1,6 +1,6 @@
<!-- 自定义菜单 --> <!-- 自定义菜单 -->
<link rel="stylesheet" href="../../../../static/mweixin/css/custom-menu.css"> <link rel="stylesheet" href="../../../../static/mweixin/css/custom-menu.css">
<div id="custom-menu" class="ms-custom-menu" v-if="menuVue.menuActive == '自定义菜单'"> <div id="custom-menu" class="ms-custom-menu ms-weixin-content" v-if="menuVue.menuActive == '自定义菜单'">
<el-container class="ms-custom-container"> <el-container class="ms-custom-container">
<el-aside> <el-aside>
<el-container> <el-container>

View File

@ -1,6 +1,6 @@
<!-- 消息回复 && 关注回复 --> <!-- 消息回复 && 关注回复 -->
<link rel="stylesheet" href="../../../../static/mweixin/css/message-reply.css"> <link rel="stylesheet" href="../../../../static/mweixin/css/message-reply.css">
<div id="message-reply" class="ms-message-reply ms-container" v-if="menuVue.menuActive == '消息回复'||menuVue.menuActive == '关注时回复'"> <div id="message-reply" class="ms-message-reply ms-container ms-weixin-content" v-if="menuVue.menuActive == '消息回复'||menuVue.menuActive == '关注时回复'">
<div>回复内容</div> <div>回复内容</div>
<el-tabs v-model="activeName" @tab-click="" class="message-reply-tabs"> <el-tabs v-model="activeName" @tab-click="" class="message-reply-tabs">
<el-tab-pane label="文字" name="text"> <el-tab-pane label="文字" name="text">

View File

@ -1,19 +1,21 @@
<!--图文素材页--> <!--图文素材页-->
<link rel="stylesheet" href="../../../static/mweixin/css/material-list.css"> <link rel="stylesheet" href="../../../static/mweixin/css/material-list.css">
<div id="material-list-vue" v-if="menuVue.menuActive == '图文'"> <div id="material-list-vue" v-if="menuVue.menuActive == '图文'" class="ms-weixin-content">
<el-container> <el-container>
<!--右侧头部--> <!--右侧头部-->
<el-header height="50px"> <el-header class="ms-header" height="52px">
<el-row class="ms-fr"> <el-row>
<el-button type="success">保存</el-button> <el-button type="primary" size="small">
<el-button>更新</el-button> <i class="el-icon-plus"></i>添加</el-button>
<el-button>返回</el-button> <el-button class="ms-fr" size="small">
<i class="el-icon-refresh"></i>刷新</el-button>
<el-button class="ms-fr" size="small">同步微信素材</el-button>
</el-row> </el-row>
</el-header> </el-header>
<el-main> <el-main>
<!--内容同步--> <!--内容同步-->
<el-container> <el-container>
<el-header height="50px"> <el-header class="ms-tr ms-header">
</el-header> </el-header>
<!--素材列表--> <!--素材列表-->

View File

@ -13,6 +13,5 @@
<!--#include virtual="keyword/form.ftl" --> <!--#include virtual="keyword/form.ftl" -->
<!--#include virtual="menu/index.ftl" --> <!--#include virtual="menu/index.ftl" -->
<!--#include virtual="message/index.ftl" --> <!--#include virtual="message/index.ftl" -->
<!--#include virtual="article/index.ftl" -->
</body> </body>
</html> </html>

View File

@ -73,7 +73,7 @@ textarea::-webkit-input-placeholder {
} }
.ms-container { .ms-container {
margin: 12px; margin: 12px;
height: 100%; height: calc(100% - 24px);
padding: 14px 14px 0 14px; padding: 14px 14px 0 14px;
background: #fff; background: #fff;
} }
@ -97,3 +97,6 @@ textarea::-webkit-input-placeholder {
.el-button + .el-button { .el-button + .el-button {
margin-left: 0; margin-left: 0;
} }
.ms-weixin-content {
width: calc(100% - 140px);
}

View File

@ -22,8 +22,10 @@
html, html,
body { body {
min-height: 100vh; min-height: 100vh;
width: 100vw;
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;
@ -71,7 +73,7 @@ textarea::-webkit-input-placeholder {
} }
.ms-container { .ms-container {
margin: 12px; margin: 12px;
height: 100%; height: calc(100% - 24px);
padding: 14px 14px 0 14px; padding: 14px 14px 0 14px;
background: #fff; background: #fff;
} }
@ -95,6 +97,9 @@ textarea::-webkit-input-placeholder {
.el-button + .el-button { .el-button + .el-button {
margin-left: 0; margin-left: 0;
} }
.ms-weixin-content {
width: calc(100% - 140px);
}
.ms-custom-menu { .ms-custom-menu {
color: #f2f2f6; color: #f2f2f6;
} }

View File

@ -22,8 +22,10 @@
html, html,
body { body {
min-height: 100vh; min-height: 100vh;
width: 100vw;
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;
@ -71,7 +73,7 @@ textarea::-webkit-input-placeholder {
} }
.ms-container { .ms-container {
margin: 12px; margin: 12px;
height: 100%; height: calc(100% - 24px);
padding: 14px 14px 0 14px; padding: 14px 14px 0 14px;
background: #fff; background: #fff;
} }
@ -95,6 +97,9 @@ textarea::-webkit-input-placeholder {
.el-button + .el-button { .el-button + .el-button {
margin-left: 0; margin-left: 0;
} }
.ms-weixin-content {
width: calc(100% - 140px);
}
.keyword-list { .keyword-list {
padding: 14px; padding: 14px;
} }

View File

@ -22,8 +22,10 @@
html, html,
body { body {
min-height: 100vh; min-height: 100vh;
width: 100vw;
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;
@ -71,7 +73,7 @@ textarea::-webkit-input-placeholder {
} }
.ms-container { .ms-container {
margin: 12px; margin: 12px;
height: 100%; height: calc(100% - 24px);
padding: 14px 14px 0 14px; padding: 14px 14px 0 14px;
background: #fff; background: #fff;
} }
@ -95,6 +97,9 @@ textarea::-webkit-input-placeholder {
.el-button + .el-button { .el-button + .el-button {
margin-left: 0; margin-left: 0;
} }
.ms-weixin-content {
width: calc(100% - 140px);
}
.keyword-reply { .keyword-reply {
padding-bottom: 20px; padding-bottom: 20px;
} }

View File

@ -22,8 +22,10 @@
html, html,
body { body {
min-height: 100vh; min-height: 100vh;
width: 100vw;
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;
@ -71,7 +73,7 @@ textarea::-webkit-input-placeholder {
} }
.ms-container { .ms-container {
margin: 12px; margin: 12px;
height: 100%; height: calc(100% - 24px);
padding: 14px 14px 0 14px; padding: 14px 14px 0 14px;
background: #fff; background: #fff;
} }
@ -95,6 +97,9 @@ textarea::-webkit-input-placeholder {
.el-button + .el-button { .el-button + .el-button {
margin-left: 0; margin-left: 0;
} }
.ms-weixin-content {
width: calc(100% - 140px);
}
.ms-admin-material-list { .ms-admin-material-list {
margin: 15px; margin: 15px;
padding: 10px; padding: 10px;

View File

@ -22,6 +22,7 @@
html, html,
body { body {
min-height: 100vh; min-height: 100vh;
width: 100vw;
background-color: #eee; background-color: #eee;
margin: 0; margin: 0;
display: flex; display: flex;
@ -72,7 +73,7 @@ textarea::-webkit-input-placeholder {
} }
.ms-container { .ms-container {
margin: 12px; margin: 12px;
height: 100%; height: calc(100% - 24px);
padding: 14px 14px 0 14px; padding: 14px 14px 0 14px;
background: #fff; background: #fff;
} }
@ -96,15 +97,42 @@ textarea::-webkit-input-placeholder {
.el-button + .el-button { .el-button + .el-button {
margin-left: 0; margin-left: 0;
} }
.ms-admin-title { .ms-weixin-content {
height: 50px; width: calc(100% - 140px);
}
.ms-admin-menu {
min-height: 100vh;
min-width: 140px;
}
.ms-admin-menu .ms-header {
border-right: solid 1px #e6e6e6;
}
.ms-admin-menu .ms-header div {
height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.ms-admin-menu { .ms-admin-menu .ms-header div i {
display: inline-block;
text-align: center;
line-height: 1.4em;
width: 1.4em;
height: 1.4em;
border-radius: 4px;
color: #fff;
font-size: 1.4em;
background: #02CF5D;
}
.ms-admin-menu .ms-header div span {
margin: auto;
}
.ms-admin-menu .el-main {
padding: 0;
}
.ms-admin-menu .el-main .ms-admin-menu-menu {
min-height: calc(100vh - 50px); min-height: calc(100vh - 50px);
background: #fff; background: #fff;
} }
.ms-admin-menu-item { .ms-admin-menu .el-main .ms-admin-menu-menu-item {
min-width: 100% !important; min-width: 100% !important;
} }

View File

@ -22,8 +22,10 @@
html, html,
body { body {
min-height: 100vh; min-height: 100vh;
width: 100vw;
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;
@ -71,7 +73,7 @@ textarea::-webkit-input-placeholder {
} }
.ms-container { .ms-container {
margin: 12px; margin: 12px;
height: 100%; height: calc(100% - 24px);
padding: 14px 14px 0 14px; padding: 14px 14px 0 14px;
background: #fff; background: #fff;
} }
@ -95,6 +97,9 @@ textarea::-webkit-input-placeholder {
.el-button + .el-button { .el-button + .el-button {
margin-left: 0; margin-left: 0;
} }
.ms-weixin-content {
width: calc(100% - 140px);
}
.ms-message-reply { .ms-message-reply {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;

View File

@ -1,5 +1,4 @@
@import "../ms-admin/4.7.0/less/app.less"; @import "../ms-admin/4.7.0/less/app.less";
.ms-admin-material-list { .ms-admin-material-list {
.ms-margin-padding(15px, 10px); .ms-margin-padding(15px, 10px);
} }

View File

@ -1,15 +1,35 @@
@import "../ms-admin/4.7.0/less/app.less"; @import "../ms-admin/4.7.0/less/app.less";
.ms-admin-title {
height: 50px;
display: flex;
align-items: center;
}
.ms-admin-menu { .ms-admin-menu {
min-height: 100vh;
min-width: 140px;
.ms-header {
border-right: solid 1px #e6e6e6;
div {
height: 100%;
.ms-align-center;
i {
display: inline-block;
text-align: center;
line-height: 1.4em;
.ms-width-height(1.4em);
border-radius: 4px;
color: #fff;
font-size: 1.4em;
background: #02CF5D;
}
span {
margin: auto;
}
}
}
.el-main {
padding: 0;
.ms-admin-menu-menu {
min-height: ~'calc(100vh - 50px)'; min-height: ~'calc(100vh - 50px)';
background: #fff; background: #fff;
} }
.ms-admin-menu-menu-item {
.ms-admin-menu-item {
min-width: 100% !important; min-width: 100% !important;
} }
}
}