From 1f5ce9024b57362dc02812de1aacd6ff8cd1303b Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 30 六月 2023 10:51:52 +0800 Subject: [PATCH] no message --- public/html/signin.html | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/public/html/signin.html b/public/html/signin.html index b329d72..85108c5 100644 --- a/public/html/signin.html +++ b/public/html/signin.html @@ -446,18 +446,7 @@ // if(!isCoupon && vmRequest("pure_tpwd")) { // // 鐩存帴澶嶅埗 // copy(item.tpwd, "澶嶅埗鍙d护鎴愬姛,璇锋墦寮�娣樺疂涓嬪崟"); - if(!isCoupon) { - // 鐩存帴澶嶅埗 - //SpaUtils.copy(item.itemtitle, false); - //this.titleCopyTipsVisible = true; - uni.postMessage({ - data: { - action: 'totb', - tburl:item.az_link - } - }) - return; - } + var that = this; var load = layer.load(1, {shade: 0.3}); $.ajax({ @@ -478,6 +467,15 @@ success: function(data) { layer.close(load); if(data.code == "1") { + if(!isCoupon) {//鐩存帴涓嬪崟 + uni.postMessage({ + data: { + action: 'totb', + tburl:data.data.item_url + } + }) + return; + } that.taoToken = data.data.taoword; if(isCoupon) { //that.popupFun(".tokenbox1"); -- Gitblit v1.9.3