Authored by 王水玲

ufo h5 静态资源放置cdn

@@ -8,8 +8,8 @@ @@ -8,8 +8,8 @@
8 <script type="text/javascript"> 8 <script type="text/javascript">
9 (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=750){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/750)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window); 9 (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=750){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/750)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window);
10 </script> 10 </script>
11 - <link href="./css/swiper-4.4.1.min.css" rel="stylesheet" type="text/css"/>  
12 - <link href="./css/goodsDetail.css" rel="stylesheet" type="text/css"/> 11 + <link href="https://cdn.yoho.cn/ufo/1.0.1/css/swiper-4.4.1.min.css" rel="stylesheet" type="text/css"/>
  12 + <link href="https://cdn.yoho.cn/ufo/1.0.1/css/goodsDetail.css" rel="stylesheet" type="text/css"/>
13 <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> 13 <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
14 </head> 14 </head>
15 <body> 15 <body>
@@ -58,9 +58,9 @@ @@ -58,9 +58,9 @@
58 </div> 58 </div>
59 59
60 60
61 - <script src="./js/jquery-1.11.3.min.js" type="text/javascript"></script>  
62 - <script src="./js/swiper-4.4.1.min.js" type="text/javascript"></script>  
63 - <script src="./js/share.js"></script> 61 + <script src="https://cdn.yoho.cn/ufo/1.0.1/js/jquery-1.11.3.min.js" type="text/javascript"></script>
  62 + <script src="https://cdn.yoho.cn/ufo/1.0.1/js/swiper-4.4.1.min.js" type="text/javascript"></script>
  63 + <script src="https://cdn.yoho.cn/ufo/1.0.1/js/share.js"></script>
64 <script> 64 <script>
65 function getUrlParam(name) { 65 function getUrlParam(name) {
66 var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); 66 var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");