parent
db5d47bafe
commit
56dbdd1bd1
9 changed files with 396 additions and 37 deletions
@ -0,0 +1,59 @@ |
|||||||
|
<!-- 关键字列表 --> |
||||||
|
<!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-list.css"> |
||||||
|
<!-- <link rel="stylesheet" href="${base}/static/mweixin/css/keyword-list.css"> --> |
||||||
|
</head> |
||||||
|
|
||||||
|
<body> |
||||||
|
<div id="keyword-list" class="keyword-list 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 keywordListVue = new Vue({ |
||||||
|
el: '#keyword-list', |
||||||
|
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 弄' |
||||||
|
}] |
||||||
|
}, |
||||||
|
methods:{ |
||||||
|
// 获取关键词列表 |
||||||
|
list:function(){ |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
}) |
||||||
|
</script> |
||||||
@ -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-list { |
||||||
|
padding: 14px; |
||||||
|
} |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
@import "../ms-admin/4.7.0/less/app.less"; |
||||||
|
// 关键字列表 |
||||||
|
.keyword-list{ |
||||||
|
padding:14px; |
||||||
|
} |
||||||
@ -1,5 +1,80 @@ |
|||||||
@import "../ms-admin/4.7.0/less/app.less"; |
@import "../ms-admin/4.7.0/less/app.less"; |
||||||
// 关键字回复 |
// 关键字回复 |
||||||
.keyword-reply { |
.keyword-reply { |
||||||
padding:14px; |
padding-bottom:20px; |
||||||
|
.el-select .el-input { |
||||||
|
width: 90px; |
||||||
|
>input { |
||||||
|
padding: 0 10px !important; |
||||||
|
} |
||||||
|
} |
||||||
|
// 关键词 |
||||||
|
.ms-keyword-input{ |
||||||
|
margin-bottom: 15px !important; |
||||||
|
// 尾词 |
||||||
|
.el-input__suffix{ |
||||||
|
line-height: 28px; |
||||||
|
} |
||||||
|
// 添加 |
||||||
|
.el-icon-plus{ |
||||||
|
margin-left:20px; |
||||||
|
.ms-font(@defalutSize,@themeColor,bold); |
||||||
|
&:hover{ |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
// 回复内容 |
||||||
|
.ms-keyword-reply-content { |
||||||
|
margin: 0; |
||||||
|
.keyword-reply-tabs { |
||||||
|
flex: 1; |
||||||
|
border: 1px solid @borderColor; |
||||||
|
border-radius: 4px 4px 0 0 !important; |
||||||
|
min-height: 226px; |
||||||
|
.el-tabs__header { |
||||||
|
// background: #f2f2f6; |
||||||
|
margin: 0 !important; |
||||||
|
.el-tabs__nav-scroll { |
||||||
|
padding: 0 20px; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
.el-form-item__content { |
||||||
|
position: relative; |
||||||
|
.el-icon-delete { |
||||||
|
position: absolute; |
||||||
|
right: 5px; |
||||||
|
bottom: 66px; |
||||||
|
.ms-font(@auxiliarySize, @auxiliaryColor); |
||||||
|
&:hover { |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
} |
||||||
|
textarea { |
||||||
|
height: 127px !important; |
||||||
|
border: none !important; |
||||||
|
border-bottom: 1px solid @borderColor !important; |
||||||
|
} |
||||||
|
.footer { |
||||||
|
height: 58px; |
||||||
|
padding: 0 14px; |
||||||
|
.ms-flex(flex-start); |
||||||
|
align-items: center; |
||||||
|
i { |
||||||
|
margin-right: 12px; |
||||||
|
font-size: 16px; |
||||||
|
} |
||||||
|
a { |
||||||
|
.ms-font(@defalutSize, @themeColor); |
||||||
|
} |
||||||
|
i, |
||||||
|
a { |
||||||
|
&:hover { |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
} |
} |
||||||
Loading…
Reference in new issue