Commit 9717a873 by 胡悦

群发修改活动和样式

1 parent 0a1c381c
...@@ -174,7 +174,7 @@ const getMerchant = params => { ...@@ -174,7 +174,7 @@ const getMerchant = params => {
}) })
} }
const getCard = params => { const getCard = params => {
params.method = 'scrm.api.equity.card.class.list.with.page' params.method = 'scrm.api.equity.open.card.price.list.by.merchantid'
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'POST', method: 'POST',
......
...@@ -289,10 +289,16 @@ html { ...@@ -289,10 +289,16 @@ html {
border-radius: 4px; border-radius: 4px;
background-color: rgba(144, 147, 153, 0.3); background-color: rgba(144, 147, 153, 0.3);
} }
.el-tag {
color: #666!important;
font-size: 14px!important;
}
.el-tag.el-tag--info { .el-tag.el-tag--info {
background: #FAFBFE !important; background: #fafbfe !important;
border: 1px solid #E8E8EA !important; border: 1px solid #e8e8ea !important;
border-radius: 4px; border-radius: 4px;
color: #666; color: #666;
font-size: 14px; }
.el-tag.el-tag--info.el-tag--plain {
background: transparent !important;
} }
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
<div class="title">基础信息</div> <div class="title">基础信息</div>
<div class="info-box"> <div class="info-box">
<div class="info-content"> <div class="info-content">
<el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="120px"> <el-form
class="basic-form"
:model="basicForm"
:rules="basicRules"
ref="basicForm"
label-width="120px"
>
<el-form-item prop="userList"> <el-form-item prop="userList">
<label slot="label" class="required">选择群发账号</label> <label slot="label" class="required">选择群发账号</label>
<el-button size="small" @click="openMembers"> <el-button size="small" @click="openMembers">
...@@ -574,15 +580,15 @@ export default { ...@@ -574,15 +580,15 @@ export default {
} }
} }
} }
} .basic-form {
}
.el-form {
padding: 32px 0 20px 20px; padding: 32px 0 20px 20px;
/deep/.el-input { /deep/.el-input {
width: 320px; width: 320px;
} }
} }
}
}
.form-tips { .form-tips {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
...@@ -646,6 +652,7 @@ export default { ...@@ -646,6 +652,7 @@ export default {
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;
margin-bottom: 5px; margin-bottom: 5px;
// background: #fff !important;
} }
.tag-input { .tag-input {
background: transparent; background: transparent;
......
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
<div class="title">基础信息</div> <div class="title">基础信息</div>
<div class="info-box"> <div class="info-box">
<div class="info-content"> <div class="info-content">
<el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="120px"> <el-form
:model="basicForm"
class="basic-form"
:rules="basicRules"
ref="basicForm"
label-width="120px"
>
<el-form-item label="群聊名称" prop="massName"> <el-form-item label="群聊名称" prop="massName">
<el-input v-model="basicForm.massName" placeholder="群发名称仅内部可见" maxlength="10"></el-input> <el-input v-model="basicForm.massName" placeholder="群发名称仅内部可见" maxlength="10"></el-input>
</el-form-item> </el-form-item>
...@@ -335,7 +341,7 @@ export default { ...@@ -335,7 +341,7 @@ export default {
} }
} }
.el-form { .basic-form {
padding: 32px 0 20px 66px; padding: 32px 0 20px 66px;
/deep/.el-input { /deep/.el-input {
width: 320px; width: 320px;
...@@ -414,6 +420,7 @@ export default { ...@@ -414,6 +420,7 @@ export default {
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;
margin-bottom: 5px; margin-bottom: 5px;
background: #fff !important;
} }
.tag-input { .tag-input {
background: transparent; background: transparent;
......
...@@ -122,12 +122,18 @@ export default { ...@@ -122,12 +122,18 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 12, pageSize: 12,
tableTotal: 0, tableTotal: 0,
selectItem: {} selectItem: {
id: ''
}
} }
}, },
methods: { methods: {
handleSelectItem(item) { handleSelectItem(item) {
this.selectItem = item this.selectItem = item
if (item.equityClassId) {
this.selectItem.id = item.equityClassId
}
console.log(this.selectItem)
}, },
handleSelect() { handleSelect() {
if (!this.selectItem.id) { if (!this.selectItem.id) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!