Commit ce93e684 authored by Z's avatar Z

Z: Dot: Wx: 版本存档:安卓优惠券分享兼容性测试版本。带提示信息。其他流程正常。

parent 29be3332
...@@ -30,11 +30,10 @@ ...@@ -30,11 +30,10 @@
</div> </div>
</div>--> </div>-->
</div> </div>
<!--@click="zVoucherPick(item.action_id, item.coupon_id)"-->
<div <div
v-for="item of zlist.voucher" v-for="item of zlist.voucher"
:key="item.coupon_id" :key="item.coupon_id"
@click="zVoucherPick(item.action_id, item.coupon_id)"
> >
<div class="content"> <div class="content">
<div class="content-imgs"> <div class="content-imgs">
...@@ -155,7 +154,7 @@ export default { ...@@ -155,7 +154,7 @@ export default {
// zlog('%c--->userId =', this.zcache.userId) // zlog('%c--->userId =', this.zcache.userId)
this.zReadyGetUserFromId(); this.zReadyGetUserFromId();
// this.zReadySetVoucherList(); // this.zReadySetVoucherList();
// this.getAgentAuth(); this.getAgentAuth();
}, },
mounted() { mounted() {
// zlog("%c--->Mounted.", "color: orange"); // zlog("%c--->Mounted.", "color: orange");
...@@ -316,12 +315,12 @@ export default { ...@@ -316,12 +315,12 @@ export default {
}, },
function(res) { function(res) {
if (res.err_msg == "sendChatMessage:ok") { if (res.err_msg == "sendChatMessage:ok") {
// alert("--->discount.vue: zpick: h5 分享成功!"); alert("--->discount.vue: zpick: h5 分享成功!");
} else if (res.err_msg != "sendChatMessage:ok") { } else if (res.err_msg != "sendChatMessage:ok") {
// alert(`--->discount.vue: zpick: h5 分享失败: res =${res}`); alert(`--->discount.vue: zpick: h5 分享失败.`);
// alert( alert(
// `--->discount.vue: zpick: h5 分享失败: res =${res.err_msg}` `--->discount.vue: zpick: h5 分享失败: res =${res.err_msg}`
// ); );
} }
} }
); );
...@@ -342,13 +341,14 @@ export default { ...@@ -342,13 +341,14 @@ export default {
}, },
zVoucherSet(inArray) { zVoucherSet(inArray) {
this.zlist.voucher = inArray; this.zlist.voucher = inArray;
this.zpick('h5', inArray)
}, },
zVoucherDel() { zVoucherDel() {
this.zlist.voucher = []; this.zlist.voucher = [];
}, },
zVoucherUrlSet(inData) { zVoucherUrlSet(inData) {
this.zlist.voucherUrl = String(inData); this.zlist.voucherUrl = String(inData);
this.zpick('h5', String(inData))
}, },
zVoucherUrlDel() { zVoucherUrlDel() {
this.zlist.voucherUrl = ""; this.zlist.voucherUrl = "";
......
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