Authored by 郝肖肖

error 页面 http替换

... ... @@ -27,9 +27,9 @@
<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
<link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/1.3.16/index.css">
<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<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)">
<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)">
<link rel="apple-touch-icon-precomposed" href="//static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<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)">
<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)">
</head>
<body >
<header id="yoho-header" class="yoho-header boys">
... ... @@ -90,13 +90,13 @@
<i class="close-icon iconfont">&#xe623;</i>
<div class="circle-rightbottom"></div>
</a>
<a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn">
<a href="//a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn">
立即下载
</a>
</div>
<script src="http://cdn.yoho.cn/myohobuy/1.3.16/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/1.3.16/index.js"></script>
<script src="//cdn.yoho.cn/myohobuy/1.3.16/lib.js"></script>
<script src="//cdn.yoho.cn/myohobuy/1.3.16/index.js"></script>
<script type="text/javascript">
(function(w,d,s,j,f){
... ... @@ -107,7 +107,7 @@
a.async=1;
a.src=j;
m.parentNode.insertBefore(a,m);
})(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js','_yas');
})(window,document,'script','//cdn.yoho.cn/yas-jssdk/1.0.14/yas.js','_yas');
</script>
<script>
seajs.use('js/common');
... ... @@ -123,5 +123,5 @@
})(window,document,'script','dataLayer','GTM-W958MG');
</script>
<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>
<script src="//static.yohobuy.com/js/analytics/analysis.js"></script>
</html>
\ No newline at end of file
... ...
... ... @@ -27,9 +27,9 @@
<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
<link rel="stylesheet" href="//cdn.yoho.cn/myohobuy/1.3.16/index.css">
<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<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)">
<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)">
<link rel="apple-touch-icon-precomposed" href="//static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<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)">
<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)">
</head>
<body class=passport-body>
<div class="login-page passport-page yoho-page">
... ...
... ... @@ -73,7 +73,7 @@ class Helpers
*/
public static function getFilterUrl($url)
{
$url = strtr($url, array('.m.yohobuy.com' => SUB_DOMAIN, OLD_MAIN => SITE_MAIN, 'www.yohobuy.com' => SITE_MAIN));
$url = strtr($url, array('.m.yohobuy.com' => SUB_DOMAIN, OLD_MAIN => SITE_MAIN, 'www.yohobuy.com' => SITE_MAIN, 'http://' => '//'));
$filter = strstr($url, 'openby:yohobuy=', true);
if ($filter) {
return rtrim(rtrim($filter, '?'), '&');
... ...
... ... @@ -133,7 +133,7 @@ class CommentModel
$result['count'] = $total;
$result['curPage'] = $page;
$result['totalPages'] = $totalPage;
$result['pagerHtml'] = HelperSearch::pager($total, $limit);;
$result['pagerHtml'] = HelperSearch::pager($total, $limit);
}
return $result;
}
... ...
... ... @@ -49,7 +49,7 @@ class ReturnsModel
$param = array(
'id' => $value['id']
);
$list[$key]['moreHref'] = helpers::url($uri,$param);
$list[$key]['moreHref'] = Helpers::url($uri,$param);
$list[$key]['goods'] = self::getGoodsData($value['goods']);
}
}else{
... ...
... ... @@ -15,11 +15,11 @@ class exchangeController extends WebAction{
$data = array(
'path' => array(
array(
'href' => 'www.yohobuy.com',
'href' => '//www.yohobuy.com',
'name' => 'YOHO!有货首页'
),
array(
'href' => 'www.yohobuy.com/home',
'href' => '//www.yohobuy.com/home',
'name' => '个人中心'
),
array(
... ...
... ... @@ -23,11 +23,11 @@ class RefundController extends WebAction
$data = array(
'path' => array(
array(
'href' => 'www.yohobuy.com',
'href' => '//www.yohobuy.com',
'name' => 'YOHO!有货首页'
),
array(
'href' => 'www.yohobuy.com/home',
'href' => '//www.yohobuy.com/home',
'name' => '个人中心'
),
array(
... ... @@ -83,11 +83,11 @@ class RefundController extends WebAction
$data = array(
'path' => array(
array(
'href' => 'www.yohobuy.com',
'href' => '//www.yohobuy.com',
'name' => 'YOHO!有货首页'
),
array(
'href' => 'www.yohobuy.com/home',
'href' => '//www.yohobuy.com/home',
'name' => '个人中心'
),
array(
... ...
... ... @@ -159,8 +159,8 @@ class BackController extends WebAction
$this->setSimpleHeader();
$data = array(
'sendEmail' => array(
'coverHref' => $banner ['url'],
'coverImg' => $banner ['img'],
'coverHref' => $banner['url'],
'coverImg' => $banner['img'],
'countrys' => array(),
'email' => $emailUrl
)
... ...