From 9971bdfb616d42f69e706a6096b67e43c749630c Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期六, 10 六月 2023 10:06:48 +0800 Subject: [PATCH] no message --- public/html/freebuy.html | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/public/html/freebuy.html b/public/html/freebuy.html index 3bd58f1..098311d 100644 --- a/public/html/freebuy.html +++ b/public/html/freebuy.html @@ -293,9 +293,9 @@ <script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script> <script> (function(){ - var size = (document.body.clientWidth || document.documentElement.clientWidth); - alert("1:"+document.body.clientWidth); - alert("2:"+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'; })(); @@ -356,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) -- Gitblit v1.9.3