Commit 610530d3 by zhouzy

管理界面修改

1 parent 502000bf
...@@ -10,14 +10,13 @@ ...@@ -10,14 +10,13 @@
</div> </div>
<el-select <el-select
v-model="searchForm.merchantName" v-model="searchForm.merchantName"
clearab
le
filterable filterable
remote remote
reserve-keyword reserve-keyword
placeholder="请输入关联门店" placeholder="请输入关联门店"
:remote-method="remoteMethod" :remote-method="remoteMethod"
:loading="loading" :loading="loading"
clearable
> >
<el-option <el-option
v-for="(item, index) in options" v-for="(item, index) in options"
...@@ -109,6 +108,7 @@ ...@@ -109,6 +108,7 @@
label="领取链接" label="领取链接"
prop="" prop=""
> >
<div class="lineCtn">
<el-input <el-input
disabled='true' disabled='true'
:value='`${editForm.url}`' :value='`${editForm.url}`'
...@@ -116,12 +116,12 @@ ...@@ -116,12 +116,12 @@
placeholder="请输入链接" placeholder="请输入链接"
clearable clearable
> >
</el-input>
<el-button <el-button
type="primary"
@click='closeText(`${editForm.url}`)' @click='closeText(`${editForm.url}`)'
slot="append"
type=""
>复制链接</el-button> >复制链接</el-button>
</el-input> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer"> <div slot="footer">
...@@ -593,7 +593,7 @@ export default { ...@@ -593,7 +593,7 @@ export default {
// }, // },
downloadImg() { downloadImg() {
var img = document.getElementById('qrCode'); // 获取要下载的图片 var img = document.getElementById('qrCode'); // 获取要下载的图片
var url = img.src ; // 获取图片地址 var url = img.src; // 获取图片地址
console.log(url) console.log(url)
var a = document.createElement('a'); // 创建一个a节点插入的document var a = document.createElement('a'); // 创建一个a节点插入的document
var event = new MouseEvent('click') // 模拟鼠标click点击事件 var event = new MouseEvent('click') // 模拟鼠标click点击事件
...@@ -674,10 +674,10 @@ export default { ...@@ -674,10 +674,10 @@ export default {
if (this.ruleForm.effectiveType == 2) { if (this.ruleForm.effectiveType == 2) {
this.effectiveNum = row.effectiveNum this.effectiveNum = row.effectiveNum
} }
if(row.tryAble == 1){ if (row.tryAble == 1) {
this.value = true, this.value = true,
this.tryNum = row.tryNum this.tryNum = row.tryNum
}else{ } else {
this.value = false, this.value = false,
this.tryNum = '' this.tryNum = ''
} }
...@@ -704,10 +704,10 @@ export default { ...@@ -704,10 +704,10 @@ export default {
if (this.ruleForm.effectiveType == 2) { if (this.ruleForm.effectiveType == 2) {
this.effectiveNum = row.effectiveNum this.effectiveNum = row.effectiveNum
} }
if(row.tryAble == 1){ if (row.tryAble == 1) {
this.value = true, this.value = true,
this.tryNum = row.tryNum this.tryNum = row.tryNum
}else{ } else {
this.value = false, this.value = false,
this.tryNum = '' this.tryNum = ''
} }
...@@ -764,10 +764,10 @@ export default { ...@@ -764,10 +764,10 @@ export default {
if (this.ruleForm.effectiveType == 2) { if (this.ruleForm.effectiveType == 2) {
this.ruleForm.effectiveNum = this.effectiveNum this.ruleForm.effectiveNum = this.effectiveNum
} }
if(this.value == true){ if (this.value == true) {
this.ruleForm.tryNum = this.tryNum this.ruleForm.tryNum = this.tryNum
this.ruleForm.tryAble = '1' this.ruleForm.tryAble = '1'
}else{ } else {
this.ruleForm.tryNum = '' this.ruleForm.tryNum = ''
this.ruleForm.tryAble = '0' this.ruleForm.tryAble = '0'
} }
...@@ -959,10 +959,14 @@ export default { ...@@ -959,10 +959,14 @@ export default {
padding-left: 20px; padding-left: 20px;
margin-left: 100px; margin-left: 100px;
} }
.prompt{ .prompt {
margin-left: 20px; margin-left: 20px;
font-size: 14px; font-size: 14px;
color: #8c939d; color: #8c939d;
} }
.lineCtn {
display: flex;
flex-direction: row;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!