From 73e8924ae3a93d4b6a69579ccc464cc599af2bd6 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期五, 04 八月 2023 10:06:43 +0800
Subject: [PATCH] no message

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

diff --git a/public/html/per_cms.html b/public/html/per_cms.html
index 8a2b703..e82333c 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,23 +126,19 @@
         data:{
            cmsUrl:'',
            loading:false,
-           cmsurl:'',
+           cmsurl:''
         },
         methods:{
             getCmsUrl:function(){
                 var _this = this;
-                if(_this.cmsurl!='')
-                {
-                    _this.handleClipboard(_this.cmsurl);
-                    return;
-                }
                 _this.loading=true;
                 $.ajax({
                     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,
@@ -156,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;                              
                 })
@@ -176,11 +183,11 @@
 					},
 				});
 				clipboardImg.on('success', function(e) {
-                    alert("澶嶅埗鎴愬姛锛屽揩鍒嗕韩缁欏皬浼欎即鍚");
 					layer.msg(
 						'澶嶅埗鎴愬姛锛屽揩鍒嗕韩缁欏皬浼欎即鍚'
 					);
 					e.clearSelection();
+                    clipboardImg.destroy();
 				});
 
 				clipboardImg.on('error', function(e) {

--
Gitblit v1.9.3