From 2a8f72da2740978c9a96c0e9fa27186cd2cfe8cb Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期四, 13 七月 2023 15:04:17 +0800 Subject: [PATCH] no message --- public/html/signin.html | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/public/html/signin.html b/public/html/signin.html index 94e9ccb..5decf63 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%;" @@ -340,6 +340,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 +414,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) { -- Gitblit v1.9.3