diff --git a/README.md b/README.md index 25a0a051..4f121f61 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # 温馨提示,请使用master分支 -当前版本:4.7.0 开发版本极其不稳定,如有使用概不解答,请耐心等待稳定版本的发布,
\ No newline at end of file +当前版本:4.7.0 开发版本极其不稳定,如有使用概不解答,请耐心等待稳定版本的发布,
\ No newline at end of file diff --git a/pom.xml b/pom.xml index 01d87374..f9654212 100644 --- a/pom.xml +++ b/pom.xml @@ -6,9 +6,9 @@ net.mingsoft mcms - 0.0.1-SNAPSHOT - mcms1 - war + 4.7.0-SNAPSHOT + ms-mcms + jar 1.8 @@ -49,12 +49,6 @@ classes provided - - net.mingsoft - ms-basic - 1.0.8.1-SNAPSHOT - war - net.mingsoft ms-mdiy @@ -62,12 +56,6 @@ classes provided - - net.mingsoft - ms-mdiy - 1.0.7-SNAPSHOT - war - net.mingsoft ms-mpeople @@ -75,16 +63,89 @@ classes provided + + - net.mingsoft - ms-mpeople - 1.0.7-SNAPSHOT - war + io.springfox + springfox-swagger2 + 2.9.2 + + + org.springframework + spring-core + + + org.springframework + spring-beans + + + org.springframework + spring-context + + + org.springframework + spring-context-support + + + org.springframework + spring-aop + + + org.springframework + spring-tx + + + org.springframework + spring-orm + + + org.springframework + spring-jdbc + + + org.springframework + spring-web + + + org.springframework + spring-webmvc + + + org.springframework + spring-oxm + + + + + io.springfox + springfox-swagger-ui + 2.9.2 ms-mcms + org.apache.maven.plugins maven-compiler-plugin diff --git a/src/main/resources/Dockerfile b/src/main/resources/Dockerfile new file mode 100644 index 00000000..129c4dd5 --- /dev/null +++ b/src/main/resources/Dockerfile @@ -0,0 +1,5 @@ +FROM java +VOLUME /tmp +ADD docker-springboot-0.0.1-SNAPSHOT.jar app.jar +RUN bash -c 'touch /app.jar' ENV JAVA_OPTS="" +ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ] \ No newline at end of file diff --git a/src/main/resources/application-pro.yml b/src/main/resources/application-pro.yml new file mode 100644 index 00000000..8319ac8f --- /dev/null +++ b/src/main/resources/application-pro.yml @@ -0,0 +1,7 @@ +spring: + datasource: + url: jdbc:mysql://localhost:3306/db-mcms-open?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false + username: root + password: root + filters: wall,mergeStat + type: com.alibaba.druid.pool.DruidDataSource \ No newline at end of file diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml new file mode 100644 index 00000000..e7af895d --- /dev/null +++ b/src/main/resources/application-test.yml @@ -0,0 +1,7 @@ +spring: + datasource: + url: jdbc:mysql://localhost:3307/mcms-4.7.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false + username: root + password: root + filters: wall,mergeStat + type: com.alibaba.druid.pool.DruidDataSource \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 3ff3d837..2b80f513 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -22,7 +22,7 @@ ms: spring: profiles: - active: dev + active: test mvc: pathmatch: use-suffix-pattern: true diff --git a/src/main/webapp/WEB-INF/manager/include/head-file.ftl b/src/main/webapp/WEB-INF/manager/include/head-file.ftl index ab4b1116..2d3a7a5a 100644 --- a/src/main/webapp/WEB-INF/manager/include/head-file.ftl +++ b/src/main/webapp/WEB-INF/manager/include/head-file.ftl @@ -24,6 +24,10 @@ + + + + diff --git a/src/main/webapp/WEB-INF/manager/mweixin/article/index.ftl b/src/main/webapp/WEB-INF/manager/mweixin/article/index.ftl index e0f16900..74981156 100644 --- a/src/main/webapp/WEB-INF/manager/mweixin/article/index.ftl +++ b/src/main/webapp/WEB-INF/manager/mweixin/article/index.ftl @@ -1,16 +1,6 @@ - - - - - - - - - - -
+
@@ -30,23 +20,33 @@
- + - + + 添加封面 - - - + + + - - + + - - + + + @@ -77,13 +77,15 @@ basicTitle: '没有奇迹,国足0-3不敌伊朗止步八强!', basicThumbnailsl: 'https://img03.sogoucdn.com/app/a/100520091/20190125113148' }], - titleWordNumber: '', //图文标题剩余字数 - authorWordNumber: '', //图文作者剩余字数 + titleWordNumber: 64, //图文标题剩余字数 + authorWordNumber: 8, //图文作者剩余字数 + descWordNumber:54,//摘要 editor: null, //富文本实例 - }, - watch: { - subArticleList: function (n, o) { - console.log('n', n); + articleForm:{ + basicTitle:'',//标题 + articleAuthor:'',//作者 + basicDescription:'', //摘要 + articleContent:'', //正文 } }, methods: { @@ -93,6 +95,10 @@ basicTitle: '新增文章标题', basicThumbnailsl: 'https://img03.sogoucdn.com/app/a/100520091/20190125113148' }) + }, + // 计算剩余字数 + resetWordNum:function(type){ + } }, mounted: function () { @@ -122,8 +128,8 @@ zIndex: 10000, elementPathEnabled: false, wordCount: false, - initialFrameWidth: 600, - initialFrameHeight: 240, + initialFrameWidth: '100%', + initialFrameHeight: 500, }); this.editor.ready(function () { var a = $("#ueditor_0").contents()[0].activeElement; diff --git a/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl b/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl index 939d7367..920def15 100644 --- a/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl +++ b/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl @@ -52,7 +52,10 @@ }, { title: '关键词回复' }] - }, ], //左侧导航列表 + },{ + title:'新建图文' + } + ], //左侧导航列表 menuActive: '图文', //选中 } }) diff --git a/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl b/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl index d0d0571f..9943f3b1 100644 --- a/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl +++ b/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl @@ -33,11 +33,11 @@ 图片 -
+
从素材库选择
-
+
新建图片
@@ -78,13 +78,7 @@ activeName: 'picture' }, methods: { - open: function(type) { - if(type == 'store') { - // 素材库 - } else { - // 新建图片 - } - } + } }) diff --git a/src/main/webapp/WEB-INF/manager/mweixin/menu/material-bank-form.ftl b/src/main/webapp/WEB-INF/manager/mweixin/menu/material-bank-form.ftl new file mode 100644 index 00000000..27c2e006 --- /dev/null +++ b/src/main/webapp/WEB-INF/manager/mweixin/menu/material-bank-form.ftl @@ -0,0 +1,92 @@ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/manager/mweixin/menu/new-pic-form.ftl b/src/main/webapp/WEB-INF/manager/mweixin/menu/new-pic-form.ftl new file mode 100644 index 00000000..e31b0198 --- /dev/null +++ b/src/main/webapp/WEB-INF/manager/mweixin/menu/new-pic-form.ftl @@ -0,0 +1,74 @@ + + +
+ + + + + 本地上传 +
+
+
注意:1.图片上传仅支持bmp、png、jpeg、jpg、gif格式
+
2.同步至微信公众平台的图片最大2M,存在铭飞本地,最大支持5M的图片
+
+ +
+
+
+ + 添加分组 + + + + + +
+ +
+
+ \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl b/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl index 3602a7a6..8bf7edae 100644 --- a/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl +++ b/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl @@ -12,6 +12,9 @@ + + + \ No newline at end of file diff --git a/src/main/webapp/static/ms-admin/4.7.0/less/app.less b/src/main/webapp/static/ms-admin/4.7.0/less/app.less index f14f72df..77249b0f 100644 --- a/src/main/webapp/static/ms-admin/4.7.0/less/app.less +++ b/src/main/webapp/static/ms-admin/4.7.0/less/app.less @@ -96,4 +96,21 @@ textarea::-webkit-input-placeholder { .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 @borderColor; + .el-dialog__title{ + .ms-font(@defalutSize,@defalutColor,bold); + } + } + .el-dialog__footer{ + border-top: 1px solid @borderColor; + padding: 15px !important; + } } \ No newline at end of file diff --git a/src/main/webapp/static/mweixin/article.less b/src/main/webapp/static/mweixin/article.less index c28e07f7..dd969daf 100644 --- a/src/main/webapp/static/mweixin/article.less +++ b/src/main/webapp/static/mweixin/article.less @@ -1,77 +1,141 @@ // 新建图文 @import "../ms-admin/4.7.0/less/app.less"; -.ms-article{ +.ms-article { .ms-flex(); width: 100%; background: transparent !important; - .el-container{ + .el-container { // 侧边 - .el-aside{ - padding:14px; - background: #fff; + .el-aside { + padding: 14px; + background: #fff; + height: 475px; // 主文章 - .ms-main-article{ + .ms-main-article { position: relative; - img{ - .ms-width-height(100%,146px); + img { + .ms-width-height(100%, 146px); } - .ms-main-article-mask{ + .ms-main-article-mask { background: #000; opacity: .2; - .ms-width-height(100%,146px); + .ms-width-height(100%, 146px); position: absolute; top: 0; left: 0; } - span{ + span { position: absolute; bottom: 0; padding: 15px; color: #fff; .ms-ellipsis-clamp(2); } - } - // 子文章 - .ms-article-item{ - .ms-width-height(100%,70px); + } // 子文章 + .ms-article-item { + .ms-width-height(100%, 70px); .ms-flex(); - padding:10px 0; + padding: 10px 0; border-bottom: 1px solid @borderColor; - p{ + p { margin: 0 10px 0 0; .ms-flex(); align-items: center; - span{ + span { width: 100%; display: inline-block; .ms-ellipsis-clamp(1); } } - img{ + img { .ms-width-height(50px); } - &:hover{ + &:hover { cursor: pointer; } - } - // 尾部 - .ms-article-footer{ + } // 尾部 + .ms-article-footer { background: #fff; - padding-top:20px; - .el-button{ + padding-top: 20px; + .el-button { width: 100%; background: rgb(242, 242, 246); - i,span{ - .ms-font(@auxiliarySize,@auxiliaryColor); + i, + span { + .ms-font(@auxiliarySize, @auxiliaryColor); } } } - } - // 内容区域 - .el-main{ - flex:1; - background: #fff; + } // 内容区域 + .el-main { + flex: 1; margin-left: 14px; + padding: 0 !important; + .ms-main-header { + background: #fff; + .ms-flex(); + height: 180px; + padding: 20px; + padding-bottom: 24px; + box-sizing: border-box; + border-bottom: 1px solid @borderColor; // 图片上传 + .ms-pic-upload { + .ms-width-height(140px); + border-radius: 4px; + border: 1px dashed @borderColor; + .ms-flex(center); + flex-direction: column; + margin-right: 20px; + .el-upload { + .ms-flex(); + flex-direction: column; + align-items: center; + span { + .ms-font(@auxiliarySize, @auxiliaryColor); + margin-top: 4px; + } + i { + .ms-font(18px, @auxiliaryColor); + } + } + } // 表单 + .el-form { + flex: 1; + margin: 0 !important; + .ms-flex(); + flex-direction: column; + .el-form-item { + margin-bottom: 0 !important; + } + .el-input__suffix { + top: -3px !important; + } + } + } + .ms-main-body { + height: calc(~'100% - 180px'); + background: #fff; + .edui-editor { + height: 100%; + .edui-editor-toolbarboxouter { + background-color: none !important; + background-image: none !important; + } // 编辑器样式 + .edui-editor { + border: none !important; + .edui-editor-toolbarbox { + box-shadow: none !important; + .edui-editor-toolbarboxouter { + background-color: transparent !important; + background-image: none !important; + border: none !important; + border-radius: 0 !important; + box-shadow: none !important; + } + } + } + } + } } } } \ No newline at end of file diff --git a/src/main/webapp/static/mweixin/css/app.css b/src/main/webapp/static/mweixin/css/app.css index 1bbcf495..f0d25e64 100644 --- a/src/main/webapp/static/mweixin/css/app.css +++ b/src/main/webapp/static/mweixin/css/app.css @@ -22,7 +22,7 @@ html, body { min-height: 100vh; - width: 100%; + width: 100vw; background-color: #eee; margin: 0; display: flex; @@ -100,3 +100,18 @@ textarea::-webkit-input-placeholder { .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 #ddd; +} +.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 #ddd; + padding: 15px !important; +} diff --git a/src/main/webapp/static/mweixin/css/article.css b/src/main/webapp/static/mweixin/css/article.css index a3b7bcf6..ad5c1f1d 100644 --- a/src/main/webapp/static/mweixin/css/article.css +++ b/src/main/webapp/static/mweixin/css/article.css @@ -22,7 +22,7 @@ html, body { min-height: 100vh; - width: 100%; + width: 100vw; background-color: #eee; margin: 0; display: flex; @@ -73,7 +73,7 @@ textarea::-webkit-input-placeholder { } .ms-container { margin: 12px; - height: 100%; + height: calc(100% - 24px); padding: 14px 14px 0 14px; background: #fff; } @@ -97,6 +97,9 @@ textarea::-webkit-input-placeholder { .el-button + .el-button { margin-left: 0; } +.ms-weixin-content { + width: calc(100% - 140px); +} .ms-article { display: flex; justify-content: space-between; @@ -106,6 +109,7 @@ textarea::-webkit-input-placeholder { .ms-article .el-container .el-aside { padding: 14px; background: #fff; + height: 475px; } .ms-article .el-container .el-aside .ms-main-article { position: relative; @@ -180,6 +184,80 @@ textarea::-webkit-input-placeholder { } .ms-article .el-container .el-main { flex: 1; - background: #fff; margin-left: 14px; + padding: 0 !important; +} +.ms-article .el-container .el-main .ms-main-header { + background: #fff; + display: flex; + justify-content: space-between; + height: 180px; + padding: 20px; + padding-bottom: 24px; + box-sizing: border-box; + border-bottom: 1px solid #ddd; +} +.ms-article .el-container .el-main .ms-main-header .ms-pic-upload { + width: 140px; + height: 140px; + border-radius: 4px; + border: 1px dashed #ddd; + display: flex; + justify-content: center; + flex-direction: column; + margin-right: 20px; +} +.ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload { + display: flex; + justify-content: space-between; + flex-direction: column; + align-items: center; +} +.ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload span { + font-weight: initial; + font-size: 12px; + color: #999; + margin-top: 4px; +} +.ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload i { + font-weight: initial; + font-size: 18px; + color: #999; +} +.ms-article .el-container .el-main .ms-main-header .el-form { + flex: 1; + margin: 0 !important; + display: flex; + justify-content: space-between; + flex-direction: column; +} +.ms-article .el-container .el-main .ms-main-header .el-form .el-form-item { + margin-bottom: 0 !important; +} +.ms-article .el-container .el-main .ms-main-header .el-form .el-input__suffix { + top: -3px !important; +} +.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-editor { + height: 100%; +} +.ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor-toolbarboxouter { + background-color: none !important; + background-image: none !important; +} +.ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor { + border: none !important; +} +.ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor .edui-editor-toolbarbox { + box-shadow: none !important; +} +.ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor .edui-editor-toolbarbox .edui-editor-toolbarboxouter { + background-color: transparent !important; + background-image: none !important; + border: none !important; + border-radius: 0 !important; + box-shadow: none !important; } diff --git a/src/main/webapp/static/mweixin/css/material-bank-form.css b/src/main/webapp/static/mweixin/css/material-bank-form.css new file mode 100644 index 00000000..3aa9f2c4 --- /dev/null +++ b/src/main/webapp/static/mweixin/css/material-bank-form.css @@ -0,0 +1,160 @@ +/* +*这里的值严格按照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: #ddd; + /*滚动条的背景颜色*/ +} +.ms-container { + margin: 12px; + height: calc(100% - 24px); + padding: 14px 14px 0 14px; + background: #fff; +} +.ms-header { + padding: 10px; + margin: 0; + border-bottom: 1px solid #ddd; + background: #fff; + height: 50px; +} +.ms-pagination { + padding: 20px 0; + text-align: right; +} +.ms-fr { + float: right; +} +.ms-tr { + text-align: right; +} +.el-button + .el-button { + margin-left: 0; +} +.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 #ddd; +} +.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 #ddd; + padding: 15px !important; +} +.material-bank-form > .el-dialog__wrapper > .el-dialog { + width: 895px !important; + height: 587px !important; +} +.material-bank-form > .el-dialog__wrapper > .el-dialog > .el-dialog__body { + width: 100% !important; + height: 469px !important; + padding: 0 !important; +} +.material-bank-form > .el-dialog__wrapper > .el-dialog > .el-dialog__body > .el-tabs { + height: 100%; +} +.material-bank-form > .el-dialog__wrapper > .el-dialog > .el-dialog__body > .el-tabs .el-tabs__header { + width: 150px !important; + box-sizing: border-box; + margin: 0 !important; +} +.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-wrap::after { + width: 1px !important; +} +.material-bank-form > .el-dialog__wrapper > .el-dialog > .el-dialog__body > .el-tabs .el-tabs__content { + height: 100%; + box-sizing: border-box; + padding: 20px 20px 10px 20px; +} +.material-bank-form > .el-dialog__wrapper > .el-dialog > .el-dialog__body > .el-tabs .el-tabs__content .el-tab-pane { + height: 100%; + display: flex; + justify-content: space-between; + flex-direction: column; +} +.material-bank-form > .el-dialog__wrapper > .el-dialog > .el-dialog__body > .el-tabs .el-tabs__content .el-tab-pane > div:first-child { + 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; +} diff --git a/src/main/webapp/static/mweixin/css/new-pic-form.css b/src/main/webapp/static/mweixin/css/new-pic-form.css new file mode 100644 index 00000000..255fec5c --- /dev/null +++ b/src/main/webapp/static/mweixin/css/new-pic-form.css @@ -0,0 +1,131 @@ +/* +*这里的值严格按照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: #ddd; + /*滚动条的背景颜色*/ +} +.ms-container { + margin: 12px; + height: calc(100% - 24px); + padding: 14px 14px 0 14px; + background: #fff; +} +.ms-header { + padding: 10px; + margin: 0; + border-bottom: 1px solid #ddd; + background: #fff; + height: 50px; +} +.ms-pagination { + padding: 20px 0; + text-align: right; +} +.ms-fr { + float: right; +} +.ms-tr { + text-align: right; +} +.el-button + .el-button { + margin-left: 0; +} +.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 #ddd; +} +.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 #ddd; + padding: 15px !important; +} +.new-pic-form dl { + margin: 0; +} +.new-pic-form dd, +.new-pic-form dt { + line-height: 1; + font-weight: initial; + font-size: 12px; + color: #999; +} +.new-pic-form dt { + display: inline-block; + margin-bottom: 8px; +} diff --git a/src/main/webapp/static/mweixin/material-bank-form.less b/src/main/webapp/static/mweixin/material-bank-form.less new file mode 100644 index 00000000..e88107ab --- /dev/null +++ b/src/main/webapp/static/mweixin/material-bank-form.less @@ -0,0 +1,48 @@ +@import "../ms-admin/4.7.0/less/app.less"; +// 素材库表单 +.material-bank-form{ + >.el-dialog__wrapper{ + >.el-dialog{ + .ms-width-height(895px,587px) !important; + >.el-dialog__body{ + .ms-width-height(100%,469px) !important; + padding:0 !important; + >.el-tabs{ + height: 100%; + // 侧边导航 + .el-tabs__header{ + width: 150px !important; + box-sizing: border-box; + margin: 0 !important; + .el-tabs__nav-scroll{ + padding:20px 10px; + } + .el-tabs__nav-wrap::after{ + width: 1px !important; + } + + } + // 导航内容 + .el-tabs__content{ + height: 100%; + box-sizing: border-box; + padding:20px 20px 10px 20px; + .el-tab-pane{ + height: 100%; + .ms-flex(); + flex-direction: column; + >div:first-child{ + flex: 1; + } + } + } + // tab选中的样式 + .is-active{ + background-color:rgb(233, 234, 240); + .ms-font(@defalutSize,@defalutColor); + } + } + } + } + } +} \ No newline at end of file diff --git a/src/main/webapp/static/mweixin/new-pic-form.less b/src/main/webapp/static/mweixin/new-pic-form.less new file mode 100644 index 00000000..16a0c6ed --- /dev/null +++ b/src/main/webapp/static/mweixin/new-pic-form.less @@ -0,0 +1,15 @@ +@import "../ms-admin/4.7.0/less/app.less"; +// 新建图片 +.new-pic-form{ + dl{ + margin: 0; + } + dd,dt{ + line-height: 1; + .ms-font(@auxiliarySize,@auxiliaryColor); + } + dt{ + display: inline-block; + margin-bottom: 8px; + } +} \ No newline at end of file