Authored by hf

do home select channel

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>YOHO!有货</title>
<meta name="keywords" content="Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款">
<meta name="description" content="YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta http-equiv="cleartype" content="on">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta content="telephone=no" name="format-detection" />
<meta content="email=no" name="format-detection" />
<script type="text/javascript">
(function (doc, win) {
var docEl = doc.documentElement;
(function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) {
return;
}
docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
}());
})(document, window);
</script>
<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
</head>
<body >
<div class="index-page yoho-page">
<div class="index-container">
<div class="index-channel">
<img class="img" src="http://img11.static.yhbimg.com/yhb-img01/2015/10/11/10/018454ab5cb742522f5e667c00a95f737c.jpg?imageView/1/w/640/h/800" alt="">
<div class="index-channel-list">
<a href="/boys"><img class="homestyle" src="http://img10.static.yhbimg.com/adpic/2015/09/28/18/01bdbd27952eb5f780ac23641e70fd6e12.png"></a>
<a href="/girls"><img class="homestyle" src="http://img13.static.yhbimg.com/adpic/2015/09/28/18/025a4056cad1c2b6704a5d7c83066a2d25.png"></a>
</div>
</div>
</div>
</div>
<footer class="yoho-footer">
<p class="op-row">
<a href="/signin.html">登录</a>
<span class="sep-line">|</span>
<a href="/login.html">注册</a>
<span class="back-to-top">
Back to top
<i class="iconfont">&#xe608;</i>
</span>
</p>
<address class="copyright">
CopyRight©2007-2016 南京新与力文化传播有限公司
</address>
</footer>
<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
<script>
seajs.config({
base: 'http://localhost:8000/'
});
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>国际账号登录 | YOHO!有货</title>
<meta name="keywords" content="Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款">
<meta name="description" content="YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta http-equiv="cleartype" content="on">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta content="telephone=no" name="format-detection" />
<meta content="email=no" name="format-detection" />
<script type="text/javascript">
(function (doc, win) {
var docEl = doc.documentElement;
(function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) {
return;
}
docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
}());
})(document, window);
</script>
<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
</head>
<body class=passport-body>
<div class="login-interational-page passport-page yoho-page">
<div class="header">
<a class="go-back" href=/></a>
<p class="title">登录</p>
</div> <div class="content">
<div class="select-container row">
<span class="select-title">国家和地区</span>
<select id="country-select" class="country-select select in-android-uc">
<option value=+61 >澳大利亚</option>
<option value=+82 >韩国</option>
<option value=+1 >加拿大</option>
<option value=+60 >马来西亚</option>
<option value=+1 >美国</option>
<option value=+81 >日本</option>
<option value=+65 >新加坡</option>
<option value=+44 >英国</option>
<option value=+86 selected>中国</option>
<option value=+853 >中国澳门</option>
<option value=+886 >中国台湾</option>
<option value=+852 >中国香港</option>
</select>
<div class="arrow-right"></div>
</div> <div class="input-container phone-container row has-clear">
<span id="area-code" class="area-code">+86</span>
<input id="phone-num" class="input phone-num" type="text" placeholder="手机号" value=>
</div>
<div class="input-container row has-eye">
<input id="pwd" class="pwd input" type="password" placeholder="密码">
</div>
<span id="btn-login" class="btn btn-login disble row">登录</span>
</div>
</div>
<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
<script>
seajs.config({
base: 'http://localhost:8000/'
});
</script>
<script>
seajs.use('js/passport/login/interational');
</script>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -2,9 +2,9 @@
<html>
<head>
<meta charset="utf-8">
<title>登录</title>
<meta name="keywords" content="">
<meta name="description" content="">
<title>登录 | YOHO!有货</title>
<meta name="keywords" content="Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款">
<meta name="description" content="YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta http-equiv="cleartype" content="on">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
... ... @@ -22,18 +22,13 @@
}());
})(document, window);
</script>
<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
</head>
<body class=passport-body>
<div class="login-page passport-page yoho-page">
<div class="header">
<a class="go-back" href=/>
<img src="http://static.dev.yohobuy.com/img/passport/go-back.png">
</a>
<img class="img-header" src="http://static.dev.yohobuy.com/img/passport/yoho-family.png">
<a class="go-back" href=/></a>
<div class="img-header"></div>
</div> <div class="content">
<div class="acc-container input-container row has-clear">
<div class="yoho-logo"></div>
... ... @@ -74,8 +69,6 @@
</ul>
</div>
</div>
<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
<script>
seajs.config({
... ... @@ -91,5 +84,6 @@
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -262,16 +262,16 @@ class AbstractAction extends Controller_Abstract
$header = array();
if (!empty($backUrl)) {
$header['pageHeader']['navBack'] = $backUrl;
$header['navBack'] = $backUrl;
}
if (!empty($title)) {
$header['pageHeader']['navTitle'] = $title;
$header['navTitle'] = $title;
}
if (!empty($homeUrl)) {
$header['pageHeader']['navHome'] = $homeUrl;
$header['navHome'] = $homeUrl;
}
$this->_view->assign('header', $header);
$this->_view->assign('pageHeader', $header);
}
/**
... ... @@ -285,19 +285,19 @@ class AbstractAction extends Controller_Abstract
// 已登录 @todo
if (false) {
$footer['pageFooter']['user'] = array();
$footer['pageFooter']['user']['name'] = 'goodboy'; // 昵称
$footer['pageFooter']['user']['url'] = ''; // 个人中心链接
$footer['pageFooter']['user']['signoutUrl'] = ''; // 登出链接
$footer['user'] = array();
$footer['user']['name'] = 'goodboy'; // 昵称
$footer['user']['url'] = ''; // 个人中心链接
$footer['user']['signoutUrl'] = ''; // 登出链接
}
// 未登录
else {
$footer['pageFooter'] = array();
$footer['pageFooter']['loginUrl'] = '/signin.html'; // 登录链接
$footer['pageFooter']['signupUrl'] = '/login.html'; // 注册链接
$footer = array();
$footer['loginUrl'] = '/signin.html'; // 登录链接
$footer['signupUrl'] = '/login.html'; // 注册链接
}
$this->_view->assign('footer', $footer);
$this->_view->assign('pageFooter', $footer);
}
/**
... ...
... ... @@ -7,8 +7,8 @@
<div class="index-channel">
<img class="img" src="{{background}}" alt="">
<div class="index-channel-list">
<a href="http://new.m.yohobuy.com/"><img class="homestyle" src="http://img10.static.yhbimg.com/adpic/2015/09/28/18/01bdbd27952eb5f780ac23641e70fd6e12.png"></a>
<a href="http://new.m.yohobuy.com/girl"><img class="homestyle" src="http://img13.static.yhbimg.com/adpic/2015/09/28/18/025a4056cad1c2b6704a5d7c83066a2d25.png"></a>
<a href="/boys"><img class="homestyle" src="http://img10.static.yhbimg.com/adpic/2015/09/28/18/01bdbd27952eb5f780ac23641e70fd6e12.png"></a>
<a href="/girls"><img class="homestyle" src="http://img13.static.yhbimg.com/adpic/2015/09/28/18/025a4056cad1c2b6704a5d7c83066a2d25.png"></a>
</div>
</div>
... ...
{{> layout/page_footer}}
{{#if rlsEnv}}
<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/{{version}}/lib.js">
<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/{{version}}/index.js">
<script src="http://static.wap.yohobuy.com/js/sea.js"></script>
<script>seajs.config({base:'http://static.wap.yohobuy.com/'});</script>
{{/if}}
{{#if rlsEnv}}
{{#if testEnv}}
<script src="http://cdn.yoho.cn/myohobuy/{{version}}/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/{{version}}/index.js"></script>
{{/if}}
{{#if devEnv}}
<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
<script>
... ...
... ... @@ -23,10 +23,10 @@
})(document, window);
</script>
{{#if rlsEnv}}
<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/{{version}}/index.css">
<link rel="stylesheet" href="http://static.wap.yohobuy.com/css/index.css">
{{/if}}
{{#if testEnv}}
<link rel="stylesheet" href="http://static.wap.yohobuy.com/css/index.css">
<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/{{version}}/index.css">
{{/if}}
{{#if devEnv}}
<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
... ...
... ... @@ -30,6 +30,8 @@ class BoysController extends AbstractAction
$data['content'] = FloorProcess::getContent($channelData['data']);
}
$data['maybeLike'] = true;
$this->_view->display('index', $data);
}
... ...
... ... @@ -30,6 +30,8 @@ class GirlsController extends AbstractAction
$data['content'] = FloorProcess::getContent($channelData['data'], 2);
}
$data['maybeLike'] = true;
$this->_view->display('index', $data);
}
... ...
... ... @@ -23,7 +23,6 @@ class IndexController extends AbstractAction
$data['background'] = Helpers::getImageUrl($banner, 640, 800, 1);
}
<<<<<<< HEAD
// 设置底部导航信息
$this->setNavFooter();
... ... @@ -31,12 +30,6 @@ class IndexController extends AbstractAction
$this->_view->html('index');
// 渲染模板
=======
//echo '<pre>';
//print_r($data);exit;
$this->_view->assign('title', 'YOHO!有货');
>>>>>>> 5df4e9e0657a496745f843a30aa8932a8fe7ce1f
$this->_view->display('index', $data);
}
... ...
... ... @@ -30,6 +30,8 @@ class KidsController extends AbstractAction
$data['content'] = FloorProcess::getContent($channelData['data'], 3);
}
$data['maybeLike'] = true;
$this->_view->display('index', $data);
}
... ...
... ... @@ -30,6 +30,8 @@ class LifestyleController extends AbstractAction
$data['content'] = FloorProcess::getContent($channelData['data'], 4);
}
$data['maybeLike'] = true;
$this->_view->display('index', $data);
}
... ...
... ... @@ -20,10 +20,10 @@ class RecomController extends AbstractAction
public function maylikeAction()
{
do {
// /* 判断是否是AJAX请求 */
// if (!$this->isAjax()) {
// break;
// }
/* 判断是否是AJAX请求 */
if (!$this->isAjax()) {
break;
}
/* 判断分页参数是否有效 */
$page = $this->get('page', 1);
... ...