Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
wangqing
9 years ago
Commit
bcfcec1309dcabdb16167c169552b22afbde275e
2 parents
3aa3889d
2729cbdd
头部js
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
381 additions
and
1079 deletions
compile/www.yohobuy.com/0.0.1/5c2ef6235970755c7871eb72ac395ae4.php
docs/web-data-structure.md
template/www.yohobuy.com/actions/index/boys/index.phtml
template/www.yohobuy.com/partials/index/commodity.phtml
template/www.yohobuy.com/partials/index/floor_header.phtml → template/www.yohobuy.com/partials/index/floor-header.phtml
template/www.yohobuy.com/partials/index/logo_brand.phtml
template/www.yohobuy.com/partials/index/recommend.phtml
template/www.yohobuy.com/partials/index/singlehot.phtml
web-static/js/common.js
web-static/js/common/infiniteLoad.js → web-static/js/common/infinite-load.js
web-static/js/common/linkage-slider.js
web-static/js/common/newArrivls.js → web-static/js/common/new-arrivls.js
web-static/js/common/slider2.js
web-static/js/header.js
web-static/js/home/home.js
web-static/js/product/list.js
web-static/package.json
web-static/sass/home/_index.scss
yohobuy/www.yohobuy.com/application/controllers/Boys.php
compile/www.yohobuy.com/0.0.1/5c2ef6235970755c7871eb72ac395ae4.php
deleted
100644 → 0
View file @
3aa3889
<?php
return
function
(
$in
,
$debugopt
=
1
)
{
$cx
=
array
(
'flags'
=>
array
(
'jstrue'
=>
false
,
'jsobj'
=>
false
,
'spvar'
=>
true
,
'prop'
=>
false
,
'method'
=>
false
,
'mustlok'
=>
true
,
'echo'
=>
false
,
'debug'
=>
$debugopt
,
),
'constants'
=>
array
(),
'helpers'
=>
array
(),
'blockhelpers'
=>
array
(),
'hbhelpers'
=>
array
(),
'partials'
=>
array
(),
'scopes'
=>
array
(),
'sp_vars'
=>
array
(
'root'
=>
$in
),
'lcrun'
=>
'Plugin\LCRun3'
,
);
return
''
.
'<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="renderer" content="webkit">
<link rel="shortcut icon" href="http://www.yohobuy.com/favicon.ico" type="image/x-icon" />
<meta name="keywords" content="'
.
Plugin\LCRun3
::
debug
(
'[keywords]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[keywords]'
,
'v'
,
$cx
,
$in
,
array
(
'keywords'
)))
.
'">
<meta name="description" content="'
.
Plugin\LCRun3
::
debug
(
'[description]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[description]'
,
'v'
,
$cx
,
$in
,
array
(
'description'
)))
.
'">
<title>'
.
Plugin\LCRun3
::
debug
(
'[title]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[title]'
,
'v'
,
$cx
,
$in
,
array
(
'title'
)))
.
'</title>
<!-- [if (gte IE 6)&(lte IE 8)>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css">
</head>
<body>
'
.
''
.
Plugin\LCRun3
::
debug
(
'[headerdata]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[headerdata]'
,
'v'
,
$cx
,
$in
,
array
(
'headerdata'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
'<div class="yoho-header">
<div class="header-topwrapper clearfix">
<div class="header-top">
<div class="leftpart float-left">
<span class="icon-hamburger"></span>
<a href="" class="header-yoho" >YOHO!有货</a>
<ul class="yohoproducts-list">
<li class="yohoproducts-item">
<a href="" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a>
</li>
<li class="yohoproducts-item">
<a href="" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a>
</li>
<li class="yohoproducts-item">
<a href="" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a>
</li>
<li class="yohoproducts-item">
<a href="" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a>
</li>
<li class="yohoproducts-item">
<a href="" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a>
</li>
</ul>
</div>
<div class="rightpart">
<div id="loginBox" class="float-left">
<span class="hi">Hi~</span>
<a href="" class="loginbar">[请登录]</a>
<a href="" class="registbar">[免费注册]</a>
</div>
<div class="tag-list-wrapper">
<ul class="tag-list">
<li class="tag-item myyoho" id="myYohoBox">
<span class="tag-seprate"></span>
<a href="">MY有货</a>
<span class="icon-bottomarrow"></span>
<div class="myyoho-info"></div>
</li>
<li class="tag-item myorder">
<span class="tag-seprate"></span>
<span class="icon-papers"></span>
<a href="">我的订单</a>
</li>
<li class="tag-item mycollect">
<span class="tag-seprate"></span>
<span class="icon-heart"></span>
<a href="">我的收藏</a>
</li>
<li class="tag-item message">
<span class="tag-seprate"></span>
<span class="icon-mail"></span>
<a href="">消息</a>
</li>
<li class="tag-item phone">
<span class="tag-seprate"></span>
<span class="icon-iphone"></span>
<a href="">手机版</a>
<div class="qr">
<div class="qr-img"></div>
<h3 class="qr-words">扫描二维码</h3>
<h3 class="qr-words">下载有货手机客户端</h3>
<h3 class="qr-more">更多客户端下载</h3>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="header-navwrapper clearfix">
<div class="header-navcontent">
<ul class="first-nav-list float-left">
'
.
Plugin\LCRun3
::
debug
(
'[navbars]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navbars]'
,
'v'
,
$cx
,
$in
,
array
(
'navbars'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li class="first-nav-item '
.
Plugin\LCRun3
::
debug
(
'[classname]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[classname]'
,
'v'
,
$cx
,
$in
,
array
(
'classname'
)))
.
'">
<h3 class="name-cn">
<a href="'
.
Plugin\LCRun3
::
debug
(
'[link]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[link]'
,
'v'
,
$cx
,
$in
,
array
(
'link'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name_cn]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name_cn]'
,
'v'
,
$cx
,
$in
,
array
(
'name_cn'
)))
.
'</a>
</h3>
<h3 class="name-en">
<a href="'
.
Plugin\LCRun3
::
debug
(
'[link]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[link]'
,
'v'
,
$cx
,
$in
,
array
(
'link'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name_en]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name_en]'
,
'v'
,
$cx
,
$in
,
array
(
'name_en'
)))
.
'</a>
</h3>
<div class=\'sub-nav-wrapper\'>
<ul class="sub-nav-list">
'
.
Plugin\LCRun3
::
debug
(
'[subnav]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[subnav]'
,
'v'
,
$cx
,
$in
,
array
(
'subnav'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li class="sub-nav-item">
<a href="'
.
Plugin\LCRun3
::
debug
(
'[link]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[link]'
,
'v'
,
$cx
,
$in
,
array
(
'link'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</a>
<div class="third-nav-wrapper">
<div class="third-nav">
<div class="categorywrapper" id="category'
.
Plugin\LCRun3
::
debug
(
'../[index_main]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'../[index_main]'
,
'v'
,
$cx
,
$cx
[
'scopes'
][
count
(
$cx
[
'scopes'
])
-
1
],
array
(
'index_main'
)))
.
''
.
Plugin\LCRun3
::
debug
(
'[index_sub]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[index_sub]'
,
'v'
,
$cx
,
$in
,
array
(
'index_sub'
)))
.
'">
<div class="category">
'
.
Plugin\LCRun3
::
debug
(
'[thirdnav]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[thirdnav]'
,
'v'
,
$cx
,
$in
,
array
(
'thirdnav'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div class="thirdnavlist">
<h1 class="category-title thirdnavbar">'
.
Plugin\LCRun3
::
debug
(
'[title]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[title]'
,
'v'
,
$cx
,
$in
,
array
(
'title'
)))
.
'</h1>
<ul class="category-list">
'
.
Plugin\LCRun3
::
debug
(
'[branditems]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[branditems]'
,
'v'
,
$cx
,
$in
,
array
(
'branditems'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li class="category-item thirdnavbar">
<a href="" hot='
.
Plugin\LCRun3
::
debug
(
'[hot]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[hot]'
,
'v'
,
$cx
,
$in
,
array
(
'hot'
)))
.
'>'
.
Plugin\LCRun3
::
debug
(
'[brandname]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[brandname]'
,
'v'
,
$cx
,
$in
,
array
(
'brandname'
)))
.
'</a>
</li>
'
;})
.
' </ul>
</div>
'
;})
.
' </div>
</div>
<div class="showdetail" data-code="220eec926e0d2c48b2f7e36fb9c42b83"><a href="http://list.yohobuy.com/?gender=1,3&msort=8"><img src="http://img12.static.yhbimg.com/yhb-img01/2015/10/30/06/02af834d146e3f00b1f5fcc8388f641922.jpg?imageView/1/w/337/h/250" alt="" style=""></a><a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a></div>
</div>
</div>
</li>
'
;})
.
' </ul>
</div>
</li>
'
;})
.
' </ul>
<div class="icon-logo"></div>
<div class="header-tool float-right">
<div class="search float-left '
.
Plugin\LCRun3
::
debug
(
'[searchcate]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[searchcate]'
,
'v'
,
$cx
,
$in
,
array
(
'searchcate'
)))
.
'" >
<form action="http://search.yohobuy.com" method="get" id="searchForm">
<span class="searchspan">
<input class="searchinput" type="text" name="keyword" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span>
<a class="icon-search" href="javascript:submitSearch();"></a>
<ul class="search-list"></ul>
</form>
</div>
<div class="gobuy float-left '
.
Plugin\LCRun3
::
debug
(
'[gobytype]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[gobytype]'
,
'v'
,
$cx
,
$in
,
array
(
'gobytype'
)))
.
'" id="miniCartBox">
'
.
Plugin\LCRun3
::
debug
(
'[gobuy]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[gobuy]'
,
'v'
,
$cx
,
$in
,
array
(
'gobuy'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <span class="ic-infomation">'
.
Plugin\LCRun3
::
debug
(
'[gobuynum]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[gobuynum]'
,
'v'
,
$cx
,
$in
,
array
(
'gobuynum'
)))
.
'</span>
<div class="gobuy-wrapper"></div>
'
;})
.
' </div>
</div>
</div>
</div>
</div>
<div id="goodcartempwarpper">
<script type="text/html" id="mini-cart-tpl">
<div class="gobuy-notempty">
<div class="goods-list-wrapper">
<ul class="goods-list">
%L~it.cartData.main_goods :v:index%R
<li class="goods-item">
<a href="%L=v.product_url%R">
<img src="%L=v.default_img%R" alt="" class="goods-img" />
</a>
<div class="goods-detail float-left">
<h3 class="content"><a href="%L=v.product_url%R">%L=v.product_name%R</a></h3>
<h3 class="style">
颜色:
<span class="color">%L=v.color_name%R</span>
尺码:
<span class="size">%L=v.size_name%R</span>
</h3>
</div>
<div class="goods-price float-left">
<h3 class="priceandnum">
<span class="price">%L=v.show_price%R</span>
x
<span class="num">%L=v.buy_number%R</span>
</h3>
<a href="javascript:void(0)" class="delete" onclick="delCartGoods(%L=v.goods_incart_id%R,%L=v.is_cheapest_free%R);">删除</a>
</div>
</li>
%L~%R
%L~it.cartData.advance_goods :v:index%R
<li class="goods-item">
<a href="%L=v.product_url%R">
<img src="%L=v.default_img%R" alt="" class="goods-img"></a>
<div class="goods-detail float-left">
<h3 class="content"><a href="%L=v.product_url%R">%L=v.product_name%R</a></h3>
<h3 class="style">
颜色:
<span class="color">%L=v.color_name%R</span>
尺码:
<span class="size">%L=v.size_name%R</span>
</h3>
</div>
<div class="goods-price float-left">
<h3 class="priceandnum">
¥
<span class="price">%L=v.show_price%R</span>
x
<span class="num">%L=v.buy_number%R</span>
</h3>
<a href="javascript:void(0)" class="delete" onclick="delCartGoods(%L=v.goods_incart_id%R,%L=v.is_cheapest_free%R);">删除</a>
</div>
</li>
%L~%R
%L~it.cartData.outlet_goods :v:index%R
<li class="goods-item">
<a href="%L=v.product_url%R">
<img src="%L=v.default_img%R" alt="" class="goods-img"></a>
<div class="goods-detail float-left">
<h3 class="content"><a href="%L=v.product_url%R">%L=v.product_name%R</a></h3>
<h3 class="style">
颜色:
<span class="color">%L=v.color_name%R</span>
尺码:
<span class="size">%L=v.size_name%R</span>
</h3>
</div>
<div class="goods-price float-left">
<h3 class="priceandnum">
¥
<span class="price">%L=v.show_price%R</span>
x
<span class="num">%L=v.buy_number%R</span>
</h3>
<a href="javascript:void(0)" class="delete" onclick="delCartGoods(%L=v.goods_incart_id%R,%L=v.is_cheapest_free%R);">删除</a>
</div>
</li>
%L~%R
%L~it.cartData.gift_goods :v:index%R
<li class="goods-item">
<a href="%L=v.product_url%R">
<img src="%L=v.default_img%R" alt="" class="goods-img"></a>
<div class="goods-detail float-left">
<h3 class="content"><a href="%L=v.product_url%R">%L=v.product_name%R</a></h3>
<h3 class="style">
颜色:
<span class="color">%L=v.color_name%R</span>
尺码:
<span class="size">%L=v.size_name%R</span>
</h3>
</div>
<div class="goods-price float-left">
<h3 class="priceandnum">
¥
<span class="price">%L=v.show_price%R</span>
x
<span class="num">%L=v.buy_number%R</span>
</h3>
<a href="javascript:void(0)" class="delete" onclick="delCartGoods(%L=v.goods_incart_id%R,%L=v.is_cheapest_free%R);">删除</a>
</div>
</li>
%L~%R
%L~it.cartData.need_pay_gifts :v:index%R
<li class="goods-item">
<a href="%L=v.product_url%R">
<img src="%L=v.default_img%R" alt="" class="goods-img"></a>
<div class="goods-detail float-left">
<h3 class="content"><a href="%L=v.product_url%R">%L=v.product_name%R</a></h3>
<h3 class="style">
颜色:
<span class="color">%L=v.color_name%R</span>
尺码:
<span class="size">%L=v.size_name%R</span>
</h3>
</div>
<div class="goods-price float-left">
<h3 class="priceandnum">
¥
<span class="price">%L=v.show_price%R</span>
x
<span class="num">%L=v.buy_number%R</span>
</h3>
<a href="javascript:void(0)" class="delete" onclick="delCartGoods(%L=v.goods_incart_id%R,%L=v.is_cheapest_free%R);">删除</a>
</div>
</li>
%L~%R
</ul>
<ul class="activity-list">
%L? it.cartData.has_promotion == 1%R
<li class="activity-item">
<span class="activity-name">活动</span>
<h3 class="activity-content">
%L? it.cartData.fit_outlet_promotion %R购outlet商品,满¥1999再享9折%L?%R
%L? it.cartData.has_other_promotion == 1 %R<span class="mycart_i_down" title="更多" onclick="dispDom(this, \'mycartmore\');"></span>%L?%R
%L? it.cartData.has_first_promotion == 1 %R%L=it.cartData.first_promotions.promotion_title%R%L?%R
</h3>
</li>
%L?%R
%L? it.cartData.fit_free_shipping == 1%R
<li class="activity-item">
<span class="activity-name">免运费</span>
<h3 class="activity-content">全场满 ¥499免运费</h3>
</li>
%L?%R
</ul>
</div>
<div class="gobuy-notempty-footer">
<h3>
<a href="<?php print QConfigs_Site_Config::$site_url;?>/shopping/cart">去购物车结算</a>
</h3>
</div>
</div>
</script>
<script type="text/html" id="tmpl-my-login-new">
<div class="myyoho-info-header clearfix">
%L? it.head_ico %R
<div class="myyoho-photo" style="display:none;"><img src="" alt="" data-url ="%L=it.head_ico%R"></div>
%L?%R
<h3 class="user-email"><a href="<?php print QConfigs_Site_Config::$site_url?>/home?t=%L=it.random%R">%L=it.profile_name%R</a></h3>
<h3 class="user-level">
VIP:
<span class="leveldetail">%L=it.vip.curVipInfo.title%R</span>
</h3>
%L? it.vip.curVipInfo.curLevel < 3%R
<div class="levelinfo">
<div class="levelwrapper float-left">
<div class="levelspan">
<span class="has">%L=it.vip.curYearCost%R</span>
/
<span class="total">%L=it.vip.nextVipInfo.needCost%R</span>
</div>
<p class="%L? it.vip.curYearCostPer !=0%Rintegrate%L?%R" style="width: %L=it.vip.curYearCostPer%R%;"></p>
</div>
<span class="cardcate float-left">%L=it.vip.nextVipInfo.title%R</span>
</div>
%L?%R
</div>
<ul class="myyoho-info-content">
<li class="item">
<span class="itemdetail float-left">
<a href="<?php print QConfigs_Site_Config::$site_url?>/home/orders?t=<?php print microtime(true);?>">待处理的订单</a>
</span>
<span class="itemnum float-right">%L=it.orderCount%R</span>
</li>
<li class="item">
<span class="itemdetail float-left">
<a href="<?php print QConfigs_Site_Config::$site_url?>/home/favorite?t=<?php print microtime(true);?>">我的收藏</a>
</span>
<span class="itemnum float-right"></span>
</li>
<li class="item">
<span class="itemdetail float-left">
<a href="<?php print QConfigs_Site_Config::$site_url?>/home/coupons?t=<?php print microtime(true);?>">我的优惠券</a>
</span>
<span class="itemnum float-right">%L=it.couponCount%R</span>
</li>
<li class="item">
<span class="itemdetail float-left">
<a href="<?php print QConfigs_Site_Config::$site_url?>/home/currency?t=<?php print microtime(true);?>">我的YOHO币</a>
</span>
<span class="itemnum float-right">%L=it.YohocoinCount%R</span>
</li>
<li class="item">
<span class="itemdetail float-left">
<a href="<?php print QConfigs_Site_Config::$site_url?>/home/returns?t=<?php print microtime(true);?>">我的退货换货</a>
</span>
<span class="itemnum float-right">%L=it.refundCount%R</span>
</li>
</ul>
<div class="myyoho-info-footer">
<a href="<?php print QConfigs_Site_Config::$site_url?>/home/user?t=<?php print microtime(true);?>">完善资料</a>
</div>
</script>
<script type="text/html" id="tmpl-nologin">
<span>Hi~</span>[<a href="<?php print QConfigs_Site_Config::$site_url;?>/signin.html" class="list-a login-out">请登录</a>] [<a href="<?php print QConfigs_Site_Config::$site_url;?>/reg.html" class="list-a login-out" onclick="getSource(\'会员部_注册统计\',\'免费注册\',\'homepage_man\');">免费注册</a>]
</script>
<script type="text/html" id="tmpl-login">
<span>Hi~<a href="<?php print QConfigs_Site_Config::$site_url;?>/home?t=<?php print microtime(true);?>">%L=it.user_name%R</a></span> %L? it.is_login == 1%R[<a href="%L=it.logout%R" class="list-a login-out">退出</a>]%L??%R[<a href="<?php print QConfigs_Site_Config::$site_url;?>/signin.html" class="list-a login-out">请登录</a>] [<a href="<?php print QConfigs_Site_Config::$site_url;?>/reg.html" onclick="getSource(\'会员部_注册统计\',\'免费注册\',\'homepage_man\');" class="list-a login-out">免费注册</a>]%L?%R
</script>
<script type="text/html" id="tmpl-my-noLogin">
<div class="account-login">
<div><a href="<?php print QConfigs_Site_Config::$site_url?>/signin.html" class="button">立即登录</a></div>
<div><span>新用户?</span><a href="<?php print QConfigs_Site_Config::$site_url?>/reg.html" onclick="getSource(\'会员部_注册统计\',\'免费注册\',\'homepage_man\');">[免费注册]</a></div>
</div>
<ul class="home-layer">
<li class="clear"><a href="<?php print QConfigs_Site_Config::$site_url?>/home/orders?t=<?php print microtime(true);?>" class="left">我的订单</a></li>
<li class="clear"><a href="<?php print QConfigs_Site_Config::$site_url?>/home/favorite?t=<?php print microtime(true);?>" class="left">我的收藏</a></li>
<li class="clear"><a href="<?php print QConfigs_Site_Config::$site_url?>/home/coupons?t=<?php print microtime(true);?>" class="left">我的优惠券</a></li>
<li class="clear"><a href="<?php print QConfigs_Site_Config::$site_url?>/home/currency?t=<?php print microtime(true);?>" class="left">我的YOHO币</a></li>
<li class="clear"><a href="<?php print QConfigs_Site_Config::$site_url?>/home/returns?t=<?php print microtime(true);?>" class="left">我的退换货</a></li>
</ul>
</script>
<script type="text/html" id="tmpl-message">
<ul>%L~ it :v:index%R<li><a href="<?php print QConfigs_Site_Config::$site_url;?>/home/message/content?id=%L=v.id%R">%L=v.title%R</a></li>%L~%R</ul>
</script>
</div>
'
;})
.
''
.
''
.
'<div class="home-page yoho-page">
'
.
Plugin\LCRun3
::
debug
(
'[boy]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[boy]'
,
'v'
,
$cx
,
$in
,
array
(
'boy'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div class="slide-container">
'
.
Plugin\LCRun3
::
debug
(
'if [bigSlide]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[bigSlide]'
,
'v'
,
$cx
,
$in
,
array
(
'bigSlide'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <div class="big-slide">
<ul>
'
.
Plugin\LCRun3
::
debug
(
'[bigSlide]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[bigSlide]'
,
'v'
,
$cx
,
$in
,
array
(
'bigSlide'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li>
<a href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">
<img src="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'" alt="">
</a>
</li>
'
;})
.
' </ul>
<div class="slide-switch">
<a class="prev" href="javascript:;">
<span class="iconfont"></span>
</a>
<a class="next" href="javascript:;">
<span class="iconfont"></span>
</a>
</div>
</div>
'
;})
.
'
'
.
Plugin\LCRun3
::
debug
(
'if [smallSlide]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[smallSlide]'
,
'v'
,
$cx
,
$in
,
array
(
'smallSlide'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <div class="small-slide">
<ul class="clearfix">
'
.
Plugin\LCRun3
::
debug
(
'[smallSlide]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[smallSlide]'
,
'v'
,
$cx
,
$in
,
array
(
'smallSlide'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li>
<a href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'"></a>
<img src="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'" alt="">
</li>
'
;})
.
' </ul>
</div>
'
;})
.
' </div>
'
.
Plugin\LCRun3
::
debug
(
'[newReport]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[newReport]'
,
'v'
,
$cx
,
$in
,
array
(
'newReport'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div class="new-report clearfix">
'
.
' <div class="floor-header clearfix">
<h2 class="floor-title">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</h2>
'
.
Plugin\LCRun3
::
debug
(
'if [navs]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <ul class="header-navs">
'
.
Plugin\LCRun3
::
debug
(
'[navs]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li data-classify="'
.
Plugin\LCRun3
::
debug
(
'[id]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[id]'
,
'v'
,
$cx
,
$in
,
array
(
'id'
)))
.
'">
<a target="_blank" href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</a>
</li>
'
;})
.
' </ul>
'
;})
.
' </div>'
.
'
<ul class="report-list clearfix">
'
.
Plugin\LCRun3
::
debug
(
'[list]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[list]'
,
'v'
,
$cx
,
$in
,
array
(
'list'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
Plugin\LCRun3
::
debug
(
'unless @[last]'
,
'unl'
,
$cx
,
Plugin\LCRun3
::
debug
(
'@[last]'
,
'v'
,
$cx
,
$cx
[
'sp_vars'
],
array
(
'last'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <li>
<a href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">
<img src="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'" alt="">
</a>
</li>
'
;})
.
''
;})
.
' </ul>
'
.
Plugin\LCRun3
::
debug
(
'[list]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[list]'
,
'v'
,
$cx
,
$in
,
array
(
'list'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
Plugin\LCRun3
::
debug
(
'if @[last]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'@[last]'
,
'v'
,
$cx
,
$cx
[
'sp_vars'
],
array
(
'last'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <div class="last-item">
<a href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">
<img src="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'" alt="">
</a>
</div>
'
;})
.
''
;})
.
' </div>
'
;})
.
''
.
Plugin\LCRun3
::
debug
(
'[preferenceBrand]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[preferenceBrand]'
,
'v'
,
$cx
,
$in
,
array
(
'preferenceBrand'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div class="preference-brand">
'
.
' <div class="floor-header clearfix">
<h2 class="floor-title">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</h2>
'
.
Plugin\LCRun3
::
debug
(
'if [navs]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <ul class="header-navs">
'
.
Plugin\LCRun3
::
debug
(
'[navs]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li data-classify="'
.
Plugin\LCRun3
::
debug
(
'[id]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[id]'
,
'v'
,
$cx
,
$in
,
array
(
'id'
)))
.
'">
<a target="_blank" href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</a>
</li>
'
;})
.
' </ul>
'
;})
.
' </div>'
.
' <div class="img-brand">
<ul class="img-list clearfix">
'
.
Plugin\LCRun3
::
debug
(
'[imgBrand]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[imgBrand]'
,
'v'
,
$cx
,
$in
,
array
(
'imgBrand'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li class="img-item">
<a href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">
<img src="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'" alt="">
</a>
</li>
'
;})
.
' </ul>
<div class="img-brand-switch">
<a class="prev" href="javascript:;">
<span class="iconfont"></span>
</a>
<a class="next" href="javascript:;">
<span class="iconfont"></span>
</a>
</div>
</div>
<div class="logo-brand">
<ul class="clearfix">
'
.
Plugin\LCRun3
::
debug
(
'[logoBrand]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[logoBrand]'
,
'v'
,
$cx
,
$in
,
array
(
'logoBrand'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
Plugin\LCRun3
::
debug
(
'if [switch]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[switch]'
,
'v'
,
$cx
,
$in
,
array
(
'switch'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <li class="logo-brand-switch">
<a class="prev iconfont" href="javascript:;"></a>
<a class="next iconfont" href="javascript:;"></a>
</li>
'
;},
function
(
$cx
,
$in
)
{
return
''
.
Plugin\LCRun3
::
debug
(
'if [more]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[more]'
,
'v'
,
$cx
,
$in
,
array
(
'more'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <li class="brand-more">
<a href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">MORE ></a>
</li>
'
;},
function
(
$cx
,
$in
)
{
return
' <li>
<a href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">
<img src="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'" alt="">
</a>
</li>
'
;})
.
''
;})
.
''
;})
.
' </ul>
</div>
</div>
'
;})
.
'
'
.
Plugin\LCRun3
::
debug
(
'each [recommend]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[recommend]'
,
'v'
,
$cx
,
$in
,
array
(
'recommend'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
''
.
''
.
Plugin\LCRun3
::
debug
(
'[tplrecommend]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[tplrecommend]'
,
'v'
,
$cx
,
$in
,
array
(
'tplrecommend'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
' <div class="floor-header clearfix">
<h2 class="floor-title">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</h2>
'
.
Plugin\LCRun3
::
debug
(
'if [navs]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <ul class="header-navs">
'
.
Plugin\LCRun3
::
debug
(
'[navs]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li data-classify="'
.
Plugin\LCRun3
::
debug
(
'[id]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[id]'
,
'v'
,
$cx
,
$in
,
array
(
'id'
)))
.
'">
<a target="_blank" href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</a>
</li>
'
;})
.
' </ul>
'
;})
.
' </div>'
.
' <div class="tpl-recommend clearfix">
<div class="tpl-body clearfix">
<div class="tpl-nav">
<div class="tpl-keywords">
'
.
Plugin\LCRun3
::
debug
(
'each [keyword]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[keyword]'
,
'v'
,
$cx
,
$in
,
array
(
'keyword'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
' <a class="keywords'
.
Plugin\LCRun3
::
debug
(
'@[index]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'@[index]'
,
'v'
,
$cx
,
$cx
[
'sp_vars'
],
array
(
'index'
)))
.
'" title="'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'" href="'
.
Plugin\LCRun3
::
debug
(
'[url]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[url]'
,
'v'
,
$cx
,
$in
,
array
(
'url'
)))
.
'"><img class="lazy" data-original="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'"/></a>
'
;})
.
' </div>
<div class="tpl-category clearfix">
'
.
Plugin\LCRun3
::
debug
(
'each [category]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[category]'
,
'v'
,
$cx
,
$in
,
array
(
'category'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
' <a href="'
.
Plugin\LCRun3
::
debug
(
'[url]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[url]'
,
'v'
,
$cx
,
$in
,
array
(
'url'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</a>
'
;})
.
' </div>
</div>
<div class="tpl-brands clearfix">
<ul>
'
.
Plugin\LCRun3
::
debug
(
'each [brands]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[brands]'
,
'v'
,
$cx
,
$in
,
array
(
'brands'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
' <li><a title="'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'" href="'
.
Plugin\LCRun3
::
debug
(
'[url]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[url]'
,
'v'
,
$cx
,
$in
,
array
(
'url'
)))
.
'"><img class="lazy" data-original="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'"/></a></li>
'
;})
.
' </ul>
</div>
<div class="tpl-types clearfix">
<ul>
'
.
Plugin\LCRun3
::
debug
(
'each [types]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[types]'
,
'v'
,
$cx
,
$in
,
array
(
'types'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
' <li><a title="'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'" href="'
.
Plugin\LCRun3
::
debug
(
'[url]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[url]'
,
'v'
,
$cx
,
$in
,
array
(
'url'
)))
.
'"><img class="lazy" data-original="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'"/></a></li>
'
;})
.
' </ul>
</div>
</div>
<div class="tpl-products clearfix">
<ul>
'
.
Plugin\LCRun3
::
debug
(
'each [products]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[products]'
,
'v'
,
$cx
,
$in
,
array
(
'products'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
' <li><a href="'
.
Plugin\LCRun3
::
debug
(
'[url]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[url]'
,
'v'
,
$cx
,
$in
,
array
(
'url'
)))
.
'" title="'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'"><img class="lazy" data-original="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'"/></a></li>
'
;})
.
' </ul>
</div>
</div>
'
;})
.
'
'
.
''
;})
.
'
'
.
Plugin\LCRun3
::
debug
(
'[newArrivls]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[newArrivls]'
,
'v'
,
$cx
,
$in
,
array
(
'newArrivls'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
''
.
' <div class="floor-header clearfix">
<h2 class="floor-title">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</h2>
'
.
Plugin\LCRun3
::
debug
(
'if [navs]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <ul class="header-navs">
'
.
Plugin\LCRun3
::
debug
(
'[navs]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[navs]'
,
'v'
,
$cx
,
$in
,
array
(
'navs'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <li data-classify="'
.
Plugin\LCRun3
::
debug
(
'[id]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[id]'
,
'v'
,
$cx
,
$in
,
array
(
'id'
)))
.
'">
<a target="_blank" href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</a>
</li>
'
;})
.
' </ul>
'
;})
.
' </div>'
.
' <div class="commodity">
<ul class="clearfix">
'
.
Plugin\LCRun3
::
debug
(
'each [commodity]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[commodity]'
,
'v'
,
$cx
,
$in
,
array
(
'commodity'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
' <li>
'
.
Plugin\LCRun3
::
debug
(
'[state]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[state]'
,
'v'
,
$cx
,
$in
,
array
(
'state'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <i class="commodity-tag'
.
Plugin\LCRun3
::
debug
(
'this'
,
'encq'
,
$cx
,
$in
)
.
'"></i>
'
;})
.
' <a href="'
.
Plugin\LCRun3
::
debug
(
'[url]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[url]'
,
'v'
,
$cx
,
$in
,
array
(
'url'
)))
.
'"><div class="commodity-img"><img class="lazy" data-original="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'"/></div>
<p class="commodity-name">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</p>
<p class="commodity-price"><span>¥'
.
Plugin\LCRun3
::
debug
(
'[price]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[price]'
,
'v'
,
$cx
,
$in
,
array
(
'price'
)))
.
'</span></p>
</a>
</li>
'
;})
.
' </ul>
<div class="loading">
<p>Loading...</p>
</div>
</div>'
.
''
;})
.
''
;})
.
'
</div>
'
.
''
.
' <div class="yoho-footer">
<div class="footertop">
<div class="index-foot">
<dl class="clearfix screen">
<dd>
<div class="foot-panel">
<div class="title relative">
<div class="title-line"></div>
<div class="text">
<span>有货SERVICES</span>
</div>
</div>
<div id="foot-services">
<ul class="clearfix two-dim">
<li class="left">
<div class="">
<a href="javascript:void(0);">
<img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png" src="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png" style=""></a>
<p>YOHO!有货</p>
</div>
</li>
<li class="left">
<div class="">
<a href="javascript:void(0);">
<img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg" src="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg" style=""></a>
<p>微信</p>
</div>
</li>
<li class="left">
<div class="">
<a href="javascript:void(0);">
<img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png" src="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png" style="display: inline;"></a>
<p>微博</p>
</div>
</li>
</ul>
</div>
</div>
<p class="item-nav center" id="button-services">
<a href="javascript:void(0);" key="0">
<span class="ifont10 cur">O</span>
</a>
</p>
</dd>
<dd>
<div class="foot-panel" id="feedbackBoxList">
<div class="title relative">
<div class="title-line"></div>
<div class="text">
<span>意见反馈</span>
</div>
</div>
<ul class="clearfix vote">
<li style="display:block" key="0">
<form action="#" id="feedbackForm">
<input type="hidden" name="question_id" id="question_id" value="38">
<input type="hidden" name="feedback_id" id="feedback_id" value="5">
<div>您喜欢有货的新版吗?</div>
<div class="vote-item clearfix">
<p>
<input type="radio" name="solution" value="33">非常喜欢</p>
<p>
<input type="radio" name="solution" value="34">喜欢</p>
<p>
<input type="radio" name="solution" value="35">一般般</p>
<p>
<input type="radio" name="solution" value="36">不喜欢</p>
<p>
<input type="radio" name="solution" value="37">非常不喜欢</p>
</div>
<div>
<a href="javascript:void(0);" id="feedbackBtn" class="button">提交</a>
</div>
</form>
</li>
<li style="display:none" key="1">
<form action="#" id="feedbackForm">
<input type="hidden" name="question_id" id="question_id" value="39">
<input type="hidden" name="feedback_id" id="feedback_id" value="5">
<div>您可以方便的找到想查看的内容吗?</div>
<div class="vote-item clearfix">
<p>
<input type="radio" name="solution" value="38">非常方便</p>
<p>
<input type="radio" name="solution" value="39">方便</p>
<p>
<input type="radio" name="solution" value="40">一般般</p>
<p>
<input type="radio" name="solution" value="41">不方便</p>
<p>
<input type="radio" name="solution" value="42">非常不方便</p>
</div>
<div>
<a href="javascript:void(0);" id="feedbackBtn" class="button">提交</a>
</div>
</form>
</li>
<li style="display:none" key="2">
<form action="#" id="feedbackForm">
<input type="hidden" name="question_id" id="question_id" value="37">
<input type="hidden" name="feedback_id" id="feedback_id" value="5">
<div>您对新版还有哪些意见或建议?</div>
<textarea name="answer" id="feedback_answer"></textarea>
<div>
<a href="javascript:void(0);" id="feedbackBtn" class="button">提交</a>
</div>
</form>
</li>
</ul>
</div>
<p class="item-nav center" id="feedbackPage">
<a href="javascript:void(0);">
<span class="ifont10 cur">O</span>
</a>
<a href="javascript:void(0);">
<span class="ifont10 ">o</span>
</a>
<a href="javascript:void(0);">
<span class="ifont10 ">o</span>
</a>
</p>
</dd>
<dd class="last">
<div class="foot-panel">
<div class="title relative">
<div class="title-line"></div>
<div class="text">
<span>更多 YOHO!产品</span>
</div>
</div>
<div id="foot-mobile">
<ul class="clearfix mobile">
<li>
<a href="http://app.yohoshow.com/" target="_blank" titl="">
<img alt="" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg" class="lazy" src="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg" style=""></a>
</li>
<li>
<a href="http://www.yohoboys.com/" target="_blank" titl="">
<img alt="" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg" class="lazy" src="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg" style=""></a>
</li>
<li>
<a href="http://www.yohogirls.com/" target="_blank" titl="">
<img alt="" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg" class="lazy" src="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg" style=""></a>
</li>
</ul>
</div>
</div>
<p class="item-nav center" id="button-mobile">
<a href="javascript:void(0);">
<span class="ifont10 cur">O</span>
</a>
</p>
</dd>
</dl>
</div>
</div>
<div class="footerbottom">
<div class="promise">
<div class="screen clearfix">
<div class="left">
<span class="ifont rgbf">g</span>
<span class="red">100%</span>
<span class="rgbf">品牌授权正品</span>
</div>
<div class="left">
<span class="ifont rgbf">L</span>
<span class="red">7天</span>
<span class="rgbf">无理由退换货</span>
</div>
<div class="left">
<span class="ifont rgbf">p</span>
<span class="rgbf">客服电话:</span>
<span class="red">400-889-9646</span>
<span class="rgb9">08:00-22:30(周一至周日)</span>
<span>
<a href="http://chat80.live800.com/live800/chatClient/chatbox.jsp?companyID=493979&configID=123576&jid=9277320930" target="_blank" style="color:red">在线客服</a>
</span>
</div>
<div class="right subscribe footer-right">
<input class="rgb6 top" name="subscriberBox" id="subscriberBox" value="订阅我们的邮件">
<a href="javascript:void(0);" id="subscriberBtn" class="ifont rgbf">m</a>
<!--<input class="rgb6 top wrong" value="订阅我们的邮件" />
<a href="" class="ifont rgbf done">=</a>
-->
</div>
</div>
</div>
<div class="footer-help">
<div class="screen clearfix">
<div class="left">
<ul class="clearfix">
<li class="left">
<p>
<span>新手指南</span>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a>
</p>
</li>
<li class="left">
<p>
<span>会员中心</span>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a>
</p>
</li>
<li class="left">
<p>
<span>购物指南</span>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a>
</p>
</li>
<li class="left">
<p>
<span>支付方式</span>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a>
</p>
</li>
<li class="left">
<p>
<span>配送方式</span>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a>
</p>
</li>
<li class="left">
<p>
<span>售后服务</span>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a>
</p>
</li>
<li class="left">
<p>
<span>APP常见问题</span>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a>
</p>
<p>
<a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a>
</p>
</li>
</ul>
</div>
</div>
</div>
<div class="footer-link">
<div class="screen clearfix">
<div class="left right-flag">
<a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow">
<img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"></a>
<a href="http://www.isc.org.cn/" target="_blank" rel="nofollow">
<img src="http://static.yohobuy.com/images/v3/icon/isc2.png"></a>
</div>
<div class="left about-us">
<p>
<a href="http://www.yohobuy.com">返回首页</a>
<span>|</span>
<a href="http://www.yohobuy.com">YOHO!有货</a>
<span>|</span>
<a href="http://www.yohobuy.com/newpower.html">新力传媒</a>
<span>|</span>
<a href="http://www.yohobuy.com/contact.html">联系我们</a>
<span>|</span>
<a href="http://shop.yohobuy.com/settled">商家入驻</a>
<span>|</span>
<a href="http://www.yohobuy.com/privacy.html">隐私条款</a>
<span>|</span>
<a href="http://www.yohobuy.com/link.html">友情链接</a>
</p>
<p>
CopyRight © 2007-2016 南京新与力文化传播有限公司
<a href="http://www.miibeian.gov.cn/" target="_blank" style="color:#666">苏ICP备09011225号</a>
NewPower Co. 版权所有 经营许可证编号:苏B2-20120395
</p>
</div>
</div>
</div>
</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/common\');
seajs.use(\'js/header\',function(header) {
if(header) {
header.init();
}
});
</script>
'
.
Plugin\LCRun3
::
debug
(
'if [boysHomePage]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[boysHomePage]'
,
'v'
,
$cx
,
$in
,
array
(
'boysHomePage'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <script>
/*seajs.use(\'js/home/entrey\', function(h) {
h.set(\'boys\');
});*/
seajs.use(\'js/home/home\');
</script>
'
;})
.
'
'
.
Plugin\LCRun3
::
debug
(
'if [searchListPage]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[searchListPage]'
,
'v'
,
$cx
,
$in
,
array
(
'searchListPage'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <script>
seajs.use(\'js/product/list\');
</script>
'
;})
.
''
.
' </body>
</html>'
.
''
;
}
?>
\ No newline at end of file
docs/web-data-structure.md
View file @
bcfcec1
...
...
@@ -4,6 +4,47 @@
### 商品
## 男首
{
boy: [
//banner大图
bigSlide: [
{
'href': '',
'img': ''
},
...
],
//banner小图
smallSlide: [
{
'href': '',
'img': ''
},
...
],
//最新速报
newReport: {
name: '最新速报 NEW!', //楼层标题
list: [
{
'href': '',
'img': ''
},
]
},
//优选品牌
preferenceBrand: {
name: '优选品牌 BRAND', //楼层标题
imgBrand: [
{
}
]
}
]
}
## 搜索页
...
...
template/www.yohobuy.com/actions/index/boys/index.phtml
View file @
bcfcec1
{
{>
layout/header
}
}
<div
class=
"home-page yoho-page"
>
{
{#
boy
}
}
{
{!
头部banner
}
}
{
{#
slide
}
}
<div
class=
"slide-container"
>
{
{#if
bigSlide
}
}
<div
class=
"big-slide"
>
<div
class=
"big-slide"
>
<ul>
{
{#
bigSlide
}
}
<li>
<a
href=
"{{href}}"
>
<img
src
=
"{{img}}"
alt=
""
>
<img
class=
"lazy"
data-original
=
"{{img}}"
alt=
""
>
</a>
</li>
{
{/
bigSlide
}
}
...
...
@@ -22,7 +24,6 @@
</a>
</div>
</div>
{
{/if
}
}
{
{#if
smallSlide
}
}
<div
class=
"small-slide"
>
...
...
@@ -37,16 +38,19 @@
</div>
{
{/if
}
}
</div>
{
{/
slide
}
}
{
{!
新品速报
}
}
{
{#
newReport
}
}
<div
class=
"new-report clearfix"
>
{
{>
index/floor
_
header
}
}
{
{>
index/floor
-
header
}
}
<ul
class=
"report-list clearfix"
>
{
{#
list
}
}
{
{#unless
@last
}
}
<li>
<a
href=
"{{href}}"
>
<img
src
=
"{{img}}"
alt=
""
>
<img
class=
"lazy"
data-original
=
"{{img}}"
alt=
""
>
</a>
</li>
{
{/unless
}
}
...
...
@@ -57,16 +61,18 @@
{
{#if
@last
}
}
<div
class=
"last-item"
>
<a
href=
"{{href}}"
>
<img
src
=
"{{img}}"
alt=
""
>
<img
class=
"lazy"
data-original
=
"{{img}}"
alt=
""
>
</a>
</div>
{
{/if
}
}
{
{/
list
}
}
</div>
{
{/
newReport
}
}
{
{!
优选品牌
}
}
{
{#
preferenceBrand
}
}
<div
class=
"preference-brand"
>
{
{>
index/floor
_
header
}
}
{
{>
index/floor
-
header
}
}
<div
class=
"img-brand"
>
<ul
class=
"img-list clearfix"
>
{
{#
imgBrand
}
}
...
...
@@ -89,9 +95,21 @@
<div
class=
"logo-brand"
></div>
</div>
{
{/
preferenceBrand
}
}
{
{!
单品/广告
}
}
{
{#
singlehot
}
}
{
{>
index/singlehot
}
}
{
{/
singlehot
}
}
{
{!
广告
}
}
{
{#
adbanner
}
}
<div
class=
"adbanner"
>
<a
class=
"impo{{@index}}"
href=
"{{url}}"
><img
class=
"lazy"
data-original=
"{{img}}"
/></a>
</div>
{
{/
adbanner
}
}
{
{!
品类推荐
}
}
{
{#
each
recommend
}
}
{
{#
recommend
}
}
{
{>
index/recommend
}
}
{
{/
recommend
}
}
...
...
template/www.yohobuy.com/partials/index/commodity.phtml
View file @
bcfcec1
{
{>
index/floor
_
header
}
}
{
{>
index/floor
-
header
}
}
<div
class=
"commodity"
>
<ul
class=
"clearfix"
>
</ul>
<div
class=
"loading"
>
<
p>Loading...</p
>
<
a>Loading...</a
>
</div>
</div>
\ No newline at end of file
...
...
template/www.yohobuy.com/partials/index/floor
_
header.phtml → template/www.yohobuy.com/partials/index/floor
-
header.phtml
View file @
bcfcec1
template/www.yohobuy.com/partials/index/logo_brand.phtml
deleted
100644 → 0
View file @
3aa3889
template/www.yohobuy.com/partials/index/recommend.phtml
View file @
bcfcec1
{
{#
tplrecommend
}
}
{
{>
index/floor
_
header
}
}
{
{>
index/floor
-
header
}
}
<div
class=
"tpl-recommend clearfix"
>
<div
class=
"tpl-body clearfix"
>
<div
class=
"tpl-nav"
>
...
...
template/www.yohobuy.com/partials/index/singlehot.phtml
0 → 100644
View file @
bcfcec1
{
{>
index/floor_header
}
}
<div
class=
"singlehot clearfix"
>
<ul>
{
{#each
imgHot
}
}
<li><a
class=
"impo{{@index}}"
href=
"{{url}}"
><img
class=
"lazy"
data-original=
"{{img}}"
/></a></li>
{
{/each
}
}
</ul>
</div>
...
...
web-static/js/common.js
View file @
bcfcec1
...
...
@@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/11/23
*/
var
$
=
require
(
'jquery'
);
var
$
=
require
(
'
yoho.
jquery'
);
function
cookie
(
name
)
{
var
cookies
=
document
.
cookie
,
...
...
web-static/js/common/infinite
L
oad.js → web-static/js/common/infinite
-l
oad.js
View file @
bcfcec1
var
$
=
require
(
'jquery'
);
var
$
=
require
(
'
yoho.
jquery'
);
function
infiniteLoad
(
options
)
{
...
...
@@ -69,7 +69,7 @@ infiniteLoad.prototype.init = function() {
function
__loadMore
()
{
if
(
p
.
isload
&&
g
.
__directionCalculation
())
{
if
(
p
.
is
run
&&
p
.
is
load
&&
g
.
__directionCalculation
())
{
p
.
isload
=
false
;
p
.
index
++
;
g
.
exect
(
'after'
,
p
);
...
...
@@ -89,14 +89,21 @@ infiniteLoad.prototype.emit = function() {
p
.
isload
=
true
;
};
infiniteLoad
.
prototype
.
stop
=
function
()
{
var
p
=
this
.
options
;
p
.
isrun
=
false
;
p
.
isload
=
false
;
};
infiniteLoad
.
prototype
.
__directionCalculation
=
function
()
{
var
p
=
this
.
options
;
if
(
p
.
offset
.
height
()
>
0
&&
$
(
window
).
scrollTop
()
+
$
(
window
).
height
()
>=
p
.
offset
.
height
())
{
if
(
p
.
offset
.
height
&&
p
.
offset
.
height
()
>
0
&&
$
(
window
).
scrollTop
()
+
$
(
window
).
height
()
>=
p
.
offset
.
height
())
{
return
true
;
}
if
(
p
.
offset
.
width
()
>
0
&&
$
(
window
).
scrollLeft
()
+
$
(
window
).
width
()
>=
p
.
offset
.
width
())
{
if
(
p
.
offset
.
width
&&
p
.
offset
.
width
()
>
0
&&
$
(
window
).
scrollLeft
()
+
$
(
window
).
width
()
>=
p
.
offset
.
width
())
{
return
true
;
}
return
false
;
...
...
web-static/js/common/linkage-slider.js
View file @
bcfcec1
var
$
=
require
(
'jquery'
);
var
$
=
require
(
'yoho.jquery'
),
lazyLoad
=
require
(
'yoho.lazyload'
);
(
function
(
$
)
{
var
LinkageSlider
=
function
(
element
,
options
)
{
...
...
@@ -64,6 +65,11 @@ var $ = require('jquery');
this
.
_slideShow
();
},
_slideShow
:
function
()
{
var
$img
=
this
.
bigItem
.
eq
(
this
.
index
).
find
(
'img.lazy'
);
if
(
$img
.
attr
(
'src'
)
!==
$img
.
data
(
'original'
))
{
lazyLoad
(
$img
.
trigger
(
'appear'
));
}
this
.
smallItem
.
eq
(
this
.
index
).
addClass
(
'focus'
).
siblings
().
removeClass
(
'focus'
);
this
.
bigItem
.
eq
(
this
.
index
).
fadeIn
().
siblings
().
fadeOut
();
},
...
...
web-static/js/common/new
A
rrivls.js → web-static/js/common/new
-a
rrivls.js
View file @
bcfcec1
var
$
=
require
(
'jquery'
);
var
$
=
require
(
'
yoho.
jquery'
);
//var Lazyload = require('yoho.lazyload');
var
Handlebars
=
require
(
'yoho.handlebars'
);
var
InfiniteLoad
=
require
(
'../common/infinite
L
oad'
);
var
InfiniteLoad
=
require
(
'../common/infinite
-l
oad'
);
(
function
(
$
)
{
var
$container
=
$
(
'div.commodity ul'
);
var
$load
=
$
(
'.loading'
);
var
$load
=
$
(
'.loading
a
'
);
var
load
=
new
InfiniteLoad
({
offset
:
{
height
:
function
()
{
...
...
@@ -40,7 +40,8 @@ var InfiniteLoad = require('../common/infiniteLoad');
load
.
emit
();
}
else
{
$load
.
html
(
'END'
);
load
.
stop
();
$load
.
html
(
'查看更多'
);
}
},
error
:
function
()
{
...
...
web-static/js/common/slider2.js
View file @
bcfcec1
...
...
@@ -3,7 +3,7 @@
* @author: wangqing(robin.wang@yoho.cn)
* @date: 205/7/2
*/
var
$
=
require
(
'jquery'
);
var
$
=
require
(
'
yoho.
jquery'
);
(
function
(
$
)
{
$
.
fn
.
slider2
=
function
(
options
)
{
...
...
@@ -69,6 +69,7 @@ var $ = require('jquery');
_obj
=
null
;
e
.
preventDefault
();
changePic
(
3
,
_width
,
function
()
{
for
(
i
=
0
;
i
<
3
;
i
++
)
{
_obj
=
bannerarr
.
shift
();
...
...
@@ -83,7 +84,6 @@ var $ = require('jquery');
'margin-left'
:
'0'
});
});
});
$
(
this
).
find
(
'.prev'
).
on
(
'click'
,
function
(
e
)
{
var
i
=
0
,
...
...
web-static/js/header.js
View file @
bcfcec1
...
...
@@ -4,10 +4,12 @@
* @date: 2015/12/01
*/
var
$
=
require
(
'jquery'
);
var
$
=
require
(
'yoho.jquery'
);
var
$yohocookie
=
require
(
'../plugin/yohocookie'
);
var
$yohocart
=
require
(
'../plugin/yohocart'
);
var
yohodoT
=
require
(
'../plugin/yohodoT'
);
var
noticeSuccess
=
false
;
/**
* 获取头部banner的回调函数
...
...
web-static/js/home/home.js
View file @
bcfcec1
...
...
@@ -4,14 +4,15 @@
* @date: 2015/11/23
*/
var
$
=
require
(
'jquery'
),
Handlebars
=
require
(
'yoho.handlebars'
);
var
$
=
require
(
'yoho.jquery'
),
Handlebars
=
require
(
'yoho.handlebars'
),
lazyLoad
=
require
(
'yoho.lazyload'
);
require
(
'../common/linkage-slider'
);
require
(
'../common/slider2'
);
require
(
'../common/newArrivls'
);
require
(
'../common/new-arrivls'
);
lazyLoad
(
$
(
'img.lazy'
));
$
(
'.slide-container'
).
linkageSlider
();
$
(
'.img-brand'
).
slider2
();
...
...
@@ -24,6 +25,16 @@ $.ajax({
var
brandTpl
,
brandHtml
;
function
brandShow
(
hidePage
,
showPage
)
{
lazyLoad
(
$
(
'li[data-page='
+
showPage
+
']'
).
find
(
'img.lazy'
).
trigger
(
'appear'
));
$
(
'.logo-brand'
).
find
(
'li[data-page='
+
hidePage
+
']'
).
find
(
'img'
).
fadeOut
(
'normal'
,
function
()
{
$
(
'.logo-brand'
).
find
(
'li'
).
hide
();
$
(
'.logo-brand'
).
find
(
'li[data-page='
+
showPage
+
']'
).
show
().
find
(
'img'
).
fadeIn
();
});
}
Handlebars
.
registerHelper
(
'brandList'
,
function
(
items
,
options
)
{
var
out
=
'<ul>'
,
i
=
0
,
...
...
@@ -55,10 +66,11 @@ $.ajax({
});
brandHtml
=
'\{{#brandList logoBrand}}'
+
'<a href="\{{href}}"><img
src
="\{{img}}" alt=""></a>'
+
'<a href="\{{href}}"><img
class="lazy" data-original
="\{{img}}" alt=""></a>'
+
'\{{/brandList}}'
;
brandTpl
=
Handlebars
.
compile
(
brandHtml
);
$
(
'.logo-brand'
).
html
(
brandTpl
(
data
));
lazyLoad
(
$
(
'.logo-brand'
).
find
(
'img.lazy'
));
//品牌翻页
$
(
'.logo-brand'
).
on
(
'click'
,
'.next'
,
function
()
{
...
...
@@ -71,10 +83,7 @@ $.ajax({
}
else
{
nextPage
=
page
+
1
;
}
$
(
'.logo-brand'
).
find
(
'li[data-page='
+
page
+
']'
).
find
(
'img'
).
fadeOut
(
'normal'
,
function
()
{
$
(
'.logo-brand'
).
find
(
'li'
).
hide
();
$
(
'.logo-brand'
).
find
(
'li[data-page='
+
nextPage
+
']'
).
show
().
find
(
'img'
).
fadeIn
();
});
brandShow
(
page
,
nextPage
);
});
$
(
'.logo-brand'
).
on
(
'click'
,
'.prev'
,
function
()
{
...
...
@@ -87,10 +96,7 @@ $.ajax({
}
else
{
prevPage
=
page
-
1
;
}
$
(
'.logo-brand'
).
find
(
'li[data-page='
+
page
+
']'
).
find
(
'img'
).
fadeOut
(
'normal'
,
function
()
{
$
(
'.logo-brand'
).
find
(
'li'
).
hide
();
$
(
'.logo-brand'
).
find
(
'li[data-page='
+
prevPage
+
']'
).
show
().
find
(
'img'
).
fadeIn
();
});
brandShow
(
page
,
prevPage
);
});
}
});
...
...
web-static/js/product/list.js
View file @
bcfcec1
...
...
@@ -4,7 +4,7 @@
* @date: 2015/11/23
*/
var
$
=
require
(
'jquery'
);
var
$
=
require
(
'
yoho.
jquery'
);
var
checkUnicode
=
{
unchecked
:
''
,
...
...
web-static/package.json
View file @
bcfcec1
...
...
@@ -13,9 +13,9 @@
"spm"
:
{
"main"
:
"index.js"
,
"dependencies"
:
{
"jquery"
:
"1.8.3"
,
"yoho.lazyload"
:
"1.0.0"
,
"yoho.handlebars"
:
"3.0.3"
"yoho.handlebars"
:
"3.0.3"
,
"yoho.jquery"
:
"1.8.3"
},
"devDependencies"
:
{
"expect.js"
:
"0.3.1"
...
...
web-static/sass/home/_index.scss
View file @
bcfcec1
...
...
@@ -118,6 +118,8 @@
.new-report
{
img
{
display
:
block
;
width
:
100%
;
height
:
100%
;
}
.report-list
{
float
:
left
;
...
...
@@ -133,6 +135,7 @@
width
:
282px
;
height
:
504px
;
}
}
}
...
...
@@ -339,6 +342,7 @@
.commodity
{
margin-left
:
-10px
;
margin-bottom
:
80px
;
position
:
relative
;
li
{
float
:
left
;
...
...
@@ -380,11 +384,40 @@
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
p
{
text-align
:
center
;
font-size
:
20px
;
text-align
:
center
;
font-size
:
20px
;
}
}
.singlehot
{
margin-left
:
-8px
;
li
{
float
:
left
;
margin-left
:
8px
;
margin-bottom
:
8px
;
}
a
{
display
:
block
;
background-color
:
#f8f8f8
;
img
{
display
:
block
;
width
:
185px
;
height
:
284px
;
}
}
.impo1
img
,
.impo9
img
{
width
:
378px
;
}
}
.adbanner
{
width
:
100%
;
height
:
150px
;
margin-top
:
12px
;
img
{
display
:
block
;
width
:
1150px
;
height
:
150px
;
}
}
.floor-header
{
...
...
yohobuy/www.yohobuy.com/application/controllers/Boys.php
View file @
bcfcec1
...
...
@@ -263,125 +263,236 @@ class BoysController extends AbstractAction
$data
=
array
(
'headerdata'
=>
$headerdata
,
'boysHomePage'
=>
true
,
'boy'
=>
array
(
'bigSlide'
=>
array
(
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
'boy'
=>
array
(
array
(
'slide'
=>
array
(
'bigSlide'
=>
array
(
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
),
array
(
'href'
=>
'/?gender=1,3'
,
'img'
=>
'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
)
),
'smallSlide'
=>
array
(
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img13.static.yhbimg.com/taobaocms/2015/11/26/12/024a810cfa89d67569c6c3bacedba8869a.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/27/09/015b6a29ee526edeaacd13f4a7c81475f0.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img13.static.yhbimg.com/taobaocms/2015/11/26/12/024a810cfa89d67569c6c3bacedba8869a.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/27/09/015b6a29ee526edeaacd13f4a7c81475f0.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img13.static.yhbimg.com/taobaocms/2015/11/26/12/024a810cfa89d67569c6c3bacedba8869a.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/27/09/015b6a29ee526edeaacd13f4a7c81475f0.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img13.static.yhbimg.com/taobaocms/2015/11/26/12/024a810cfa89d67569c6c3bacedba8869a.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/27/09/015b6a29ee526edeaacd13f4a7c81475f0.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
)
)
)
),
'smallSlide'
=>
array
(
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img13.static.yhbimg.com/taobaocms/2015/11/26/12/024a810cfa89d67569c6c3bacedba8869a.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
'http://sale.yohobuy.com/?specialsale_id=13&gender=1,3'
,
'img'
=>
'http://img10.static.yhbimg.com/taobaocms/2015/11/27/09/015b6a29ee526edeaacd13f4a7c81475f0.jpg?imageMogr2/thumbnail/138x54/extent/138x54/background/d2hpdGU=/position/center/quality/90'
array
(
'newReport'
=>
array
(
'name'
=>
'最新速报 NEW!'
,
'list'
=>
array
(
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/27/03/0140fd98fd1c15c206d198d458e1c8e96f.jpg?imageView/1/w/377/h/504'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/27/03/0140fd98fd1c15c206d198d458e1c8e96f.jpg?imageView/1/w/377/h/504'
)
)
)
),
'newReport'
=>
array
(
'name'
=>
'最新速报 NEW!'
,
'list'
=>
array
(
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/27/03/0140fd98fd1c15c206d198d458e1c8e96f.jpg?imageView/1/w/377/h/504'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/03/01b2bd814ed65013e06790a301a0eb6408.jpg?imageView/1/w/185/h/248'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/27/03/0140fd98fd1c15c206d198d458e1c8e96f.jpg?imageView/1/w/377/h/504'
array
(
'preferenceBrand'
=>
array
(
'name'
=>
'优选品牌 BRAND'
,
'imgBrand'
=>
array
(
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/06/0124c4e16548b0d7aff4f0fa4ad7b13481.jpg?imageView/1/w/1150/h/450'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/06/0124c4e16548b0d7aff4f0fa4ad7b13481.jpg?imageView/1/w/1150/h/450'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/06/0124c4e16548b0d7aff4f0fa4ad7b13481.jpg?imageView/1/w/1150/h/450'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
)
)
)
),
'preferenceBrand'
=>
array
(
'name'
=>
'优选品牌 BRAND'
,
'imgBrand'
=>
array
(
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/06/0124c4e16548b0d7aff4f0fa4ad7b13481.jpg?imageView/1/w/1150/h/450'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/06/0124c4e16548b0d7aff4f0fa4ad7b13481.jpg?imageView/1/w/1150/h/450'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/30/06/0124c4e16548b0d7aff4f0fa4ad7b13481.jpg?imageView/1/w/1150/h/450'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
array
(
'singlehot'
=>
array
(
'name'
=>
'单品 HOT'
,
'imgHot'
=>
array
(
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
),
array
(
'href'
=>
''
,
'img'
=>
'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
)
)
)
),
'recommend'
=>
array
(
$tpldata
,
$tpldata
,
$tpldata
),
'newArrivls'
=>
array
(
'name'
=>
'最新上架 NEW ARRIVALS'
,
'navs'
=>
array
(
array
(
'id'
=>
''
,
'href'
=>
''
,
'name'
=>
'MORE'
array
(
'adbanner'
=>
array
(
'href'
=>
''
,
'img'
=>
''
)),
array
(
'recommend'
=>
$tpldata
),
array
(
'recommend'
=>
$tpldata
),
array
(
'newArrivls'
=>
array
(
'name'
=>
'最新上架 NEW ARRIVALS'
,
'navs'
=>
array
(
array
(
'id'
=>
''
,
'href'
=>
''
,
'name'
=>
'MORE'
)
)
)
)
)
);
);
$this
->
_view
->
display
(
'index'
,
$data
);
}
/**
* 男装首页 新品上架 接口数据
*
* @param int $pageIndex 当前页数
* @param int $pageCount 一页显示个数
* @param int pageIndex 当前页数
* @param int pageCount 一页显示个数
* @param string flag 类型(男装/女装等,用于区分)
* @return json
*/
...
...
@@ -394,6 +505,10 @@ class BoysController extends AbstractAction
if
(
!
$this
->
isAjax
())
{
break
;
}
$pageIndex
=
$this
->
post
(
'pageIndex'
);
if
(
$pageIndex
>=
3
){
break
;
}
$result
=
array
(
'code'
=>
200
,
...
...
Please
register
or
login
to post a comment