From a0065747602d4547fd3cf9a2ef41e30acd098879 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期二, 27 六月 2023 16:00:40 +0800
Subject: [PATCH] no message

---
 public/html/per_cms.html |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/public/html/per_cms.html b/public/html/per_cms.html
index 666b433..cab0698 100644
--- a/public/html/per_cms.html
+++ b/public/html/per_cms.html
@@ -34,7 +34,7 @@
         }
         .check_cms
         {
-            width: 95%;
+            width: 85%;
             background: #fff;
             border-radius:8px;
             margin-bottom: 20px;
@@ -101,7 +101,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">
@@ -124,7 +124,8 @@
         el: '#percms',
         data:{
            cmsUrl:'',
-           loading:false
+           loading:false,
+           cmsurl:''
         },
         methods:{
             getCmsUrl:function(){
@@ -134,9 +135,12 @@
                     headers:{
                         "token":this.getUrlPar("token")
                     },
-                    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,
                     data:{
                        
                     }
@@ -144,6 +148,7 @@
                     if(res.code == 0){
                         _this.cmsUrl = res.data.url;
                         console.log(res.data.url);
+                        _this.cmsurl=res.data.url;
                         _this.handleClipboard(res.data.url);
                     }
                     else {
@@ -171,6 +176,7 @@
 						'澶嶅埗鎴愬姛锛屽揩鍒嗕韩缁欏皬浼欎即鍚'
 					);
 					e.clearSelection();
+                    clipboardImg.destroy();
 				});
 
 				clipboardImg.on('error', function(e) {

--
Gitblit v1.9.3