From 7ed108f71c66e74724c066843c4ae08c1050d4b9 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期四, 29 六月 2023 09:43:13 +0800
Subject: [PATCH] no message

---
 public/html/per_cms.html |   28 ++++++++++++++++++++--------
 1 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/public/html/per_cms.html b/public/html/per_cms.html
index ee4c325..3504b69 100644
--- a/public/html/per_cms.html
+++ b/public/html/per_cms.html
@@ -39,6 +39,7 @@
             border-radius:8px;
             margin-bottom: 20px;
             padding: 10px;
+            font-size: 13px;
         }
         .topgu
         {
@@ -101,7 +102,7 @@
             <div style="width:50%">
                 <img class="fzimg" @click="getCmsUrl()" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/cms_fxdp.png"/>
             </div>
-         
+             <div style="display: none;" id="copytxt"></div>
             </div>
         </div>
         <div class="check_cms tipcon">
@@ -109,8 +110,8 @@
             娓╅Θ鎻愮ず锛�
            </div>
            <div>
-            1銆亁xxxxxxxxxxxxxxxxxxxxxxx<br/>
-            2銆亁xxxxxxxxxxxxxxxxxxxxxxxx<br/>
+            1銆佸鍦ㄥ井淇′腑鍒嗕韩涓汉搴楅摵閾炬帴琚睆钄芥垨寮傚父锛岃鍙婃椂鑱旂郴瀹㈡湇澶勭悊<br/>
+            2銆佸垎浜釜浜哄簵閾虹粰瀹㈡埛锛屾搷浣滅啛鎮夊悗锛屽缓璁帹鑽愪笅杞戒娇鐢╝pp,鎿嶄綔浣撻獙鏇村姞鍙嬪ソ<br/>
            </div>
         </div>
     </div>
@@ -125,7 +126,7 @@
         data:{
            cmsUrl:'',
            loading:false,
-           cmsurl:'',
+           cmsurl:''
         },
         methods:{
             getCmsUrl:function(){
@@ -135,8 +136,9 @@
                     headers:{
                         "token":this.getUrlPar("token")
                     },
-                    url:'http://appapitest.ushopvip.com/api/activity/cmsGet',
-                    //url:'http://dfg.shop.com//api/activity/cmsGet',
+                   url:'http://appapitest.ushopvip.com/api/activity/cmsGet',
+                    //url:'http://dfg.shop.com/api/activity/cmsGet',
+                    //url:'http://dfgapp.ushopvip.com/api/activity/cmsGet',
                     type:"post",
                     dataType:"json",
                     async: false,
@@ -151,7 +153,17 @@
                         _this.handleClipboard(res.data.url);
                     }
                     else {
-                      alert(res.msg);
+                        if(res.msg=="璇峰厛娣樺疂鎺堟潈")
+                        {
+                            uni.postMessage({
+                                data: {
+                                    action: 'tbauth'
+                                }
+                            })
+                        }
+                        else{
+                            alert(res.msg);
+                        }
                     }
                     _this.loading=false;                              
                 })
@@ -171,11 +183,11 @@
 					},
 				});
 				clipboardImg.on('success', function(e) {
-                    alert("澶嶅埗鎴愬姛锛屽揩鍒嗕韩缁欏皬浼欎即鍚");
 					layer.msg(
 						'澶嶅埗鎴愬姛锛屽揩鍒嗕韩缁欏皬浼欎即鍚'
 					);
 					e.clearSelection();
+                    clipboardImg.destroy();
 				});
 
 				clipboardImg.on('error', function(e) {

--
Gitblit v1.9.3