From 6d5bda47851782efcf5743ef591a6e423b837c04 Mon Sep 17 00:00:00 2001
From: heyuntao <heyuntao@LAPTOP-MP4HD5NS>
Date: 星期一, 12 六月 2023 14:19:40 +0800
Subject: [PATCH] 剪贴板问题修复

---
 public/html/freebuy.html |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/public/html/freebuy.html b/public/html/freebuy.html
index cde7d67..0f886c7 100644
--- a/public/html/freebuy.html
+++ b/public/html/freebuy.html
@@ -293,7 +293,9 @@
 <script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script>
 <script>
     (function(){
-        var size = (document.body.clientWidth || document.documentElement.clientWidth);
+        var size1=document.body.clientWidth;
+        var size2=document.documentElement.clientWidth;
+        var size=size1<=0?size2:size1;
         size=size<=0?400:size;
         document.documentElement.style.fontSize = (size > 750 ? 750 : size) / 7.5 + 'px';
     })();
@@ -354,11 +356,12 @@
                         "token":_this.getUrlPar("token")
                     },
                     //url:'http://dfg.shop.com/index.php/api/user/check_isfirst_free', 
-                   //url:'http://dfgapp.ushopvip.com/api/user/check_isfirst_free',
-                   url:'http://appapitest.ushopvip.com/api/user/check_isfirst_free', 
+                   url:'http://dfgapp.ushopvip.com/api/user/check_isfirst_free',
+                   //url:'http://appapitest.ushopvip.com/api/user/check_isfirst_free', 
                    type:"post",
                     dataType:"json",
                     data:{
+
                     }
                 }).done(function(res){
                     if(res.msg.info==1)
@@ -369,7 +372,7 @@
                             },
                                 //url:'http://dfg.shop.com/index.php/api/taoke/get_first_free_goods', 
                             //url:'http://dfgapp.ushopvip.com/api/taoke/get_first_free_goods',
-                            url:'http://appapitest.ushopvip.com/api/taoke/get_first_free_goods', 
+                            url:'http://dfgapp.ushopvip.com/api/taoke/get_first_free_goods', 
                             type:"post",
                                 dataType:"json",
                             data:{

--
Gitblit v1.9.3