From f2528a40b631dd4165484b9fce6b5c2708aae5c7 Mon Sep 17 00:00:00 2001 From: heyuntao <heyuntao@LAPTOP-MP4HD5NS> Date: 星期六, 07 十月 2023 10:49:30 +0800 Subject: [PATCH] no message --- public/html/signin.html | 35 ++++++++++++++++++++++++++--------- 1 files changed, 26 insertions(+), 9 deletions(-) diff --git a/public/html/signin.html b/public/html/signin.html index 94e9ccb..5bb3b83 100644 --- a/public/html/signin.html +++ b/public/html/signin.html @@ -107,9 +107,9 @@ </div> <div> <div class="ticket" v-if="item.couponurl"><span class="name" style="height: 0.3rem;">鍒�</span><span - class="value">锟{item.couponmoney}}</span></div> + class="value" style="height: 0.3rem;">锟{item.couponmoney}}</span></div> <div class="ticket" v-if="item.couponurl"><span class="name" style="height: 0.3rem;background:linear-gradient(180deg,#b21db6,#ad25d1)">杩�</span><span - class="value" style="border:1px solid #b817ce;color:#b817ce">锟{item.fanli}}</span></div> + class="value" style="border:1px solid #b817ce;color:#b817ce;height: 0.3rem;">锟{item.fanli}}</span></div> </div> <div class="shop-b"> @@ -191,7 +191,7 @@ </div> </div> </transition> - <van-overlay :show="titleCopyTipsVisible" @click="titleCopyTipsVisible = false"> + <van-overlay :show="titleCopyTipsVisible" @click="diaCloese()"> <div class="wrapper" style="display:flex;align-items:center;justify-content:center;height: 100%;" @@ -255,7 +255,8 @@ data: function() { return { //posturl:"http://dfg.shop.com", - posturl:"http://appapitest.ushopvip.com", + //posturl:"http://appapitest.ushopvip.com", + posturl:"http://dfgapp.ushopvip.com", showDirect: false, codeId: vmRequest("code"), @@ -340,6 +341,16 @@ this.touch(); }, methods: { + diaCloese:function() + { + this.titleCopyTipsVisible=false; + uni.postMessage({ + data: { + action: 'totb', + tburl:this.sign_info.url + } + }) + }, touch:function() { const box = document.querySelector('.box') @@ -404,10 +415,16 @@ }) }, toSignIn: function() { - if(!this.sign_info.tpwd) { + if(!this.sign_info.url) { return; } - SpaUtils.copy(this.sign_info.tpwd, "澶嶅埗鍙d护鎴愬姛锛岃鎵撳紑娣樺疂娴忚棰嗗彇绛惧埌绾㈠寘"); + uni.postMessage({ + data: { + action: 'totb', + tburl:this.sign_info.url + } + }) + //SpaUtils.copy(this.sign_info.tpwd, "澶嶅埗鍙d护鎴愬姛锛岃鎵撳紑娣樺疂娴忚棰嗗彇绛惧埌绾㈠寘"); }, getUrlPar:function(name) { @@ -571,13 +588,13 @@ } that.taoToken = data.data.taoword; if(isCoupon) { - //that.popupFun(".tokenbox1"); - uni.postMessage({ + that.popupFun(".tokenbox1"); + /* uni.postMessage({ data: { action: 'totb', tburl:data.data.link } - }) + }) */ } else { that.openSnappedUpDialog(); } -- Gitblit v1.9.3