Commit 652c1766 authored by zhengke's avatar zhengke

修改

parent 9b0bb51e
......@@ -150,7 +150,7 @@
</el-form-item>
<el-form-item label="图标" prop="notice_url">
<el-tooltip class="item" effect="dark" content="建议尺寸36*36" placement="top">
<el-button size="mini">选择文件</el-button>
<el-button size="mini" @click="choicImg=true,chooseImg='notice'">选择文件</el-button>
</el-tooltip>
<div class="customize-share-title">
<div class="zk_pic_box" style="width:80px;height:80px;" flex="main:center cross:center"
......@@ -207,7 +207,7 @@
<el-form :model="couopnMsg" :rules="rules4" ref="couopnMsg" label-width="150px">
<el-form-item label="未领取图(满减券)" prop="coupon_not_url">
<el-tooltip class="item" effect="dark" content="建议尺寸256*130" placement="top">
<el-button size="mini">选择文件</el-button>
<el-button size="mini" @click="choicImg=true,chooseImg='couponOne'">选择文件</el-button>
</el-tooltip>
<div class="customize-share-title">
<div class="zk_pic_box" style="width:80px;height:80px;" flex="main:center cross:center"
......@@ -218,7 +218,7 @@
</el-form-item>
<el-form-item label="已领取图" prop="coupon_url">
<el-tooltip class="item" effect="dark" content="建议尺寸256*130" placement="top">
<el-button size="mini">选择文件</el-button>
<el-button size="mini" @click="choicImg=true,chooseImg='couponTwo'">选择文件</el-button>
</el-tooltip>
<div class="customize-share-title">
<div class="zk_pic_box" style="width:80px;height:80px;" flex="main:center cross:center"
......@@ -465,6 +465,7 @@
x.coupon_url = this.couopnMsg.coupon_url;
}
})
this.isShowCoupon=false;
},
//保存公告
saveNotice(addMsg) {
......@@ -487,6 +488,7 @@
x.notice_url = this.noticeMsg.notice_url;
}
})
this.isShowNotice=false;
},
//确定保存专题
setTopic() {
......@@ -497,6 +499,7 @@
x.topic_url_2 = this.topicMsg.topic_url_2;
}
})
this.isShowTotic=false;
},
GetMiniProgramMallIndex() {
this.apipost("/api/Tenant/GetMiniProgramMallIndex", {}, res => {
......@@ -539,6 +542,16 @@
if (this.chooseImg == 'video') {
this.videoMsg.video_pic_url = msg.url;
}
if (this.chooseImg == 'notice') {
this.noticeMsg.notice_url = msg.url;
}
if(this.chooseImg=='couponOne'){
this.couopnMsg.coupon_not_url=msg.url;
}
if(this.chooseImg=='couponTwo'){
this.couopnMsg.coupon_url=msg.url;
}
this.choicImg = false;
},
Selectvideo(val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment