From 204c2b477477f50f1b7e9383eb1212441fa08f11 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期三, 05 七月 2023 11:34:19 +0800 Subject: [PATCH] no message --- public/html/signin.html | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/public/html/signin.html b/public/html/signin.html index 2fce097..5decf63 100644 --- a/public/html/signin.html +++ b/public/html/signin.html @@ -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