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 |   30 ++++++++++++++++++++----------
 1 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/public/html/signin.html b/public/html/signin.html
index c439f5b..85108c5 100644
--- a/public/html/signin.html
+++ b/public/html/signin.html
@@ -107,9 +107,9 @@
         <p class="realpic-loading" v-else>鏁版嵁宸插姞杞藉畬浜�</p>
       </div>
     </div>
-    <div class="free-share" v-bind:class="acFocus?'active':''">
+ <!--    <div class="free-share" v-bind:class="acFocus?'active':''">
       <img src="http://img.bc.haodanku.com/haodanku/1613981706" v-on:click="copyShare()" class="share-btn">
-    </div>
+    </div> -->
     <div>
       <div class="back_top" v-if="scrollShow" v-on:click="arrowTop()"></div>
       <div class="tokenbox tokenbox1">
@@ -357,7 +357,7 @@
         type: "Get",
         url: that.vmHttp + "://v2.api.haodanku.com/sign_red_pack_goods",
         data: {
-          apikey: '', //蹇呭~
+          apikey: '0F92EBA7AADA', //蹇呭~
           min_size: 20,
           sort: that.sortId,
           min_id: that.page,
@@ -446,12 +446,7 @@
       // if(!isCoupon && vmRequest("pure_tpwd")) {
       //   // 鐩存帴澶嶅埗
       //   copy(item.tpwd, "澶嶅埗鍙d护鎴愬姛,璇锋墦寮�娣樺疂涓嬪崟");
-      if(!isCoupon) {
-        // 鐩存帴澶嶅埗
-        SpaUtils.copy(item.itemtitle, false);
-        this.titleCopyTipsVisible = true;
-        return;
-      }
+    
       var that = this;
       var load = layer.load(1, {shade: 0.3});
       $.ajax({
@@ -472,9 +467,24 @@
         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");
+              //that.popupFun(".tokenbox1");
+              uni.postMessage({
+                data: {
+                  action: 'totb',
+                  tburl:data.data.link
+                }
+               })
             } else {
               that.openSnappedUpDialog();
             }

--
Gitblit v1.9.3