Showing
8 changed files
with
22 additions
and
22 deletions
@@ -27,9 +27,9 @@ | @@ -27,9 +27,9 @@ | ||
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 | <link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/1.3.16/index.css"> | 29 | <link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/1.3.16/index.css"> |
30 | - <link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
31 | - <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)"> | ||
32 | - <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)"> | 30 | + <link rel="apple-touch-icon-precomposed" href="//static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> |
31 | + <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)"> | ||
32 | + <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)"> | ||
33 | </head> | 33 | </head> |
34 | <body > | 34 | <body > |
35 | <header id="yoho-header" class="yoho-header boys"> | 35 | <header id="yoho-header" class="yoho-header boys"> |
@@ -90,13 +90,13 @@ | @@ -90,13 +90,13 @@ | ||
90 | <i class="close-icon iconfont"></i> | 90 | <i class="close-icon iconfont"></i> |
91 | <div class="circle-rightbottom"></div> | 91 | <div class="circle-rightbottom"></div> |
92 | </a> | 92 | </a> |
93 | - <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> | 93 | + <a href="//a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> |
94 | 立即下载 | 94 | 立即下载 |
95 | </a> | 95 | </a> |
96 | </div> | 96 | </div> |
97 | 97 | ||
98 | -<script src="http://cdn.yoho.cn/myohobuy/1.3.16/lib.js"></script> | ||
99 | -<script src="http://cdn.yoho.cn/myohobuy/1.3.16/index.js"></script> | 98 | +<script src="//cdn.yoho.cn/myohobuy/1.3.16/lib.js"></script> |
99 | +<script src="//cdn.yoho.cn/myohobuy/1.3.16/index.js"></script> | ||
100 | 100 | ||
101 | <script type="text/javascript"> | 101 | <script type="text/javascript"> |
102 | (function(w,d,s,j,f){ | 102 | (function(w,d,s,j,f){ |
@@ -107,7 +107,7 @@ | @@ -107,7 +107,7 @@ | ||
107 | a.async=1; | 107 | a.async=1; |
108 | a.src=j; | 108 | a.src=j; |
109 | m.parentNode.insertBefore(a,m); | 109 | m.parentNode.insertBefore(a,m); |
110 | - })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js','_yas'); | 110 | + })(window,document,'script','//cdn.yoho.cn/yas-jssdk/1.0.14/yas.js','_yas'); |
111 | </script> | 111 | </script> |
112 | <script> | 112 | <script> |
113 | seajs.use('js/common'); | 113 | seajs.use('js/common'); |
@@ -123,5 +123,5 @@ | @@ -123,5 +123,5 @@ | ||
123 | })(window,document,'script','dataLayer','GTM-W958MG'); | 123 | })(window,document,'script','dataLayer','GTM-W958MG'); |
124 | </script> | 124 | </script> |
125 | 125 | ||
126 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | 126 | +<script src="//static.yohobuy.com/js/analytics/analysis.js"></script> |
127 | </html> | 127 | </html> |
@@ -27,9 +27,9 @@ | @@ -27,9 +27,9 @@ | ||
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 | <link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/1.3.16/index.css"> | 29 | <link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/1.3.16/index.css"> |
30 | - <link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
31 | - <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)"> | ||
32 | - <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)"> | 30 | + <link rel="apple-touch-icon-precomposed" href="//static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> |
31 | + <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)"> | ||
32 | + <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)"> | ||
33 | </head> | 33 | </head> |
34 | <body class=passport-body> | 34 | <body class=passport-body> |
35 | <div class="login-page passport-page yoho-page"> | 35 | <div class="login-page passport-page yoho-page"> |
@@ -73,7 +73,7 @@ class Helpers | @@ -73,7 +73,7 @@ class Helpers | ||
73 | */ | 73 | */ |
74 | public static function getFilterUrl($url) | 74 | public static function getFilterUrl($url) |
75 | { | 75 | { |
76 | - $url = strtr($url, array('.m.yohobuy.com' => SUB_DOMAIN, OLD_MAIN => SITE_MAIN, 'www.yohobuy.com' => SITE_MAIN)); | 76 | + $url = strtr($url, array('.m.yohobuy.com' => SUB_DOMAIN, OLD_MAIN => SITE_MAIN, 'www.yohobuy.com' => SITE_MAIN, 'http://' => '//')); |
77 | $filter = strstr($url, 'openby:yohobuy=', true); | 77 | $filter = strstr($url, 'openby:yohobuy=', true); |
78 | if ($filter) { | 78 | if ($filter) { |
79 | return rtrim(rtrim($filter, '?'), '&'); | 79 | return rtrim(rtrim($filter, '?'), '&'); |
@@ -133,7 +133,7 @@ class CommentModel | @@ -133,7 +133,7 @@ class CommentModel | ||
133 | $result['count'] = $total; | 133 | $result['count'] = $total; |
134 | $result['curPage'] = $page; | 134 | $result['curPage'] = $page; |
135 | $result['totalPages'] = $totalPage; | 135 | $result['totalPages'] = $totalPage; |
136 | - $result['pagerHtml'] = HelperSearch::pager($total, $limit);; | 136 | + $result['pagerHtml'] = HelperSearch::pager($total, $limit); |
137 | } | 137 | } |
138 | return $result; | 138 | return $result; |
139 | } | 139 | } |
@@ -49,7 +49,7 @@ class ReturnsModel | @@ -49,7 +49,7 @@ class ReturnsModel | ||
49 | $param = array( | 49 | $param = array( |
50 | 'id' => $value['id'] | 50 | 'id' => $value['id'] |
51 | ); | 51 | ); |
52 | - $list[$key]['moreHref'] = helpers::url($uri,$param); | 52 | + $list[$key]['moreHref'] = Helpers::url($uri,$param); |
53 | $list[$key]['goods'] = self::getGoodsData($value['goods']); | 53 | $list[$key]['goods'] = self::getGoodsData($value['goods']); |
54 | } | 54 | } |
55 | }else{ | 55 | }else{ |
@@ -15,11 +15,11 @@ class exchangeController extends WebAction{ | @@ -15,11 +15,11 @@ class exchangeController extends WebAction{ | ||
15 | $data = array( | 15 | $data = array( |
16 | 'path' => array( | 16 | 'path' => array( |
17 | array( | 17 | array( |
18 | - 'href' => 'www.yohobuy.com', | 18 | + 'href' => '//www.yohobuy.com', |
19 | 'name' => 'YOHO!有货首页' | 19 | 'name' => 'YOHO!有货首页' |
20 | ), | 20 | ), |
21 | array( | 21 | array( |
22 | - 'href' => 'www.yohobuy.com/home', | 22 | + 'href' => '//www.yohobuy.com/home', |
23 | 'name' => '个人中心' | 23 | 'name' => '个人中心' |
24 | ), | 24 | ), |
25 | array( | 25 | array( |
@@ -23,11 +23,11 @@ class RefundController extends WebAction | @@ -23,11 +23,11 @@ class RefundController extends WebAction | ||
23 | $data = array( | 23 | $data = array( |
24 | 'path' => array( | 24 | 'path' => array( |
25 | array( | 25 | array( |
26 | - 'href' => 'www.yohobuy.com', | 26 | + 'href' => '//www.yohobuy.com', |
27 | 'name' => 'YOHO!有货首页' | 27 | 'name' => 'YOHO!有货首页' |
28 | ), | 28 | ), |
29 | array( | 29 | array( |
30 | - 'href' => 'www.yohobuy.com/home', | 30 | + 'href' => '//www.yohobuy.com/home', |
31 | 'name' => '个人中心' | 31 | 'name' => '个人中心' |
32 | ), | 32 | ), |
33 | array( | 33 | array( |
@@ -83,11 +83,11 @@ class RefundController extends WebAction | @@ -83,11 +83,11 @@ class RefundController extends WebAction | ||
83 | $data = array( | 83 | $data = array( |
84 | 'path' => array( | 84 | 'path' => array( |
85 | array( | 85 | array( |
86 | - 'href' => 'www.yohobuy.com', | 86 | + 'href' => '//www.yohobuy.com', |
87 | 'name' => 'YOHO!有货首页' | 87 | 'name' => 'YOHO!有货首页' |
88 | ), | 88 | ), |
89 | array( | 89 | array( |
90 | - 'href' => 'www.yohobuy.com/home', | 90 | + 'href' => '//www.yohobuy.com/home', |
91 | 'name' => '个人中心' | 91 | 'name' => '个人中心' |
92 | ), | 92 | ), |
93 | array( | 93 | array( |
@@ -159,8 +159,8 @@ class BackController extends WebAction | @@ -159,8 +159,8 @@ class BackController extends WebAction | ||
159 | $this->setSimpleHeader(); | 159 | $this->setSimpleHeader(); |
160 | $data = array( | 160 | $data = array( |
161 | 'sendEmail' => array( | 161 | 'sendEmail' => array( |
162 | - 'coverHref' => $banner ['url'], | ||
163 | - 'coverImg' => $banner ['img'], | 162 | + 'coverHref' => $banner['url'], |
163 | + 'coverImg' => $banner['img'], | ||
164 | 'countrys' => array(), | 164 | 'countrys' => array(), |
165 | 'email' => $emailUrl | 165 | 'email' => $emailUrl |
166 | ) | 166 | ) |
-
Please register or login to post a comment