Authored by 梁志锋

test https

@@ -152,17 +152,17 @@ function reMarginFooter(fixedElement) { @@ -152,17 +152,17 @@ function reMarginFooter(fixedElement) {
152 152
153 //未登录 153 //未登录
154 $op.prepend( 154 $op.prepend(
155 - '<a href="http://m.yohobuy.com/signin.html?refer=' + location.href + '">登录</a>' + 155 + '<a href="//m.yohobuy.com/signin.html?refer=' + location.href + '">登录</a>' +
156 '<span class="sep-line">|</span>' + 156 '<span class="sep-line">|</span>' +
157 - '<a href="http://m.yohobuy.com/reg.html">注册</a>' 157 + '<a href="//m.yohobuy.com/reg.html">注册</a>'
158 ); 158 );
159 } else { 159 } else {
160 160
161 //已登录 161 //已登录
162 $op.prepend( 162 $op.prepend(
163 '<span>Hi,</span>' + 163 '<span>Hi,</span>' +
164 - '<a class="user-name" href="http://m.yohobuy.com/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +  
165 - '<a href="http://m.yohobuy.com/passport/signout/index?token=' + user[3] + '">退出</a>' 164 + '<a class="user-name" href="//m.yohobuy.com/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +
  165 + '<a href="//m.yohobuy.com/passport/signout/index?token=' + user[3] + '">退出</a>'
166 ); 166 );
167 } 167 }
168 168
@@ -191,7 +191,7 @@ function reMarginFooter(fixedElement) { @@ -191,7 +191,7 @@ function reMarginFooter(fixedElement) {
191 a.async = 1; 191 a.async = 1;
192 a.src = j; 192 a.src = j;
193 m.parentNode.insertBefore(a, m); 193 m.parentNode.insertBefore(a, m);
194 -})(window, document, 'script', 'http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js', '_yas'); 194 +})(window, document, 'script', '//cdn.yoho.cn/yas-jssdk/1.0.14/yas.js', '_yas');
195 195
196 (function() { 196 (function() {
197 var uid = getUid(); 197 var uid = getUid();
@@ -23,71 +23,71 @@ @@ -23,71 +23,71 @@
23 </head> 23 </head>
24 <body> 24 <body>
25 <div id="wrapper"> 25 <div id="wrapper">
26 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/01.jpg">  
27 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/02.jpg">  
28 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/03.jpg"> 26 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/01.jpg">
  27 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/02.jpg">
  28 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/03.jpg">
29 <div class="img-box"> 29 <div class="img-box">
30 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/04.jpg"> 30 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/04.jpg">
31 <a class="href href-right" href="{{url_yohope}}"></a> 31 <a class="href href-right" href="{{url_yohope}}"></a>
32 </div> 32 </div>
33 - <a href="{{url_mycoupon}}"><img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/05.jpg"></a>  
34 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/06.jpg">  
35 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/07.jpg"> 33 + <a href="{{url_mycoupon}}"><img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/05.jpg"></a>
  34 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/06.jpg">
  35 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/07.jpg">
36 <div class="img-box"> 36 <div class="img-box">
37 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/08.jpg"> 37 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/08.jpg">
38 <a class="href href-left" href="{{url_60}}"></a> 38 <a class="href href-left" href="{{url_60}}"></a>
39 <a class="href href-right" href="{{url_710}}"></a> 39 <a class="href href-right" href="{{url_710}}"></a>
40 </div> 40 </div>
41 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg"> 41 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
42 <div class="img-box"> 42 <div class="img-box">
43 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/09.jpg"> 43 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/09.jpg">
44 <a class="href href-left" href="{{url_138}}"></a> 44 <a class="href href-left" href="{{url_138}}"></a>
45 <a class="href href-right" href="{{url_495}}"></a> 45 <a class="href href-right" href="{{url_495}}"></a>
46 </div> 46 </div>
47 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg"> 47 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
48 <div class="img-box"> 48 <div class="img-box">
49 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/10.jpg"> 49 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/10.jpg">
50 <a class="href href-left" href="{{url_419}}"></a> 50 <a class="href href-left" href="{{url_419}}"></a>
51 <a class="href href-right" href="{{url_868}}"></a> 51 <a class="href href-right" href="{{url_868}}"></a>
52 </div> 52 </div>
53 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg"> 53 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
54 <div class="img-box"> 54 <div class="img-box">
55 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/11.jpg"> 55 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/11.jpg">
56 <a class="href href-left" href="{{url_1026}}"></a> 56 <a class="href href-left" href="{{url_1026}}"></a>
57 <a class="href href-right" href="{{url_1027}}"></a> 57 <a class="href href-right" href="{{url_1027}}"></a>
58 </div> 58 </div>
59 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg"> 59 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
60 <div class="img-box"> 60 <div class="img-box">
61 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/12.jpg"> 61 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/12.jpg">
62 <a class="href href-left" href="{{url_324}}"></a> 62 <a class="href href-left" href="{{url_324}}"></a>
63 <a class="href href-right" href="{{url_649}}"></a> 63 <a class="href href-right" href="{{url_649}}"></a>
64 </div> 64 </div>
65 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg"> 65 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
66 <div class="img-box"> 66 <div class="img-box">
67 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/13.jpg"> 67 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/13.jpg">
68 <a class="href href-left" href="{{url_more}}"></a> 68 <a class="href href-left" href="{{url_more}}"></a>
69 </div> 69 </div>
70 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">  
71 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/14.jpg">  
72 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg"> 70 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
  71 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/14.jpg">
  72 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
73 <div class="img-box"> 73 <div class="img-box">
74 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/15.jpg"> 74 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/15.jpg">
75 <a class="href-click" id="get-all-coupon" href="{{jumpUrl}}"></a> 75 <a class="href-click" id="get-all-coupon" href="{{jumpUrl}}"></a>
76 </div> 76 </div>
77 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">  
78 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/16.jpg">  
79 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/17.jpg">  
80 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/18.jpg"> 77 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
  78 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/16.jpg">
  79 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/17.jpg">
  80 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/18.jpg">
81 <div class="img-box"> 81 <div class="img-box">
82 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/19.jpg"> 82 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/19.jpg">
83 <a href="{{url_help}}" class="show-more"></a> 83 <a href="{{url_help}}" class="show-more"></a>
84 </div> 84 </div>
85 - <img class="lazy" data-original="http://static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg"> 85 + <img class="lazy" data-original="//static.buy.test.yoho.cn/img/cuxiao/newuser/00.jpg">
86 </div> 86 </div>
87 <div id="coupon-container" param="{{activityId}}"></div> 87 <div id="coupon-container" param="{{activityId}}"></div>
88 - <script src="http://static.buy.test.yoho.cn/js/cuxiao/jquery.min.js"></script>  
89 - <script src="http://static.buy.test.yoho.cn/js/cuxiao/jquery.lazyload.js"></script>  
90 - <script src="http://static.buy.test.yoho.cn/js/cuxiao/151201/coupon.mobile.js"></script> 88 + <script src="//static.buy.test.yoho.cn/js/cuxiao/jquery.min.js"></script>
  89 + <script src="//static.buy.test.yoho.cn/js/cuxiao/jquery.lazyload.js"></script>
  90 + <script src="//static.buy.test.yoho.cn/js/cuxiao/151201/coupon.mobile.js"></script>
91 <script> 91 <script>
92 $(function() { 92 $(function() {
93 $("img.lazy").lazyload({ 93 $("img.lazy").lazyload({
@@ -112,7 +112,7 @@ @@ -112,7 +112,7 @@
112 {{/ orderDetail}} 112 {{/ orderDetail}}
113 </div> 113 </div>
114 <script>_ozprm = "orderid={{orderCode}}&ordertotal={{orderTotal}}";</script> 114 <script>_ozprm = "orderid={{orderCode}}&ordertotal={{orderTotal}}";</script>
115 -<script type="text/javascript" src="http://static.yohobuy.com/m/v1/js/AG_Tracking.js"></script> 115 +<script type="text/javascript" src="//static.yohobuy.com/m/v1/js/AG_Tracking.js"></script>
116 <script type="text/javascript"> 116 <script type="text/javascript">
117 var _agq = _agq || []; 117 var _agq = _agq || [];
118 _agq.push(['_cid', '415']); //生成value 118 _agq.push(['_cid', '415']); //生成value
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 </div> 33 </div>
34 </div> 34 </div>
35 <script>_ozprm="orderid={{orderCode}}&ordertotal={{orderTotal}}";</script> 35 <script>_ozprm="orderid={{orderCode}}&ordertotal={{orderTotal}}";</script>
36 -<script type="text/javascript" src ="http://static.yohobuy.com/m/v1/js/AG_Tracking.js"></script> 36 +<script type="text/javascript" src ="//static.yohobuy.com/m/v1/js/AG_Tracking.js"></script>
37 <script type="text/javascript"> 37 <script type="text/javascript">
38 var _agq = _agq || []; 38 var _agq = _agq || [];
39 _agq.push(['_cid', '415']); //生成value 39 _agq.push(['_cid', '415']); //生成value
@@ -30,7 +30,7 @@ @@ -30,7 +30,7 @@
30 })(); 30 })();
31 (function() { 31 (function() {
32 var hm = document.createElement("script"); 32 var hm = document.createElement("script");
33 - hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; 33 + hm.src = "//static.yohobuy.com/js/analytics/analysis.js";
34 hm.async = 1; 34 hm.async = 1;
35 var s = document.getElementsByTagName("script")[0]; 35 var s = document.getElementsByTagName("script")[0];
36 s.parentNode.insertBefore(hm, s); 36 s.parentNode.insertBefore(hm, s);
@@ -52,4 +52,4 @@ @@ -52,4 +52,4 @@
52 var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); 52 var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h);
53 }(document); 53 }(document);
54 </script> 54 </script>
55 -<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>  
  55 +<script src="//static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 <i class="close-icon iconfont">&#xe623;</i> 8 <i class="close-icon iconfont">&#xe623;</i>
9 <div class="circle-rightbottom"></div> 9 <div class="circle-rightbottom"></div>
10 </a> 10 </a>
11 - <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> 11 + <a href="//a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn">
12 立即下载 12 立即下载
13 </a> 13 </a>
14 </div> 14 </div>
1 {{> layout/page_footer}} 1 {{> layout/page_footer}}
2 {{> layout/download_app}} 2 {{> layout/download_app}}
3 {{#if hasWxShare}} 3 {{#if hasWxShare}}
4 -<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> 4 +<script type="text/javascript" charset="utf-8" src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
5 {{/if}} 5 {{/if}}
6 {{#if rlsEnv}} 6 {{#if rlsEnv}}
7 -<script src="http://cdn.yoho.cn/myohobuy/{{version}}/lib.js"></script>  
8 -<script src="http://cdn.yoho.cn/myohobuy/{{version}}/index.js"></script> 7 +<script src="//cdn.yoho.cn/myohobuy/{{version}}/lib.js"></script>
  8 +<script src="//cdn.yoho.cn/myohobuy/{{version}}/index.js"></script>
9 {{/if}} 9 {{/if}}
10 {{#if preEnv}} 10 {{#if preEnv}}
11 -<script src="http://cdn.yoho.cn/myohobuy/{{version}}/lib.js"></script>  
12 -<script src="http://cdn.yoho.cn/myohobuy/{{version}}/index.js"></script> 11 +<script src="//cdn.yoho.cn/myohobuy/{{version}}/lib.js"></script>
  12 +<script src="//cdn.yoho.cn/myohobuy/{{version}}/index.js"></script>
13 {{/if}} 13 {{/if}}
14 {{#if testEnv}} 14 {{#if testEnv}}
15 -<script src="http://cdn.yoho.cn/myohobuy/{{version}}/lib.js"></script>  
16 -<script src="http://cdn.yoho.cn/myohobuy/{{version}}/index-debug.js"></script> 15 +<script src="//cdn.yoho.cn/myohobuy/{{version}}/lib.js"></script>
  16 +<script src="//cdn.yoho.cn/myohobuy/{{version}}/index-debug.js"></script>
17 {{/if}} 17 {{/if}}
18 {{#if devEnv}} 18 {{#if devEnv}}
19 -<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>  
20 -<script>seajs.config({base: 'http://localhost:8000/'});</script> 19 +<script src="//localhost:8000/static/js/sea.js?nowrap"></script>
  20 +<script>seajs.config({base: '//localhost:8000/'});</script>
21 {{/if}} 21 {{/if}}
22 {{> layout/use}} 22 {{> layout/use}}
23 {{> layout/analysis}} 23 {{> layout/analysis}}
@@ -16,8 +16,8 @@ @@ -16,8 +16,8 @@
16 <script src="/dist/myohobuy/{{version}}/index-debug.js"></script> 16 <script src="/dist/myohobuy/{{version}}/index-debug.js"></script>
17 {{/if}} 17 {{/if}}
18 {{#if devEnv}} 18 {{#if devEnv}}
19 -<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>  
20 -<script>seajs.config({base: 'http://localhost:8000/'});</script> 19 +<script src="//localhost:8000/static/js/sea.js?nowrap"></script>
  20 +<script>seajs.config({base: '//localhost:8000/'});</script>
21 {{/if}} 21 {{/if}}
22 {{> layout/use}} 22 {{> layout/use}}
23 {{> layout/analysis_passport}} 23 {{> layout/analysis_passport}}
@@ -27,20 +27,20 @@ @@ -27,20 +27,20 @@
27 <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> 27 <link rel="dns-prefetch" href="//img12.static.yhbimg.com">
28 <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> 28 <link rel="dns-prefetch" href="//img13.static.yhbimg.com">
29 {{#if rlsEnv}} 29 {{#if rlsEnv}}
30 -<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/{{version}}/index.css"> 30 +<link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/{{version}}/index.css">
31 {{/if}} 31 {{/if}}
32 {{#if preEnv}} 32 {{#if preEnv}}
33 -<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/{{version}}/index.css"> 33 +<link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/{{version}}/index.css">
34 {{/if}} 34 {{/if}}
35 {{#if testEnv}} 35 {{#if testEnv}}
36 -<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/{{version}}/index.css"> 36 +<link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/{{version}}/index.css">
37 {{/if}} 37 {{/if}}
38 {{#if devEnv}} 38 {{#if devEnv}}
39 -<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> 39 +<link rel="stylesheet" href="//static.dev.yohobuy.com/css/index.css">
40 {{/if}} 40 {{/if}}
41 -<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">  
42 -<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">  
43 -<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> 41 +<link rel="apple-touch-icon-precomposed" href="//static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
  42 +<link rel="apple-touch-startup-image" sizes="640x920" href="//static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
  43 +<link rel="apple-touch-startup-image" sizes="320x460" href="//static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
44 </head> 44 </head>
45 <body {{#if isPassportPage}}class=passport-body{{/if}}> 45 <body {{#if isPassportPage}}class=passport-body{{/if}}>
46 {{#if systemUpdate}} 46 {{#if systemUpdate}}
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 <link rel="stylesheet" href="/dist/myohobuy/{{version}}/index.css"> 36 <link rel="stylesheet" href="/dist/myohobuy/{{version}}/index.css">
37 {{/if}} 37 {{/if}}
38 {{#if devEnv}} 38 {{#if devEnv}}
39 -<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> 39 +<link rel="stylesheet" href="//static.dev.yohobuy.com/css/index.css">
40 {{/if}} 40 {{/if}}
41 </head> 41 </head>
42 <body {{#if isPassportPage}}class=passport-body{{/if}}> 42 <body {{#if isPassportPage}}class=passport-body{{/if}}>