Explorar o código

Signed-off-by: yinxr <2273460044@qq.com>

yinxr %!s(int64=6) %!d(string=hai) anos
pai
achega
c66c003a61

+ 2 - 2
src/main/webapp/WEB-INF/manager/login.ftl

@@ -92,9 +92,9 @@ var loginVue = new Vue({
     },
     methods: {
         // 登录
-        checkLogin: function(form) {
+        checkLogin: function() {
             var that = this;
-            ms.http.post(ms.manager + "/ms/checkLogin.do", form).then(function(data) {
+            ms.http.post(ms.manager + "/ms/checkLogin.do", that.loginForm).then(function(data) {
                 if (data.result) {
                     that.$notify({
                         title: '成功',

+ 52 - 0
src/main/webapp/WEB-INF/manager/mweixin/keyword-reply.ftl

@@ -0,0 +1,52 @@
+<!-- 关键字回复 -->
+<!DOCTYPE html>
+<html lang="">
+<head>
+    <title></title>
+    <!-- <#include "/include/head-file.ftl"/> -->
+    <!--#include virtual="../include/head-file.ftl" -->
+    <link rel="stylesheet" href="../../../static/mweixin/css/keyword-reply.css">
+</head>
+
+<body>
+    <div id="keyword-reply" class="keyword-reply ms-container">
+        <el-table :data="tableData" border style="width: 100%">
+            <el-table-column prop="date" label="规则名" width="180" align='center'>
+            </el-table-column>
+            <el-table-column prop="name" label="关键词" width="180" align='center'>
+            </el-table-column>
+            <el-table-column prop="address" label="消息回复类型" align='center'>
+            </el-table-column>
+            <el-table-column prop="address" label="发送对象" align='center'>
+            </el-table-column>
+            <el-table-column prop="address" label="回复方式" align='center'>
+            </el-table-column>
+        </el-table>
+    </div>
+</body>
+
+</html>
+<script>
+    var keywordReplyVue = new Vue({
+        el: '#keyword-reply',
+        data: {
+            tableData: [{
+                date: '2016-05-02',
+                name: '王小虎',
+                address: '上海市普陀区金沙江路 1518 弄'
+            }, {
+                date: '2016-05-04',
+                name: '王小虎',
+                address: '上海市普陀区金沙江路 1517 弄'
+            }, {
+                date: '2016-05-01',
+                name: '王小虎',
+                address: '上海市普陀区金沙江路 1519 弄'
+            }, {
+                date: '2016-05-03',
+                name: '王小虎',
+                address: '上海市普陀区金沙江路 1516 弄'
+            }]
+        }
+    })
+</script>

+ 100 - 0
src/main/webapp/static/mweixin/css/keyword-reply.css

@@ -0,0 +1,100 @@
+/*
+*这里的值严格按照UI设计图标注值来进行设置
+*/
+/*
+*颜色
+*/
+/*
+*页面的边距
+*/
+/*
+*字体
+*/
+/*
+*头像
+*/
+/*
+ * 按钮
+ */
+/*
+*对常见的多行样式进行了方法封装,方便调用,加快开发效率
+*/
+html,
+body {
+  min-height: 100vh;
+  background-color: #eee;
+  margin: 0;
+  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: 100%;
+  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;
+}
+.keyword-reply {
+  padding: 14px;
+}

+ 5 - 0
src/main/webapp/static/mweixin/keyword-reply.less

@@ -0,0 +1,5 @@
+@import "../ms-admin/4.7.0/less/app.less";
+// 关键字回复
+.keyword-reply{
+    padding:14px;
+}