Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
178009f4
Commit
178009f4
authored
Feb 16, 2019
by
sunxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '4.7.0' of
https://gitee.com/sunxinone/MCMS.git
into 4.7.0
parents
7fbb94f5
28f9a324
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
1740 additions
and
244 deletions
+1740
-244
article-default-thumb.jpg
...n/webapp/WEB-INF/manager/images/article-default-thumb.jpg
+0
-0
article-default.png
src/main/webapp/WEB-INF/manager/images/article-default.png
+0
-0
head-file.ftl
src/main/webapp/WEB-INF/manager/include/head-file.ftl
+16
-4
form.ftl
src/main/webapp/WEB-INF/manager/mdiy/diy-model/form.ftl
+0
-0
index.ftl
src/main/webapp/WEB-INF/manager/mdiy/diy-model/index.ftl
+101
-0
diy.ftl
src/main/webapp/WEB-INF/manager/mdiy/diy.ftl
+13
-0
menu.ftl
src/main/webapp/WEB-INF/manager/mweixin/menu.ftl
+2
-2
index.ftl
src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl
+0
-0
new-pic-form.ftl
...main/webapp/WEB-INF/manager/mweixin/menu/new-pic-form.ftl
+78
-38
index.ftl
src/main/webapp/WEB-INF/manager/mweixin/message/index.ftl
+86
-4
form.ftl
src/main/webapp/WEB-INF/manager/mweixin/metarial/form.ftl
+0
-0
index.ftl
src/main/webapp/WEB-INF/manager/mweixin/metarial/index.ftl
+1
-1
index.ftl
src/main/webapp/WEB-INF/manager/mweixin/picture/index.ftl
+94
-93
weixin.ftl
src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl
+23
-31
model-form.css
src/main/webapp/static/mdiy/css/model-form.css
+305
-0
model-list.css
src/main/webapp/static/mdiy/css/model-list.css
+141
-0
model-form.less
src/main/webapp/static/mdiy/less/model-form.less
+154
-0
model-list.less
src/main/webapp/static/mdiy/less/model-list.less
+5
-0
app.css
src/main/webapp/static/ms-admin/4.7.0/css/app.css
+149
-0
app.less
src/main/webapp/static/ms-admin/4.7.0/less/app.less
+36
-1
article.less
src/main/webapp/static/mweixin/article.less
+65
-10
app.css
src/main/webapp/static/mweixin/css/app.css
+138
-0
article.css
src/main/webapp/static/mweixin/css/article.css
+66
-5
custom-menu.css
src/main/webapp/static/mweixin/css/custom-menu.css
+67
-19
material-bank-form.css
src/main/webapp/static/mweixin/css/material-bank-form.css
+24
-5
material-list.css
src/main/webapp/static/mweixin/css/material-list.css
+6
-0
menu.css
src/main/webapp/static/mweixin/css/menu.css
+17
-4
message-reply.css
src/main/webapp/static/mweixin/css/message-reply.css
+43
-8
new-pic-form.css
src/main/webapp/static/mweixin/css/new-pic-form.css
+5
-5
picture-list.css
src/main/webapp/static/mweixin/css/picture-list.css
+12
-6
custom-menu.less
src/main/webapp/static/mweixin/custom-menu.less
+34
-6
material-bank-form.less
src/main/webapp/static/mweixin/material-bank-form.less
+10
-1
menu.less
src/main/webapp/static/mweixin/menu.less
+13
-0
message-reply.less
src/main/webapp/static/mweixin/message-reply.less
+34
-0
new-pic-form.less
src/main/webapp/static/mweixin/new-pic-form.less
+2
-1
No files found.
src/main/webapp/WEB-INF/manager/images/article-default-thumb.jpg
0 → 100644
View file @
178009f4
1.83 KB
src/main/webapp/WEB-INF/manager/images/article-default.png
0 → 100644
View file @
178009f4
3.15 KB
src/main/webapp/WEB-INF/manager/include/head-file.ftl
View file @
178009f4
...
...
@@ -7,6 +7,9 @@
<link rel="stylesheet" href="//at.alicdn.com/t/font_847907_mkdvd7gopsg.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_974973_42u7cwycwta.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1035189_ddqz6fpwzxb.css">
<!--自定义模型-->
<link rel="stylesheet" href="//at.alicdn.com/t/font_997125_lflqkedj6s9.css">
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- 引入组件库 -->
...
...
@@ -43,12 +46,20 @@
ms.manager = "${managerPath}";
ms.web = ms.base;
// ms.base = "http://192.168.0.54:8
5
";
// ms.manager = "http://192.168.0.54:8
5
/apis/ms";
// ms.web = "http://192.168.0.54:8
5
/apis";
// ms.base = "http://192.168.0.54:8
2
";
// ms.manager = "http://192.168.0.54:8
2
/apis/ms";
// ms.web = "http://192.168.0.54:8
2
/apis";
//图片懒加载
Vue.use(VueLazyload, {
error: ms.base + '/images/ic_image_deault.png',
loading: ms.base + '/images/ic_image_deault.png',
})
})
// 测试使用 ==> 微信其他接口走之前需要先走这个接口
ms.http.get(ms.manager + "/mweixin/11/function.do")
.then((res) => {
console.log('微信登录接口', true);
}, (err) => {
console.log(err)
})
</script>
\ No newline at end of file
src/main/webapp/WEB-INF/manager/mdiy/diy-model/form.ftl
0 → 100644
View file @
178009f4
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/manager/mdiy/diy-model/index.ftl
0 → 100644
View file @
178009f4
<link rel="stylesheet" href="../../../static/mdiy/css/model-list.css">
<div id="model-list" class="ms-mdiy-model-list" v-if="href == '列表'">
<el-container>
<el-header class="ms-header" height="50px">
<el-row>
<el-button size="small" icon="el-icon-plus" type="primary">保存</el-button>
<el-button type="danger" size="small" icon="el-icon-delete">删除</el-button>
<el-button class="ms-fr" size="small" icon="el-icon-refresh">刷新</el-button>
</el-row>
</el-header>
<el-container>
<el-header class="ms-tr ms-header">
<el-select v-model="value" placeholder="请选择" size="small">
</el-select>
<el-button size="small" icon="el-icon-search" type="primary">查询</el-button>
</el-header>
<el-main>
<el-table :data="tableData" border style="width: 100%">
<el-table-column label="规则名">
<template slot-scope="scope">
<el-button type="text" v-text="scope.row.data" @click="href='表单'"></el-button>
</template>
</el-table-column>
<el-table-column prop="name" label="发送对象">
</el-table-column>
</el-table>
</el-main>
</el-container>
</el-container>
</div>
<script>
var modelListVue = new Vue({
el: "#model-list",
data: {
value: "", //
tableData: [{
data: '项目玩法',
name: '王小虎',
}, {
data: '综合评估',
name: '王小虎',
}, {
data: '产权出售',
name: '王小虎',
}, {
data: '兵不匹配移动端',
name: '王小虎',
}],
href: '列表', //切换页面
addInputType: {}, //添加中的表单项
},
watch: {
href: function(data) {
var that = this;
if(data == '表单') {
this.$nextTick(function() {
new Sortable(document.getElementById("ms-type-list"), {
group: {
name: 'shared',
pull: 'clone',
ghostClass: 'sortable-ghost', //设置拖动时候显示的样式
},
animation: 150,
sort: false,
onStart: function(event) {
//准备拖动时保存拖动选项的数据
that.addInputType = {
type: event.item.dataset.type,
title: event.item.dataset.title,
downList: [], //下拉列表
downActiveList: [], //多选列表
set: [], //设置
unit: '', //金额单位
fieldType: '', //字段类型
};
},
});
new Sortable(document.getElementById("ms-input-list"), {
group: {
name: 'shared',
pull: false,
ghostClass: 'sortable-ghost', //设置拖动时候显示的样式
},
animation: 150,
onAdd: function(event) {
//拖动成功后删除拖动过来的元素
event.item.parentNode.removeChild(event.item);
//想素组添加拖动过来的选项选项
modelFormVue.formItemList.splice(event.newIndex, 0, that.addInputType);
},
});
})
}
}
},
methods: {},
})
</script>
\ No newline at end of file
src/main/webapp/WEB-INF/manager/mdiy/diy.ftl
0 → 100644
View file @
178009f4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title></title>
<!--#include virtual="../include/head-file.ftl" -->
</head>
<body>
<!--#include virtual="diy-model/index.ftl" -->
<!--#include virtual="diy-model/form.ftl" -->
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/manager/mweixin/menu.ftl
View file @
178009f4
...
...
@@ -16,9 +16,9 @@
<el-menu class="ms-admin-menu-menu" default-active="0-0">
<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"
class="ms-admin-menu-menu-item"
></el-menu-item>
<!--多个选项-->
<el-submenu :index="i+''" v-if="menu.sub">
<el-submenu :index="i+''" v-if="menu.sub"
class="ms-admin-submenu"
>
<template slot="title">
<span v-text="menu.title"></span>
</template>
...
...
src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl
View file @
178009f4
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/manager/mweixin/menu/new-pic-form.ftl
View file @
178009f4
...
...
@@ -4,11 +4,7 @@
<el-dialog title="选择图片" :visible.sync="isShow" custom-class='ms-weixin-dialog'>
<el-form :model="newPicForm">
<el-form-item label="上传图片" label-width="100px">
<el-upload
class="new-pic-upload"
:on-preview="handlePreview"
:on-remove="handleRemove"
:file-list="picList"
<el-upload class="new-pic-upload" :on-preview="handlePreview" :on-remove="handleRemove" :file-list="picList"
list-type="picture">
<el-button size="small" type="primary">本地上传</el-button>
<div slot="tip" class="el-upload__tip">
...
...
@@ -16,12 +12,22 @@
<dt>注意:1.图片上传仅支持bmp、png、jpeg、jpg、gif格式</dt>
<dd>2.同步至微信公众平台的图片最大2M,存在铭飞本地,最大支持5M的图片</dd>
</dl>
</div>
</el-upload>
</el-upload>
</el-form-item>
<el-form-item label="选择分组" label-width="100px">
<el-button icon='el-icon-plus' size='mini'>添加分组</el-button>
<el-popover placement="top-start" width="350" trigger="click" v-model='popoverShow'>
<el-form label-width="81px" :model="groupForm" ref="groupForm" :rules='groupRule'>
<el-form-item label="创建分组" prop='name'>
<el-input v-model="groupForm.name" size='mini'></el-input>
</el-form-item>
<div class="dialog-footer" style="float:right">
<el-button @click="cancel" size='mini'>取消</el-button>
<el-button type="primary" @click="saveGroup" size='mini'>确定</el-button>
</div>
</el-form>
<el-button slot="reference" icon='el-icon-plus' size='mini'>添加分组</el-button>
</el-popover>
<el-select v-model="selectedOption" placeholder="请选择分组" size='mini'>
<el-option v-for="item in picGroup" :key="item.value" :label="item.label" :value="item.value">
</el-option>
...
...
@@ -35,40 +41,73 @@
</el-dialog>
</div>
<script>
var newPicFormVue = new Vue({
el: '#new-pic-form',
data: {
isShow: false,
newPicForm: {
var newPicFormVue = new Vue({
el: '#new-pic-form',
data: {
isShow: false,
newPicForm: {
},
picGroup: [{
value: 'default',
label: '默认分组'
}, {
value: 'yun',
label: '云创'
},
{
value: 'pm',
label: 'PM管理系统'
}],
selectedOption:'',//被选中的选项
picList:[],//图片列表
},
methods: {
// 表单打开
open: function () {
this.isShow = true;
picGroup: [{
value: 'default',
label: '默认分组'
}, {
value: 'yun',
label: '云创'
},
{
value: 'pm',
label: 'PM管理系统'
}
],
selectedOption: '', //被选中的选项
picList: [], //图片列表
popoverShow: false,
groupForm: { //创建分组
name: ''
},
// 规则
groupRule: {
name: [{
required: true,
message: '请输入分组名称',
trigger: ['blur', 'change']
},
{
min: 1,
max: 5,
message: '长度在 1 到 5 个字符',
trigger: ['blur', 'change']
}
]
}
},
// 图片刚加载完
handlePreview:function(){
methods: {
// 表单打开
open: function () {
this.isShow = true;
},
// 图片刚加载完
handlePreview: function () {
},
// 图片删除
handleRemove:function(){
},
// 图片删除
handleRemove: function () {
},
saveGroup: function () {
var that = this;
that.$refs.groupForm.validate(function (pass, object) {
if (pass) {
// 校验成功
}
})
},
cancel: function () {
this.popoverShow = false
this.$refs.groupForm.resetFields()
},
},
},
})
})
</script>
\ No newline at end of file
src/main/webapp/WEB-INF/manager/mweixin/message/index.ftl
View file @
178009f4
...
...
@@ -24,15 +24,52 @@
<i class="el-icon-delete" @click="messageReplyForm.reply = ''"></i>
<div class="footer">
<i class="el-icon-star-off"></i>
<a>插入超链接</a>
<!-- 插入超链接 -->
<el-popover placement="top-start" width="350" trigger="click" v-model='popoverShow'>
<el-form label-width="81px" :model="hyperlinkForm" ref="hyperlinkForm" :rules='hyperlinkRule'>
<el-form-item label="文本内容" prop='text'>
<el-input v-model="hyperlinkForm.text" size='mini'></el-input>
</el-form-item>
<el-form-item label="链接地址" prop='link'>
<el-input v-model="hyperlinkForm.link" size='mini'></el-input>
</el-form-item>
<el-form-item style="margin:0">
<el-row type='flex' justify='end'>
<el-col span='6'>
<el-button type="primary" @click="saveLink" size='mini'>保存</el-button>
</el-col>
<el-col span='6'>
<el-button @click="cancelLink" size='mini'>取消</el-button>
</el-col>
</el-row>
</el-form-item>
</el-form>
<a slot="reference">插入超链接</a>
</el-popover>
</div>
</el-form-item>
</el-form>
</el-form>
</el-tab-pane>
<el-tab-pane label="图片" name="picture">
<el-tab-pane label="图片" name="picture" class="message-reply-picture">
<div onclick="materialBankFormVue.open()">
<i class="el-icon-picture-outline"></i>
<span>从素材库选择</span>
</div>
<div onclick="newPicFormVue.open()">
<i class="el-icon-plus"></i>
<span>新建图片</span>
</div>
</el-tab-pane>
<el-tab-pane label="图文" name="article">
<el-tab-pane label="图文" name="article" class="message-reply-article">
<div onclick="materialBankFormVue.open()">
<i class="el-icon-picture-outline"></i>
<span>从素材库选择</span>
</div>
<div onclick="newPicFormVue.open()">
<i class="el-icon-plus"></i>
<span>新建图文</span>
</div>
</el-tab-pane>
</el-tabs>
</em-main>
...
...
@@ -61,9 +98,54 @@
],
},
activeName: 'text',
// 超链接
hyperlinkForm: {
text: "",
link: "",
},
hyperlinkRule: {
text: [{
required: true,
message: '请输入超链接显示的文本内容',
trigger: 'blur'
},
{
min: 1,
max: 50,
message: '长度在 1 到 50 个字符',
trigger: 'blur'
}
],
link: [{
required: true,
message: '请输入超链接地址',
trigger: 'change'
}, {
validator: function(rule, value, callback) {
/^(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?$/.test(value) ?
callback() : callback('链接不合法')
}
}],
},
popoverShow: false, //弹出层显示与否的状态值
},
methods: {
// 保存超链接
saveLink: function() {
var that = this;
that.$refs.hyperlinkForm.validate(function(boolean, object) {
if(boolean) {
// 校验成功
that.messageReplyForm.reply = that.messageReplyForm.reply + `<a href=${that.hyperlinkForm.link}>${that.hyperlinkForm.text}</a>`
that.cancelLink()
}
})
},
// 取消超链接
cancelLink: function() {
this.$refs.hyperlinkForm.resetFields();
this.popoverShow = false
},
}
})
...
...
src/main/webapp/WEB-INF/manager/mweixin/metarial/form.ftl
View file @
178009f4
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/manager/mweixin/metarial/index.ftl
View file @
178009f4
...
...
@@ -12,7 +12,7 @@
</el-header>
<el-container>
<!--内容头部-->
<el-header class="ms-tr ms-header">
<el-header class="ms-tr ms-header
ms-header-select
">
<el-select v-model="value1" placeholder="请选择" size="small">
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
...
...
src/main/webapp/WEB-INF/manager/mweixin/picture/index.ftl
View file @
178009f4
<!--图
文
素材页-->
<!--图
片
素材页-->
<link rel="stylesheet" href="../../../static/mweixin/css/picture-list.css">
<div id="picture-list-vue" v-if="menuVue.menuActive == '图片'" class="ms-weixin-content">
<el-container class="ms-admin-picture">
<!--右侧头部-->
<el-header class="ms-header" height="50px">
<el-row>
<el-button type="primary" size="small" icon="el-icon-plus">添加</el-button>
<el-button class="ms-fr" size="small" icon="el-icon-refresh
">刷新</el-button>
<el-button class="ms-fr" size="small
">同步微信素材</el-button>
</el-row>
</el-header>
<el-container>
<!--内容头部-->
<el-header class="ms-tr ms-header
">
<el-select v-model="value1" placeholder="请选择" size="small">
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
<el-select v-model="value2" placeholder="请选择" size="small">
<el-option v-for="item in options2" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
<el-button type="primary" icon="el-icon-search" size="small">查询</el-button>
</el-header>
<!--素材列表-->
<el-main class="ms-admin-picture-list">
<el-container>
<el-aside class="ms-admin-picture-item">
<div v-for="picture in pictureList">
<div class="body">
<img :src="picture.img" />
<div>
<input type="checkbox" />
<span v-text="picture.title"></span>
</div>
</div>
<div class="footer">
<i class="el-icon-edit"></i>
<em></em>
<i class="el-icon-download"></i>
<em></em>
<i class="el-icon-delete"></i>
</div>
</div>
</el-aside>
<el-main class="ms-admin-picture-show">
<span>全部图片(6)</span>
<div>
<span>小米(1)</span>
<i class="el-icon-edit"></i>
<i class="el-icon-delete"></i>
</div>
<div>
<span>小米(1)</span>
<i class="el-icon-edit"></i>
<i class="el-icon-delete"></i>
</div>
<p>
<i class="el-icon-plus"></i>新建分组</p>
</el-main>
</el-container>
<el-container class="ms-admin-picture">
<!--右侧头部-->
<el-header class="ms-header" height="50px">
<el-row>
<el-button type="primary" size="small" icon="el-icon-plus">添加</el-button>
<el-button size="small" icon="el-icon-refresh" class="ms-fr
">刷新</el-button>
<el-button size="small" class="ms-fr
">同步微信素材</el-button>
</el-row>
</el-header>
<el-container>
<!--内容头部-->
<el-header class="ms-tr ms-header ms-header-select
">
<el-select v-model="value1" placeholder="请选择" size="small">
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
<el-select v-model="value2" placeholder="请选择" size="small">
<el-option v-for="item in options2" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
<el-button type="primary" icon="el-icon-search" size="small">查询</el-button>
</el-header>
<!--素材列表-->
<el-main class="ms-admin-picture-list">
<el-container>
<el-aside class="ms-admin-picture-item">
<div v-for="picture in pictureList">
<div class="body">
<img :src="picture.img" />
<div>
<input type="checkbox" />
<span v-text="picture.title"></span>
</div>
</div>
<div class="footer">
<i class="el-icon-edit"></i>
<em></em>
<i class="el-icon-download"></i>
<em></em>
<i class="el-icon-delete"></i>
</div>
</div>
</el-aside>
<el-main class="ms-admin-picture-show">
<span>全部图片(6)</span>
<div>
<span>小米(1)</span>
<i class="el-icon-edit"></i>
<i class="el-icon-delete"></i>
</div>
<div>
<span>小米(1)</span>
<i class="el-icon-edit"></i>
<i class="el-icon-delete"></i>
</div>
<p>
<i class="el-icon-plus"></i>新建分组</p>
</el-main>
</el-container>
</el-main>
</el-container>
</el-container>
</el-main>
</el-container>
</el-container>
</div>
<script>
new Vue({
el: "#picture-list-vue",
data: {
options1: [{
value: '全部图片',
label: '全部图片'
}],
options2: [{
value: '全部图片',
label: '全部图片'
}],
value1: '全部图片',
value2: '',
pictureList: [{
date: '12月27日',
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...',
img: '../images/data/ms-bg_1.jpg',
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......'
},
{
date: '12月27日',
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...',
img: '../images/data/ms-bg_1.jpg',
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......'
}
],
},
methods: {},
mounted: function
() {}
})
new Vue({
el: "#picture-list-vue",
data: {
options1: [{
value: '全部图片',
label: '全部图片'
}],
options2: [{
value: '全部图片',
label: '全部图片'
}],
value1: '全部图片',
value2: '',
pictureList: [{
date: '12月27日',
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...',
img: '../images/data/ms-bg_1.jpg',
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......'
},
{
date: '12月27日',
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...',
img: '../images/data/ms-bg_1.jpg',
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......'
}
],
},
methods: {},
mounted: function
() {}
})
</script>
\ No newline at end of file
src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl
View file @
178009f4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title></title>
<!-- <#include "/include/head-file.ftl"/> -->
<!--#include virtual="../include/head-file.ftl" -->
</head>
<body>
<!--#include virtual="menu.ftl" -->
<!--#include virtual="metarial/index.ftl" -->
<!--#include virtual="metarial/form.ftl" -->
<!--#include virtual="picture/index.ftl" -->
<!--#include virtual="keyword/index.ftl" -->
<!--#include virtual="keyword/form.ftl" -->
<!--#include virtual="menu/index.ftl" -->
<!--#include virtual="menu/new-pic-form.ftl" -->
<!--#include virtual="menu/material-bank-form.ftl" -->
<!--#include virtual="message/index.ftl" -->
</body>
</html>
<script>
// 测试使用 ==> 微信其他接口走之前需要先走这几个接口
(
function
(){
ms
.
http
.
get
(
ms
.
manager
+
"/mweixin/11/function.do"
)
.
then
((
res
)
=>
{
console
.
log
(
'res'
,
true
);
},
(
err
)
=>
{
console
.
log
(
err
)
})
})()
</script>
\ No newline at end of file
<head>
<meta
charset=
"UTF-8"
>
<title></title>
<!-- <#include "/include/head-file.ftl"/> -->
<!--#include virtual="../include/head-file.ftl" -->
</head>
<body>
<!--#include virtual="menu.ftl" -->
<!--#include virtual="metarial/index.ftl" -->
<!--#include virtual="metarial/form.ftl" -->
<!--#include virtual="picture/index.ftl" -->
<!--#include virtual="keyword/index.ftl" -->
<!--#include virtual="keyword/form.ftl" -->
<!--#include virtual="menu/index.ftl" -->
<!--#include virtual="menu/new-pic-form.ftl" -->
<!--#include virtual="menu/material-bank-form.ftl" -->
<!--#include virtual="message/index.ftl" -->
</body>
</html>
\ No newline at end of file
src/main/webapp/static/mdiy/css/model-form.css
0 → 100644
View file @
178009f4
/*
*这里的值严格按照UI设计图标注值来进行设置
*/
/*
*颜色
*/
/*
*页面的边距
*/
/*
*字体
*/
/*
*头像
*/
/*
* 按钮
*/
/*
*对常见的多行样式进行了方法封装,方便调用,加快开发效率
*/
html
,
body
{
min-height
:
100vh
;
width
:
100vw
;
background-color
:
#eee
;
margin
:
0
;
display
:
flex
;
font-weight
:
initial
!important
;
font-size
:
14px
!important
;
color
:
#333
!important
;
}
html
*,
body
*
{
text-decoration
:
none
!important
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
box-sizing
:
border-box
;
}
.ms-ellipsis
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
display
:
block
;
}
.ms-align-center
{
display
:
flex
;
align-items
:
center
;
}
input
::-webkit-input-placeholder
,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
width
:
8px
;
height
:
8px
;
}
/*定义滚动条轨道 内阴影+圆角*/
*
::-webkit-scrollbar-track
{
border-radius
:
10px
;
/*滚动条的背景区域的圆角*/
background-color
:
#eee
;
/*滚动条的背景颜色*/
}
/*定义滑块 内阴影+圆角*/
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
margin
:
12px
;
height
:
calc
(
100%
-
24px
);
padding
:
14px
;
background
:
#fff
;
}
.ms-header
{
padding
:
10px
;
margin
:
0
;
border-bottom
:
1px
solid
#ddd
;
background
:
#fff
;
height
:
50px
;
}
.ms-header
button
{
height
:
30px
;
}
.ms-pagination
{
padding
:
20px
0
;
text-align
:
right
;
}
.ms-fr
{
float
:
right
;
}
.ms-tr
{
text-align
:
right
;
}
.ms-weixin-content
{
width
:
calc
(
100%
-
140px
);
}
.ms-weixin-dialog
.el-dialog__header
{
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
font-size
:
14px
;
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
cursor
:
pointer
;
}
.ms-hover
:hover
{
color
:
#0099ff
;
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.el-card
,
.el-message
{
border-radius
:
0
!important
;
}
.sortable-ghost
{
opacity
:
0.3
;
background
:
#ccc
!important
;
border-color
:
transparent
!important
;
color
:
transparent
!important
;
}
.sortable-ghost
*
{
background
:
#ccc
!important
;
border-color
:
transparent
!important
;
color
:
transparent
!important
;
}
.ms-mdiy-model-form
{
width
:
100vw
;
height
:
100vh
;
}
.ms-mdiy-model-form
.el-container
{
height
:
100%
;
}
.ms-mdiy-model-form
.ms-row
button
{
margin-left
:
10px
;
}
.ms-mdiy-model-form
.ms-header-title
{
margin-bottom
:
15px
;
}
.ms-mdiy-model-form
.el-checkbox-group
{
font-size
:
inherit
!important
;
}
.ms-mdiy-model-form
.ms-editor-type-layout
{
background
:
#fff
;
min-width
:
15%
;
padding
:
20px
;
border-right
:
1px
solid
#e6e6e6
;
}
.ms-mdiy-model-form
.ms-editor-type-layout
.ms-type-list
{
margin
:
0
;
padding
:
0
;
display
:
flex
;
justify-content
:
space-between
;
flex-wrap
:
wrap
;
}
.ms-mdiy-model-form
.ms-editor-type-layout
.ms-type-list
li
{
width
:
calc
(
50%
-
5px
);
margin
:
0
0
5px
0
;
padding
:
5px
;
list-style
:
none
;
background
:
#E6F7FF
;
border
:
1px
solid
#e6e6e6
;
cursor
:
pointer
;
}
.ms-mdiy-model-form
.ms-editor-type-layout
.ms-type-list
li
i
{
font-weight
:
initial
;
font-size
:
1em
;
color
:
#999
;
margin
:
0
5px
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
{
background
:
#fff
;
margin
:
8px
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
{
padding
:
6px
20px
6px
20px
;
border
:
1px
solid
transparent
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.unit-input
{
width
:
calc
(
100%
-
41px
)
!important
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.el-form-item__content
{
display
:
flex
;
align-items
:
flex-start
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.el-form-item__content
.del-but
{
visibility
:
hidden
;
padding-left
:
20px
;
margin-left
:
auto
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.el-radio
{
line-height
:
inherit
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.active
{
border-color
:
#0099ff
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.active
.del-but
{
visibility
:
visible
!important
;
}
.ms-mdiy-model-form
.ms-editor-body-layout
.sortable-ghost
{
margin-bottom
:
18px
;
min-height
:
40px
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
{
background
:
#fff
;
min-width
:
20%
;
display
:
flex
;
flex-wrap
:
wrap
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-header-title
{
border-left
:
1px
solid
#e6e6e6
;
width
:
100%
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
{
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
{
padding
:
15px
;
height
:
calc
(
100vh
-
200px
);
overflow
:
auto
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.el-form-item__label
{
line-height
:
1.4em
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.el-form-item
{
margin-bottom
:
14px
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.el-form-item
.input-with-select
.el-input-group__append
{
width
:
90px
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.el-form-item
.input-with-select
.el-input-group__append
.el-input
input
{
background-color
:
#fff
;
border-top
:
1px
solid
#dcdfe6
;
border-bottom
:
1px
solid
#dcdfe6
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
{
margin
:
0
;
padding
:
0
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
li
{
display
:
flex
;
align-items
:
center
;
list-style
:
none
;
margin-bottom
:
12px
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
li
i
{
cursor
:
pointer
;
font-size
:
14px
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
li
i
:hover
{
color
:
#0099ff
;
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
li
.ms-input
,
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
li
.ms-radio
,
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
li
.icon-tuodong
{
margin-right
:
6px
;
line-height
:
initial
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
.ms-plus
{
cursor
:
pointer
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
.ms-plus
:hover
{
color
:
#0099ff
;
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
.ms-down-list
.ms-plus
i
{
margin-right
:
6px
;
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.footer
{
margin-top
:
auto
;
border-top
:
1px
solid
#e6e6e6
;
height
:
60px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
padding-right
:
10px
;
}
src/main/webapp/static/mdiy/css/model-list.css
0 → 100644
View file @
178009f4
/*
*这里的值严格按照UI设计图标注值来进行设置
*/
/*
*颜色
*/
/*
*页面的边距
*/
/*
*字体
*/
/*
*头像
*/
/*
* 按钮
*/
/*
*对常见的多行样式进行了方法封装,方便调用,加快开发效率
*/
html
,
body
{
min-height
:
100vh
;
width
:
100vw
;
background-color
:
#eee
;
margin
:
0
;
display
:
flex
;
font-weight
:
initial
!important
;
font-size
:
14px
!important
;
color
:
#333
!important
;
}
html
*,
body
*
{
text-decoration
:
none
!important
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
box-sizing
:
border-box
;
}
.ms-ellipsis
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
display
:
block
;
}
.ms-align-center
{
display
:
flex
;
align-items
:
center
;
}
input
::-webkit-input-placeholder
,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
width
:
8px
;
height
:
8px
;
}
/*定义滚动条轨道 内阴影+圆角*/
*
::-webkit-scrollbar-track
{
border-radius
:
10px
;
/*滚动条的背景区域的圆角*/
background-color
:
#eee
;
/*滚动条的背景颜色*/
}
/*定义滑块 内阴影+圆角*/
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
margin
:
12px
;
height
:
calc
(
100%
-
24px
);
padding
:
14px
;
background
:
#fff
;
}
.ms-header
{
padding
:
10px
;
margin
:
0
;
border-bottom
:
1px
solid
#ddd
;
background
:
#fff
;
height
:
50px
;
}
.ms-header
button
{
height
:
30px
;
}
.ms-pagination
{
padding
:
20px
0
;
text-align
:
right
;
}
.ms-fr
{
float
:
right
;
}
.ms-tr
{
text-align
:
right
;
}
.ms-weixin-content
{
width
:
calc
(
100%
-
140px
);
}
.ms-weixin-dialog
.el-dialog__header
{
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
font-size
:
14px
;
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
cursor
:
pointer
;
}
.ms-hover
:hover
{
color
:
#0099ff
;
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.el-card
,
.el-message
{
border-radius
:
0
!important
;
}
.ms-mdiy-model-list
{
width
:
100%
;
}
src/main/webapp/static/mdiy/less/model-form.less
0 → 100644
View file @
178009f4
@import "../../ms-admin/4.7.0/less/app.less";
//表单页
.ms-mdiy-model-form {
.ms-width-height(100vw, 100vh);
.el-container {
height: 100%;
}
.ms-row {
button {
margin-left: 10px;
}
}
.ms-header-title {
margin-bottom: 15px;
}
.el-checkbox-group {
font-size: inherit !important;
}
//左侧自定义表单项
.ms-editor-type-layout {
background: #fff;
min-width: 15%;
padding: 20px;
border-right: 1px solid @borderColor;
.ms-type-list {
.ms-margin-padding(0);
.ms-flex();
flex-wrap: wrap;
li {
width: ~'calc(50% - 5px)';
.ms-margin-padding(0 0 5px 0, 5px);
list-style: none;
background: #E6F7FF;
border: 1px solid @borderColor;
cursor: pointer;
i {
.ms-font(1em, #999);
margin: 0 5px;
}
}
}
}
//中间排序
.ms-editor-body-layout {
background: #fff;
margin: 8px;
.ms-form-item {
padding: 6px 20px 6px 20px;
border: 1px solid transparent;
//单位输入框
.unit-input {
width: ~'calc(100% - 41px)' !important;
}
.el-form-item__content {
display: flex;
align-items: flex-start;
.del-but {
visibility: hidden;
padding-left: 20px;
margin-left: auto;
}
}
.el-radio {
line-height: inherit;
}
}
//选中的表单元素
.active {
border-color: @themeColor;
.del-but {
visibility: visible !important;
}
}
//表单颜色默认下边距
.sortable-ghost {
margin-bottom: 18px;
min-height: 40px;
}
}
//右侧选项属性
.ms-editor-attr-layout {
background: #fff;
min-width: 20%;
display: flex;
flex-wrap: wrap;
.ms-header-title {
border-left: 1px solid @borderColor;
width: 100%;
}
.ms-editor-attr {
width: 100%;
display: flex;
flex-direction: column;
.form {
padding: 15px;
height: ~'calc(100vh - 200px)';
overflow: auto;
.el-form-item__label {
line-height: 1.4em;
}
.el-form-item {
margin-bottom: 14px;
.input-with-select {
.el-input-group__append {
width: 90px;
.el-input {
input {
background-color: #fff;
border-top: 1px solid #dcdfe6;
border-bottom: 1px solid #dcdfe6;
}
}
}
}
}
//下拉排序添加选项
.ms-down-list {
.ms-margin-padding(0);
li {
.ms-align-center;
list-style: none;
margin-bottom: 12px;
i {
cursor: pointer;
.ms-hover;
font-size: 14px;
}
.ms-input,
.ms-radio,
.icon-tuodong {
margin-right: 6px;
line-height: initial;
}
}
.ms-plus {
.ms-hover;
i {
margin-right: 6px;
}
}
}
}
.footer {
margin-top: auto;
border-top: 1px solid @borderColor;
height: 60px;
.ms-align-center;
justify-content: flex-end;
padding-right: 10px;
}
}
}
}
\ No newline at end of file
src/main/webapp/static/mdiy/less/model-list.less
0 → 100644
View file @
178009f4
@import "../../ms-admin/4.7.0/less/app.less";
.ms-mdiy-model-list {
width: 100%;
}
\ No newline at end of file
src/main/webapp/static/ms-admin/4.7.0/css/app.css
0 → 100644
View file @
178009f4
/*
*这里的值严格按照UI设计图标注值来进行设置
*/
/*
*颜色
*/
/*
*页面的边距
*/
/*
*字体
*/
/*
*头像
*/
/*
* 按钮
*/
/*
*对常见的多行样式进行了方法封装,方便调用,加快开发效率
*/
html
,
body
{
min-height
:
100vh
;
width
:
100vw
;
background-color
:
#eee
;
margin
:
0
;
display
:
flex
;
font-weight
:
initial
!important
;
font-size
:
14px
!important
;
color
:
#333
!important
;
}
html
*,
body
*
{
text-decoration
:
none
!important
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
box-sizing
:
border-box
;
}
.ms-ellipsis
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
display
:
block
;
}
.ms-align-center
{
display
:
flex
;
align-items
:
center
;
}
input
::-webkit-input-placeholder
,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
width
:
8px
;
height
:
8px
;
}
/*定义滚动条轨道 内阴影+圆角*/
*
::-webkit-scrollbar-track
{
border-radius
:
10px
;
/*滚动条的背景区域的圆角*/
background-color
:
#eee
;
/*滚动条的背景颜色*/
}
/*定义滑块 内阴影+圆角*/
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
margin
:
12px
;
height
:
calc
(
100%
-
24px
);
padding
:
14px
;
background
:
#fff
;
}
.ms-header
{
padding
:
10px
;
margin
:
0
;
border-bottom
:
1px
solid
#ddd
;
background
:
#fff
;
height
:
50px
;
}
.ms-header
button
{
height
:
30px
;
}
.ms-pagination
{
padding
:
20px
0
;
text-align
:
right
;
}
.ms-fr
{
float
:
right
;
}
.ms-tr
{
text-align
:
right
;
}
.ms-weixin-content
{
width
:
calc
(
100%
-
140px
);
}
.ms-weixin-dialog
.el-dialog__header
{
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
font-size
:
14px
;
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
cursor
:
pointer
;
}
.ms-hover
:hover
{
color
:
#0099ff
;
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.el-card
,
.el-message
{
border-radius
:
0
!important
;
}
.sortable-ghost
{
opacity
:
0.3
;
background
:
#ccc
!important
;
border-color
:
transparent
!important
;
color
:
transparent
!important
;
}
.sortable-ghost
*
{
background
:
#ccc
!important
;
border-color
:
transparent
!important
;
color
:
transparent
!important
;
}
src/main/webapp/static/ms-admin/4.7.0/less/app.less
View file @
178009f4
...
...
@@ -93,8 +93,9 @@ textarea::-webkit-input-placeholder {
text-align: right;
}
// 按钮组之间的间距
.el-button+.el-button {
// margin-left: 0
// margin-left: 5px;
}
.ms-weixin-content{
...
...
@@ -127,3 +128,36 @@ textarea::-webkit-input-placeholder {
border-color: @themeColor;
}
}
// 头部下拉选择区域间距
.ms-header-select{
font-size: 0;
>.el-select:nth-of-type(2){
margin: 0 10px;
}
}
.el-submenu{
// margin: 0 12px;
// 菜单选中样式
.el-menu-item.is-active{
border-radius: 4px;
}
}
// 卡片样式
.el-card, .el-message{
border-radius:0 !important;
}
//拖拽样式
.sortable-ghost {
opacity: .3;
background: #ccc !important;
border-color: transparent !important;
color: transparent !important;
* {
background: #ccc !important;
border-color: transparent !important;
color: transparent !important;
}
}
\ No newline at end of file
src/main/webapp/static/mweixin/article.less
View file @
178009f4
...
...
@@ -5,13 +5,22 @@
width: 100%;
background: transparent !important;
padding: 0 !important;
.ms-article-mask {
background: #000;
opacity: .2;
.ms-width-height(100%, 146px);
position: absolute;
top: 0;
left: 0;
// 主图文章
.ms-main-article{
&:hover{
cursor: pointer;
}
.ms-article-mask {
background: #000;
opacity: .2;
.ms-width-height(100%, 146px);
position: absolute;
top: 0;
left: 0;
&:hover{
cursor: pointer;
}
}
}
.el-container {
.ms-container {
...
...
@@ -32,9 +41,10 @@
span {
position: absolute;
bottom: 0;
padding
: 15px;
margin
: 15px;
color: #fff;
.ms-ellipsis-clamp(2);
word-break: break-all;//数字单词的情况
}
} // 子文章
.ms-article-item {
...
...
@@ -42,6 +52,7 @@
.ms-flex();
padding: 10px 0;
border-bottom: 1px solid @borderColor;
position: relative;
p {
margin: 0 10px 0 0;
.ms-flex();
...
...
@@ -55,9 +66,34 @@
img {
.ms-width-height(50px);
}
// 遮罩
.ms-article-item-mask{
visibility: hidden;
background: rgb(126, 126, 126);
opacity: .8;
.ms-width-height(100%,50%);
position: absolute;
bottom:0;
.ms-flex(flex-end);
align-items: center;
>i{
.ms-font(14px,#fff);
margin:0 10px 0 auto;
display: none;
}
}
&:hover {
cursor: pointer;
}
&:hover{
.ms-article-item-mask{
visibility: visible;
>i{
display: block;
}
}
}
} // 尾部
.ms-article-footer {
background: #fff;
...
...
@@ -86,7 +122,7 @@
box-sizing: border-box;
border-bottom: 1px solid @borderColor; // 图片上传
.ms-pic-upload {
.ms-width-height(140px);
.ms-width-height(140px
,100%
);
border-radius: 4px;
border: 1px dashed @borderColor;
.ms-flex(center);
...
...
@@ -135,18 +171,34 @@
padding-right: 50px !important;
}
}
// 标题输入框预留边距
.basic-title-input{
>.el-input__inner{
padding-right:54px !important;
}
}
}
.el-form-item:last-child{
padding-top: 4px;
}
}
}
.ms-main-body {
height: calc(~'100% - 180px');
background: #fff;
.edui-editor-toolbarbox{
border: none !important;
box-shadow: none !important;
}
.edui-default {
border: none;
// 设置edui-default的class样式会导致选择工具栏会出现抖动,是因为这个class类是通用样式
.edui-editor {
border: none !important;
.edui-editor-toolbarboxouter {
background-color: none !important;
background-image: none !important;
box-shadow: none !important;
border-bottom: none !important;
} // 编辑器样式
.edui-editor {
border: none !important;
...
...
@@ -163,6 +215,9 @@
}
}
}
.edui-editor-toolbarboxinner{
background: #fff;
}
}
}
}
...
...
src/main/webapp/static/mweixin/css/app.css
0 → 100644
View file @
178009f4
/*
*这里的值严格按照UI设计图标注值来进行设置
*/
/*
*颜色
*/
/*
*页面的边距
*/
/*
*字体
*/
/*
*头像
*/
/*
* 按钮
*/
/*
*对常见的多行样式进行了方法封装,方便调用,加快开发效率
*/
html
,
body
{
min-height
:
100vh
;
width
:
100vw
;
background-color
:
#eee
;
margin
:
0
;
display
:
flex
;
font-weight
:
initial
!important
;
font-size
:
14px
!important
;
color
:
#333
!important
;
}
html
*,
body
*
{
text-decoration
:
none
!important
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
box-sizing
:
border-box
;
}
.ms-ellipsis
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
display
:
block
;
}
.ms-align-center
{
display
:
flex
;
align-items
:
center
;
}
input
::-webkit-input-placeholder
,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
width
:
8px
;
height
:
8px
;
}
/*定义滚动条轨道 内阴影+圆角*/
*
::-webkit-scrollbar-track
{
border-radius
:
10px
;
/*滚动条的背景区域的圆角*/
background-color
:
#eee
;
/*滚动条的背景颜色*/
}
/*定义滑块 内阴影+圆角*/
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
margin
:
12px
;
height
:
calc
(
100%
-
24px
);
padding
:
14px
;
background
:
#fff
;
}
.ms-header
{
padding
:
10px
;
margin
:
0
;
border-bottom
:
1px
solid
#ddd
;
background
:
#fff
;
height
:
50px
;
}
.ms-header
button
{
height
:
30px
;
}
.ms-pagination
{
padding
:
20px
0
;
text-align
:
right
;
}
.ms-fr
{
float
:
right
;
}
.ms-tr
{
text-align
:
right
;
}
.ms-weixin-content
{
width
:
calc
(
100%
-
140px
);
}
.ms-weixin-dialog
.el-dialog__header
{
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
font-size
:
14px
;
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
cursor
:
pointer
;
}
.ms-hover
:hover
{
color
:
#0099ff
;
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.el-card
,
.el-message
{
border-radius
:
0
!important
;
}
src/main/webapp/static/mweixin/css/article.css
View file @
178009f4
...
...
@@ -123,6 +123,19 @@ textarea::-webkit-input-placeholder {
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.el-card
,
.el-message
{
border-radius
:
0
!important
;
}
.ms-article
{
display
:
flex
;
justify-content
:
space-between
;
...
...
@@ -130,7 +143,10 @@ textarea::-webkit-input-placeholder {
background
:
transparent
!important
;
padding
:
0
!important
;
}
.ms-article
.ms-article-mask
{
.ms-article
.ms-main-article
:hover
{
cursor
:
pointer
;
}
.ms-article
.ms-main-article
.ms-article-mask
{
background
:
#000
;
opacity
:
.2
;
width
:
100%
;
...
...
@@ -139,6 +155,9 @@ textarea::-webkit-input-placeholder {
top
:
0
;
left
:
0
;
}
.ms-article
.ms-main-article
.ms-article-mask
:hover
{
cursor
:
pointer
;
}
.ms-article
.el-container
.ms-container
{
padding
:
0
;
background
:
transparent
;
...
...
@@ -158,13 +177,14 @@ textarea::-webkit-input-placeholder {
.ms-article
.el-container
.el-aside
.ms-main-article
span
{
position
:
absolute
;
bottom
:
0
;
padding
:
15px
;
margin
:
15px
;
color
:
#fff
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
word-break
:
break-all
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
{
width
:
100%
;
...
...
@@ -173,6 +193,7 @@ textarea::-webkit-input-placeholder {
justify-content
:
space-between
;
padding
:
10px
0
;
border-bottom
:
1px
solid
#e6e6e6
;
position
:
relative
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
p
{
margin
:
0
10px
0
0
;
...
...
@@ -193,9 +214,34 @@ textarea::-webkit-input-placeholder {
width
:
50px
;
height
:
50px
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
.ms-article-item-mask
{
visibility
:
hidden
;
background
:
#7e7e7e
;
opacity
:
.8
;
width
:
100%
;
height
:
50%
;
position
:
absolute
;
bottom
:
0
;
display
:
flex
;
justify-content
:
flex-end
;
align-items
:
center
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
.ms-article-item-mask
>
i
{
font-weight
:
initial
;
font-size
:
14px
;
color
:
#fff
;
margin
:
0
10px
0
auto
;
display
:
none
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
:hover
{
cursor
:
pointer
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
:hover
.ms-article-item-mask
{
visibility
:
visible
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
:hover
.ms-article-item-mask
>
i
{
display
:
block
;
}
.ms-article
.el-container
.el-aside
.ms-article-footer
{
background
:
#fff
;
padding-top
:
20px
;
...
...
@@ -228,7 +274,7 @@ textarea::-webkit-input-placeholder {
}
.ms-article
.el-container
.el-main
.ms-main-header
.ms-pic-upload
{
width
:
140px
;
height
:
1
40px
;
height
:
1
00%
;
border-radius
:
4px
;
border
:
1px
dashed
#e6e6e6
;
display
:
flex
;
...
...
@@ -289,16 +335,28 @@ textarea::-webkit-input-placeholder {
.ms-article
.el-container
.el-main
.ms-main-header
.el-form
.el-form-item
.el-input__suffix
>
input
{
padding-right
:
50px
!important
;
}
.ms-article
.el-container
.el-main
.ms-main-header
.el-form
.el-form-item
.basic-title-input
>
.el-input__inner
{
padding-right
:
54px
!important
;
}
.ms-article
.el-container
.el-main
.ms-main-header
.el-form
.el-form-item
:last-child
{
padding-top
:
4px
;
}
.ms-article
.el-container
.el-main
.ms-main-body
{
height
:
calc
(
100%
-
180px
);
background
:
#fff
;
}
.ms-article
.el-container
.el-main
.ms-main-body
.edui-default
{
border
:
none
;
.ms-article
.el-container
.el-main
.ms-main-body
.edui-editor-toolbarbox
{
border
:
none
!important
;
box-shadow
:
none
!important
;
}
.ms-article
.el-container
.el-main
.ms-main-body
.edui-default
.edui-editor
{
border
:
none
!important
;
}
.ms-article
.el-container
.el-main
.ms-main-body
.edui-default
.edui-editor
.edui-editor-toolbarboxouter
{
background-color
:
none
!important
;
background-image
:
none
!important
;
box-shadow
:
none
!important
;
border-bottom
:
none
!important
;
}
.ms-article
.el-container
.el-main
.ms-main-body
.edui-default
.edui-editor
.edui-editor
{
border
:
none
!important
;
...
...
@@ -313,3 +371,6 @@ textarea::-webkit-input-placeholder {
border-radius
:
0
!important
;
box-shadow
:
none
!important
;
}
.ms-article
.el-container
.el-main
.ms-main-body
.edui-editor-toolbarboxinner
{
background
:
#fff
;
}
src/main/webapp/static/mweixin/css/custom-menu.css
View file @
178009f4
...
...
@@ -50,7 +50,7 @@ input::-webkit-input-placeholder,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
...
...
@@ -68,13 +68,13 @@ textarea::-webkit-input-placeholder {
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#
ddd
;
background-color
:
#
e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
margin
:
12px
;
height
:
calc
(
100%
-
24px
);
padding
:
14px
14px
0
14px
;
padding
:
14px
;
background
:
#fff
;
}
.ms-header
{
...
...
@@ -104,7 +104,7 @@ textarea::-webkit-input-placeholder {
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#
ddd
;
border-bottom
:
1px
solid
#
e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
...
...
@@ -112,7 +112,7 @@ textarea::-webkit-input-placeholder {
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#
ddd
;
border-top
:
1px
solid
#
e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
...
...
@@ -123,6 +123,18 @@ textarea::-webkit-input-placeholder {
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
{
margin
:
0
12px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.ms-custom-menu
{
color
:
#f2f2f6
;
}
...
...
@@ -139,6 +151,9 @@ textarea::-webkit-input-placeholder {
width
:
280px
!important
;
height
:
470px
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
{
overflow
:
hidden
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-header
{
height
:
40px
!important
;
line-height
:
40px
!important
;
...
...
@@ -151,7 +166,7 @@ textarea::-webkit-input-placeholder {
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-main
{
padding
:
0
;
width
:
280px
!important
;
height
:
3
79
px
!important
;
height
:
3
80
px
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
{
white-space
:
nowrap
;
...
...
@@ -162,14 +177,15 @@ textarea::-webkit-input-placeholder {
height
:
50px
!important
;
display
:
flex
;
justify-content
:
flex-start
;
border-top
:
1px
solid
#
ddd
!important
;
border-top
:
1px
solid
#
e6e6e6
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
>
.el-button
{
width
:
40px
!important
;
height
:
50px
!important
;
min-width
:
40px
;
padding
:
0
!important
;
border
:
none
!important
;
border-right
:
1px
solid
#
ddd
!important
;
border-right
:
1px
solid
#
e6e6e6
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.el-button
{
border-radius
:
0
!important
;
...
...
@@ -177,7 +193,7 @@ textarea::-webkit-input-placeholder {
background
:
transparent
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
{
flex
:
1
;
width
:
240px
;
font-size
:
0
;
display
:
flex
;
justify-content
:
space-between
;
...
...
@@ -196,16 +212,41 @@ textarea::-webkit-input-placeholder {
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
.ms-create-sub-menu
>
.el-button
:first-child
{
width
:
100%
;
border-right
:
1px
solid
#e6e6e6
!important
;
padding
:
10px
!important
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
1
;
-webkit-box-orient
:
vertical
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
.ms-create-sub-menu
>
.el-button
:last-child
{
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
.ms-create-sub-menu
.sub-menu-list
{
position
:
absolute
;
top
:
-
60px
;
bottom
:
60px
;
left
:
0
;
border
:
1px
solid
#
ddd
!important
;
border
:
1px
solid
#
e6e6e6
!important
;
width
:
100%
;
display
:
flex
;
justify-content
:
flex-start
;
flex-direction
:
column
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
.ms-create-sub-menu
.sub-menu-list
>
button
{
margin-left
:
0
!important
;
border
:
none
!important
;
border-bottom
:
1px
solid
#e6e6e6
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
.ms-create-sub-menu
.sub-menu-list
.ms-create-btn
{
border-bottom
:
none
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
.ms-create-sub-menu
.sub-menu-list
.sub-menu-item
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
1
;
-webkit-box-orient
:
vertical
;
padding
:
10px
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-aside
.el-container
.el-footer
.ms-create-menu
.el-button--default
{
border-left
:
1px
solid
#ddd
!important
;
padding
:
0
!important
;
flex
:
1
;
}
...
...
@@ -218,22 +259,29 @@ textarea::-webkit-input-placeholder {
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
{
height
:
100%
;
}
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-name
.el-form-item__content
{
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-name
.el-form-item__content
,
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-content
.el-form-item__content
{
display
:
flex
;
justify-content
:
flex-start
;
}
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-name
.el-form-item__content
.el-input
{
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-name
.el-form-item__content
.el-input
,
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-content
.el-form-item__content
.el-input
{
width
:
153px
!important
;
height
:
30px
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-name
.el-form-item__content
span
{
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-name
.el-form-item__content
span
,
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-content
.el-form-item__content
span
{
margin-left
:
10px
;
font-weight
:
initial
;
font-size
:
12px
;
color
:
#aaa
;
color
:
#999
;
}
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-content
.el-form-item__content
.el-input
{
width
:
306px
!important
;
height
:
30px
!important
;
}
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-content
.el-tabs
{
border
:
1px
solid
#
ddd
;
border
:
1px
solid
#
e6e6e6
;
}
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-content
.el-tabs
.el-tabs__header
{
background
:
#f2f2f6
;
...
...
@@ -255,7 +303,7 @@ textarea::-webkit-input-placeholder {
}
.ms-custom-menu
.ms-custom-container
.el-main
.custom-menu-card
.ms-custom-menu-content
.el-tabs
.el-tab-pane
>
div
{
flex
:
1
;
border
:
1px
dashed
#
ddd
;
border
:
1px
dashed
#
e6e6e6
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
src/main/webapp/static/mweixin/css/material-bank-form.css
View file @
178009f4
...
...
@@ -50,7 +50,7 @@ input::-webkit-input-placeholder,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
...
...
@@ -68,7 +68,7 @@ textarea::-webkit-input-placeholder {
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#
ddd
;
background-color
:
#
e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
...
...
@@ -104,7 +104,7 @@ textarea::-webkit-input-placeholder {
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#
ddd
;
border-bottom
:
1px
solid
#
e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
...
...
@@ -112,7 +112,7 @@ textarea::-webkit-input-placeholder {
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#
ddd
;
border-top
:
1px
solid
#
e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
...
...
@@ -123,6 +123,19 @@ textarea::-webkit-input-placeholder {
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.el-card
,
.el-message
{
border-radius
:
0
!important
;
}
.material-bank-form
>
.el-dialog__wrapper
>
.el-dialog
{
width
:
895px
!important
;
height
:
587px
!important
;
...
...
@@ -143,6 +156,13 @@ textarea::-webkit-input-placeholder {
.material-bank-form
>
.el-dialog__wrapper
>
.el-dialog
>
.el-dialog__body
>
.el-tabs
.el-tabs__header
.el-tabs__nav-scroll
{
padding
:
20px
10px
;
}
.material-bank-form
>
.el-dialog__wrapper
>
.el-dialog
>
.el-dialog__body
>
.el-tabs
.el-tabs__header
.el-tabs__nav-scroll
.el-tabs__nav
.el-tabs__active-bar
{
background-color
:
transparent
!important
;
}
.material-bank-form
>
.el-dialog__wrapper
>
.el-dialog
>
.el-dialog__body
>
.el-tabs
.el-tabs__header
.el-tabs__nav-scroll
.el-tabs__nav
.is-active
{
color
:
#409EFF
!important
;
background-color
:
#ecf5ff
;
}
.material-bank-form
>
.el-dialog__wrapper
>
.el-dialog
>
.el-dialog__body
>
.el-tabs
.el-tabs__header
.el-tabs__nav-wrap
::after
{
width
:
1px
!important
;
}
...
...
@@ -161,7 +181,6 @@ textarea::-webkit-input-placeholder {
flex
:
1
;
}
.material-bank-form
>
.el-dialog__wrapper
>
.el-dialog
>
.el-dialog__body
>
.el-tabs
.is-active
{
background-color
:
#e9eaf0
;
font-weight
:
initial
;
font-size
:
14px
;
color
:
#333
;
...
...
src/main/webapp/static/mweixin/css/material-list.css
View file @
178009f4
...
...
@@ -123,6 +123,12 @@ textarea::-webkit-input-placeholder {
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.ms-weixin-content
.ms-header
>
.el-select--small
:first-child
{
width
:
100px
!important
;
}
...
...
src/main/webapp/static/mweixin/css/menu.css
View file @
178009f4
...
...
@@ -50,7 +50,7 @@ input::-webkit-input-placeholder,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
...
...
@@ -68,7 +68,7 @@ textarea::-webkit-input-placeholder {
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#
ddd
;
background-color
:
#
e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
...
...
@@ -104,7 +104,7 @@ textarea::-webkit-input-placeholder {
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#
ddd
;
border-bottom
:
1px
solid
#
e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
...
...
@@ -112,7 +112,7 @@ textarea::-webkit-input-placeholder {
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#
ddd
;
border-top
:
1px
solid
#
e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
...
...
@@ -123,6 +123,19 @@ textarea::-webkit-input-placeholder {
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.el-submenu
.el-menu-item.is-active
{
border-radius
:
4px
;
}
.el-card
,
.el-message
{
border-radius
:
0
!important
;
}
.ms-admin-menu
{
min-height
:
100vh
;
min-width
:
140px
;
...
...
src/main/webapp/static/mweixin/css/message-reply.css
View file @
178009f4
...
...
@@ -50,7 +50,7 @@ input::-webkit-input-placeholder,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
...
...
@@ -68,7 +68,7 @@ textarea::-webkit-input-placeholder {
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#
ddd
;
background-color
:
#
e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
...
...
@@ -104,7 +104,7 @@ textarea::-webkit-input-placeholder {
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#
ddd
;
border-bottom
:
1px
solid
#
e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
...
...
@@ -112,7 +112,7 @@ textarea::-webkit-input-placeholder {
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#
ddd
;
border-top
:
1px
solid
#
e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
...
...
@@ -125,6 +125,7 @@ textarea::-webkit-input-placeholder {
}
.ms-admin-message-reply
.ms-container
{
display
:
flex
;
height
:
256px
;
}
.ms-admin-message-reply
.ms-container
.message-reply-tabs
{
padding-left
:
12px
;
...
...
@@ -148,10 +149,11 @@ textarea::-webkit-input-placeholder {
}
.ms-message-reply
.message-reply-tabs
.el-tabs__header
.el-tabs__nav-scroll
{
padding
:
0
20px
;
border
:
1px
solid
#
ddd
;
border
:
1px
solid
#
e6e6e6
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
{
border
:
1px
solid
#ddd
;
border
:
1px
solid
#e6e6e6
;
height
:
calc
(
100%
-
42px
);
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.el-tab-pane
{
padding
:
0
!important
;
...
...
@@ -174,7 +176,7 @@ textarea::-webkit-input-placeholder {
bottom
:
66px
;
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
cursor
:
pointer
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.el-tab-pane
>
.el-form
.ms-message-reply-content
.el-form-item__content
.el-icon-delete
:hover
{
...
...
@@ -185,7 +187,7 @@ textarea::-webkit-input-placeholder {
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.el-tab-pane
>
.el-form
.ms-message-reply-content
.el-form-item__content
textarea
{
height
:
127px
!important
;
border
:
none
!important
;
border-bottom
:
1px
solid
#
ddd
!important
;
border-bottom
:
1px
solid
#
e6e6e6
!important
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.el-tab-pane
>
.el-form
.ms-message-reply-content
.el-form-item__content
.footer
{
height
:
58px
;
...
...
@@ -213,3 +215,36 @@ textarea::-webkit-input-placeholder {
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.el-tab-pane
>
.el-form
.ms-message-reply-content
.el-form-item__content
.footer
a
:hover
{
cursor
:
pointer
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-picture
,
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-article
{
padding
:
20px
!important
;
height
:
100%
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-picture
>
div
,
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-article
>
div
{
flex
:
1
;
border
:
1px
dashed
#e6e6e6
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-picture
>
div
i
,
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-article
>
div
i
{
font-weight
:
bolder
;
font-size
:
20px
;
color
:
#0099ff
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-picture
>
div
span
,
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-article
>
div
span
{
margin-top
:
8px
;
line-height
:
1
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-picture
>
div
:hover
,
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-article
>
div
:hover
{
cursor
:
pointer
;
}
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-picture
>
div
:last-child
,
.ms-message-reply
.message-reply-tabs
.el-tabs__content
.message-reply-article
>
div
:last-child
{
margin-left
:
20px
;
}
src/main/webapp/static/mweixin/css/new-pic-form.css
View file @
178009f4
...
...
@@ -50,7 +50,7 @@ input::-webkit-input-placeholder,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
...
...
@@ -68,7 +68,7 @@ textarea::-webkit-input-placeholder {
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#
ddd
;
background-color
:
#
e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
...
...
@@ -104,7 +104,7 @@ textarea::-webkit-input-placeholder {
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#
ddd
;
border-bottom
:
1px
solid
#
e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
...
...
@@ -112,7 +112,7 @@ textarea::-webkit-input-placeholder {
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#
ddd
;
border-top
:
1px
solid
#
e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
...
...
@@ -131,7 +131,7 @@ textarea::-webkit-input-placeholder {
line-height
:
1
;
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
}
.new-pic-form
dt
{
display
:
inline-block
;
...
...
src/main/webapp/static/mweixin/css/picture-list.css
View file @
178009f4
...
...
@@ -50,7 +50,7 @@ input::-webkit-input-placeholder,
textarea
::-webkit-input-placeholder
{
font-weight
:
initial
;
font-size
:
12px
;
color
:
#
aaa
;
color
:
#
999
;
resize
:
none
;
}
*
::-webkit-scrollbar
{
...
...
@@ -68,13 +68,13 @@ textarea::-webkit-input-placeholder {
*
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
/*滚动条的圆角*/
background-color
:
#
ddd
;
background-color
:
#
e6e6e6
;
/*滚动条的背景颜色*/
}
.ms-container
{
margin
:
12px
;
height
:
calc
(
100%
-
24px
);
padding
:
14px
14px
0
14px
;
padding
:
14px
;
background
:
#fff
;
}
.ms-header
{
...
...
@@ -104,7 +104,7 @@ textarea::-webkit-input-placeholder {
height
:
55px
;
box-sizing
:
border-box
;
padding
:
10px
10px
25px
10px
;
border-bottom
:
1px
solid
#
ddd
;
border-bottom
:
1px
solid
#
e6e6e6
;
}
.ms-weixin-dialog
.el-dialog__header
.el-dialog__title
{
font-weight
:
bold
;
...
...
@@ -112,7 +112,7 @@ textarea::-webkit-input-placeholder {
color
:
#333
;
}
.ms-weixin-dialog
.el-dialog__footer
{
border-top
:
1px
solid
#
ddd
;
border-top
:
1px
solid
#
e6e6e6
;
padding
:
15px
!important
;
}
.ms-hover
{
...
...
@@ -123,6 +123,12 @@ textarea::-webkit-input-placeholder {
background
:
#fff
;
border-color
:
#0099ff
;
}
.ms-header-select
{
font-size
:
0
;
}
.ms-header-select
>
.el-select
:nth-of-type
(
2
)
{
margin
:
0
10px
;
}
.ms-admin-picture
{
height
:
100%
;
}
...
...
@@ -179,7 +185,7 @@ textarea::-webkit-input-placeholder {
padding
:
14px
0
;
}
.ms-admin-picture-list
.ms-admin-picture-item
>
div
.footer
i
{
color
:
#
999
;
color
:
#
333
;
margin
:
auto
;
cursor
:
pointer
;
}
...
...
src/main/webapp/static/mweixin/custom-menu.less
View file @
178009f4
...
...
@@ -14,6 +14,7 @@
.ms-width-height(280px, 470px) !important;
// 微信界面
.el-container {
overflow: hidden;
// 头部
.el-header {
.ms-line-height(40px) !important;
...
...
@@ -23,7 +24,7 @@
}
.el-main {
padding: 0;
.ms-width-height(280px, 3
79
px) !important;
.ms-width-height(280px, 3
80
px) !important;
}
.el-footer {
white-space: nowrap;
...
...
@@ -35,6 +36,7 @@
border-top: 1px solid @borderColor !important;
>.el-button {
.ms-width-height(40px, 50px) !important;
min-width: 40px;
padding: 0 !important;
border: none !important;
border-right: 1px solid @borderColor !important;
...
...
@@ -45,7 +47,7 @@
background: transparent !important;
}
.ms-create-menu {
flex: 1
;
width: 240px
;
font-size: 0;
.ms-flex(space-between);
.el-button {
...
...
@@ -59,20 +61,39 @@
.ms-create-sub-menu {
flex: 1;
position: relative;
// 主菜单
>.el-button:first-child {
width: 100%;
border-right:1px solid @borderColor !important;
padding: 10px !important;
.ms-ellipsis-clamp(1);
}
>.el-button:last-child {
// 添加子菜单
.sub-menu-list{
position: absolute;
top: -
60px;
bottom:
60px;
left: 0;
border: 1px solid @borderColor !important;
width: 100%;
.ms-flex(flex-start);
flex-direction: column;
>button{
margin-left: 0 !important;
border: none !important;
border-bottom: 1px solid @borderColor !important;
}
.ms-create-btn{
border-bottom: none !important;
}
// 子菜单列表
.sub-menu-item{
.ms-ellipsis-clamp(1);
padding:10px !important;
}
}
}
// 添加菜单
.el-button--default {
border-left: 1px solid @borderColor !important;
padding: 0 !important;
flex: 1;
}
...
...
@@ -90,7 +111,7 @@
.custom-menu-card {
height: 100%;
// 内容菜单表单
.ms-custom-menu-name {
.ms-custom-menu-name
,.ms-custom-menu-content
{
.el-form-item__content {
.el-input {
.ms-width-height(153px, 30px) !important;
...
...
@@ -102,6 +123,13 @@
}
}
}
.ms-custom-menu-content {
.el-form-item__content {
.el-input {
.ms-width-height(306px, 30px) !important;
}
}
}
// 菜单内容
.ms-custom-menu-content {
.el-tabs {
...
...
src/main/webapp/static/mweixin/material-bank-form.less
View file @
178009f4
...
...
@@ -16,6 +16,16 @@
margin: 0 !important;
.el-tabs__nav-scroll{
padding:20px 10px;
.el-tabs__nav{
// 取消 激活状态边框
.el-tabs__active-bar{
background-color:transparent !important;
}
.is-active{
color: #409EFF !important;
background-color: #ecf5ff;
}
}
}
.el-tabs__nav-wrap::after{
width: 1px !important;
...
...
@@ -38,7 +48,6 @@
}
// tab选中的样式
.is-active{
background-color:rgb(233, 234, 240);
.ms-font(@defalutSize,@defalutColor);
}
}
...
...
src/main/webapp/static/mweixin/menu.less
View file @
178009f4
...
...
@@ -31,6 +31,19 @@
min-width: 140px;
width: 140px;
}
// .ms-admin-submenu{
// .el-submenu__title{
// height: 40px !important;
// .ms-flex();
// align-items: center;
// }
// }
// // 菜单列表
// .ms-admin-menu-menu-item{
// height: 40px;
// .ms-flex();
// align-items: center;
// }
}
.ms-admin-material-item {
min-width: 100% !important;
...
...
src/main/webapp/static/mweixin/message-reply.less
View file @
178009f4
...
...
@@ -2,6 +2,7 @@
.ms-admin-message-reply {
.ms-container {
display: flex;
height: 256px;
.message-reply-tabs {
padding-left: 12px;
}
...
...
@@ -31,10 +32,12 @@
}
.el-tabs__content {
border: 1px solid @borderColor;
height: calc(~'100% - 42px');
.el-tab-pane {
padding: 0 !important;
width: 100%;
.ms-flex();
// 文字回复
>.el-form {
width: 100%;
.ms-message-reply-content {
...
...
@@ -53,6 +56,7 @@
border: none !important;
border-bottom: 1px solid @borderColor !important;
}
// 底部插入超链接
.footer {
height: 58px;
padding: 0 14px;
...
...
@@ -77,6 +81,35 @@
}
}
}
// 图片回复
.message-reply-picture,.message-reply-article{
padding:20px !important;
height: 100%;
>div {
flex: 1;
border: 1px dashed @borderColor;
.ms-flex(center);
align-items: center;
flex-direction: column;
i {
.ms-font(20px, @themeColor, bolder);
}
span {
margin-top: 8px;
line-height: 1;
}
&:hover {
cursor: pointer;
}
}
>div:last-child {
margin-left: 20px;
}
}
// 图文回复
.message-reply-article{
}
}
}
}
\ No newline at end of file
src/main/webapp/static/mweixin/new-pic-form.less
View file @
178009f4
...
...
@@ -11,5 +11,5 @@
dt{
display: inline-block;
margin-bottom: 8px;
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment