Commit ce93e684 authored by Z's avatar Z

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

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