Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
weiqingting
9 years ago
Commit
9be7dfc30d52a42f4ccb2829b7f5188b7babb697
2 parents
8a3ac0d4
d274e201
修改控制器 模块顺序可以变化
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
901 additions
and
339 deletions
docs/web-data-structure.md
template/www.yohobuy.com/actions/index/boys/index.phtml
template/www.yohobuy.com/partials/layout/page-footer.phtml
template/www.yohobuy.com/partials/layout/page-header.phtml
template/www.yohobuy.com/partials/layout/use.phtml
web-static/js/header.js
web-static/js/home/home.js
web-static/sass/_footer.scss
web-static/sass/_header.scss
web-static/sass/home/_index.scss
yohobuy/www.yohobuy.com/application/controllers/Boys.php
docs/web-data-structure.md
View file @
9be7dfc
...
...
@@ -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 @
9be7dfc
{
{>
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>
...
...
@@ -22,7 +24,6 @@
</a>
</div>
</div>
{
{/if
}
}
{
{#if
smallSlide
}
}
<div
class=
"small-slide"
>
...
...
@@ -37,6 +38,9 @@
</div>
{
{/if
}
}
</div>
{
{/
slide
}
}
{
{!
新品速报
}
}
{
{#
newReport
}
}
<div
class=
"new-report clearfix"
>
{
{>
index/floor_header
}
}
...
...
@@ -46,7 +50,7 @@
{
{#unless
@last
}
}
<li>
<a
href=
"{{href}}"
>
<img
src
=
"{{img}}"
alt=
""
>
<img
class=
"lazy"
data-original
=
"{{img}}"
alt=
""
>
</a>
</li>
{
{/unless
}
}
...
...
@@ -57,13 +61,15 @@
{
{#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
}
}
...
...
template/www.yohobuy.com/partials/layout/page-footer.phtml
View file @
9be7dfc
<div class="
footer-page yoho-page
">
<div class="
yoho-footer
">
<div class="footertop">
<div class="index-foot">
<dl class="clearfix screen">
...
...
template/www.yohobuy.com/partials/layout/page-header.phtml
View file @
9be7dfc
{
{#headerdata
}
}
<div
class=
"
header-page yoho-page
"
>
<div
class=
"
yoho-header
"
>
<div
class=
"header-topwrapper clearfix"
>
<div
class=
"header-top"
>
<div
class=
"leftpart float-left"
>
...
...
template/www.yohobuy.com/partials/layout/use.phtml
View file @
9be7dfc
<script>
seajs.use('js/common');
seajs.use('js/header');
seajs.use('js/header',function(header) {
if(header) {
header.init();
}
});
</script>
{{!-- 首页 --}}
...
...
web-static/js/header.js
View file @
9be7dfc
...
...
@@ -5,14 +5,506 @@
*/
var
$
=
require
(
'jquery'
);
var
noticeSuccess
=
false
;
function
JsonPCallBack
(
data
)
{
var
topbanner
;
if
(
+
data
.
code
===
200
)
{
if
(
typeof
data
.
data
===
'object'
)
{
topbanner
=
'<a target="_blank" href="'
+
data
.
data
.
url
+
'" class="page-top-banner"'
+
'style="height:50px;border:none;background-image:url('
+
window
.
unescape
(
data
.
data
.
src
)
+
');'
+
'background-position: center;display:block;background-color:#ff5409;"> </a>'
;
$
(
'body'
).
prepend
(
topbanner
);
}
}
}
function
NoticeCallBack
(
data
)
{
if
(
+
data
.
code
===
200
)
{
noticeSuccess
=
true
;
}
}
window
.
JsonPCallBack
=
JsonPCallBack
;
window
.
NoticeCallBack
=
NoticeCallBack
;
/**
* 检测是否获得公告
* @return {[type]} [description]
*/
function
checkNotice
()
{
var
noticeinner
;
if
(
!
noticeSuccess
)
{
noticeinner
=
'<div class="noticewrapper">'
+
'<div class="noticecontainer">'
+
'<h1 class="noticetitle">关于系统升级的公告</h1>'
+
'<div class="noticecontent">'
+
'<p class="tips">尊敬的顾客:</p>'
+
'<p class="detail">您好!为了向您提供更优质的服务,目前系统正在升级,请耐心等待。</p>'
+
'<p class="detail">'
+
'系统升级期间,部分地区用户体验会有暂时中断,如遇紧急事宜,欢迎垂询客服热线:400-889-9646 09:00-22:30(周一至周日)。稍后系统将恢复正常'
+
'</p>'
+
'<p class="detail">使用,欢迎您继续光顾YOHO!BUY有货!带来不便之处深表歉意,请您谅解!</p>'
+
'</div>'
+
'</div>'
+
'</div>'
;
$
(
'.header-topwrapper'
).
append
(
noticeinner
);
}
}
/**
* 获得banner数据
* @param {[string]} code [banner对应的编码]
* @return {[type]} [description]
*/
function
getBannerData
(
code
)
{
var
script
=
document
.
createElement
(
'script'
);
script
.
src
=
'http://new.yohobuy.com/resource/getbanner?content_code='
+
code
+
'&client_type=web&callback=JsonPCallBack'
;
document
.
getElementsByTagName
(
'head'
)[
0
].
appendChild
(
script
);
}
/**
* 获取公告的jsonp请求
* @param {[type]} code [description]
* @return {[type]} [description]
*/
function
getNoticeData
(
code
)
{
var
script
=
document
.
createElement
(
'script'
);
script
.
src
=
'http://new.yohobuy.com/resource/getbanner?content_code='
+
code
+
'&client_type=web&callback=NoticeCallBack'
;
document
.
getElementsByTagName
(
'head'
)[
0
].
appendChild
(
script
);
window
.
setTimeout
(
checkNotice
,
5000
);
//5s后检测是否成功
}
/**
* 显示和隐藏
* @param {[type]} sourceClass [description]
* @param {[type]} targetClass [description]
* @return {[type]} [description]
*/
function
toggleDisplay
(
sourceClass
,
targetClass
)
{
var
$that
,
targetobj
;
$
(
sourceClass
).
hover
(
function
(
e
)
{
e
.
preventDefault
();
$that
=
$
(
this
);
targetobj
=
$
(
targetClass
)[
0
];
if
(
targetobj
.
style
.
display
===
''
)
{
$that
.
addClass
(
'acttags'
);
targetobj
.
style
.
display
=
'block'
;
}
else
{
$that
.
removeClass
(
'acttags'
);
targetobj
.
style
.
display
=
''
;
}
});
}
/**
* 执行顶部显示和隐藏
* @return {[type]} [description]
*/
function
actionTopTagToggle
()
{
var
tags
=
[{
sourceClass
:
'.myyoho'
,
targetClass
:
'.myyoho-info'
},
{
sourceClass
:
'.phone'
,
targetClass
:
'.qr'
}],
obj
,
i
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
obj
=
tags
[
i
];
toggleDisplay
(
obj
.
sourceClass
,
obj
.
targetClass
);
}
}
/**
* 执行顶部群组鼠标交互
* @return {[type]} [description]
*/
function
actionYoHoGroup
()
{
var
$this
;
$
(
'.yohogroup'
).
mouseenter
(
function
()
{
$this
=
$
(
this
);
$this
.
text
(
$this
.
attr
(
'cn'
));
});
$
(
'.yohogroup'
).
mouseleave
(
function
()
{
$this
=
$
(
this
);
$this
.
text
(
$this
.
attr
(
'en'
));
});
}
/**
* 检测是否支持css3的动画
* @return {Boolean} [description]
*/
function
isSupportCss3Animation
()
{
var
thisFunc
,
prefixList
=
[
'webkit'
,
'moz'
,
'ms'
],
i
;
for
(
i
=
0
;
i
<
prefixList
.
length
;
i
++
)
{
thisFunc
=
prefixList
[
i
]
+
'RequestAnimationFrame'
;
if
(
window
[
thisFunc
])
{
return
true
;
}
else
{
return
false
;
}
}
}
/**
* css3动画
* @param {Array} ) { var thisFunc, prefixList [description]
* @return {[type]} [description]
*/
function
requestFrameCloser
()
{
var
prefixList
=
[
'webkit'
,
'moz'
,
'ms'
];
var
func1
=
prefixList
[
0
]
+
'RequestAnimationFrame'
;
var
func2
=
prefixList
[
1
]
+
'RequestAnimationFrame'
;
var
func3
=
prefixList
[
2
]
+
'RequestAnimationFrame'
;
if
(
window
[
func1
])
{
return
function
(
callback
)
{
window
[
func1
](
callback
);
};
}
if
(
window
[
func2
])
{
return
function
(
callback
)
{
window
[
func2
](
callback
);
};
}
if
(
window
[
func3
])
{
return
function
(
callback
)
{
window
[
func3
](
callback
);
};
}
return
function
(
callback
)
{
window
.
setTimeout
(
callback
,
67
);
};
}
window
.
requestFrame
=
requestFrameCloser
();
window
.
start
=
0
;
window
.
$logotrans
=
$
(
'.icon-logo'
);
window
.
isen
=
true
;
/**
* css3动画
* @return {[type]} [description]
*/
function
tsAnimate
()
{
window
.
start
+=
10
;
window
.
$logotrans
.
css
({
transform
:
'rotateX('
+
window
.
start
+
'deg)'
,
'-webkit-transform'
:
'rotateX('
+
window
.
start
+
'deg)'
,
'-moz-transform'
:
'rotateX('
+
window
.
start
+
'deg)'
});
if
(
window
.
start
/
90
%
2
===
1
)
{
if
(
window
.
isen
)
{
window
.
$logotrans
.
css
(
'background-image'
,
'url(http://static.yohobuy.com/newheader/img/logo1.png)'
);
window
.
isen
=
false
;
}
else
{
window
.
$logotrans
.
css
(
'background-image'
,
'url(http://static.yohobuy.com/newheader/img/logo_e.png)'
);
window
.
isen
=
true
;
}
}
if
(
window
.
start
/
90
%
2
===
0
&&
window
.
start
%
360
!==
0
)
{
window
.
setTimeout
(
tsAnimate
,
3000
);
}
else
{
if
(
window
.
start
%
360
===
0
)
{
window
.
setTimeout
(
tsAnimate
,
1
*
60
*
1000
);
}
else
{
window
.
requestFrame
(
function
()
{
tsAnimate
();
});
}
}
}
window
.
loopdurationtime
=
500
;
window
.
globaltimeout
;
window
.
onetimeoout
;
/**
* 淡出
* @return {[type]} [description]
*/
function
fadeAnimate
()
{
if
(
window
.
globaltimeout
)
{
window
.
clearTimeout
(
window
.
globaltimeout
);
}
window
.
logotrans
.
fadeOut
(
window
.
loopdurationtime
,
function
()
{
window
.
isen
=
false
;
window
.
logotrans
.
css
(
'background-image'
,
'url(http://static.yohobuy.com/newheader/img/logo.png)'
);
window
.
logotrans
.
fadeIn
(
window
.
loopdurationtime
,
function
()
{
window
.
onetimeoout
=
window
.
setTimeout
(
function
()
{
window
.
logotrans
.
fadeOut
(
window
.
loopdurationtime
,
function
()
{
window
.
clearTimeout
(
window
.
onetimeoout
);
window
.
isen
=
true
;
window
.
logotrans
.
css
(
'background-image'
,
'url(http://static.yohobuy.com/newheader/img/logo_e.png)'
);
window
.
logotrans
.
fadeIn
(
window
.
loopdurationtime
,
function
()
{
window
.
globaltimeout
=
window
.
setTimeout
(
fadeAnimate
,
1
*
60
*
1000
);
});
});
},
3000
);
});
});
}
/**
* 执行头部logo动画
* @return {[type]} [description]
*/
function
actionTopLogoAnimate
()
{
if
(
isSupportCss3Animation
())
{
window
.
setTimeout
(
tsAnimate
,
3000
);
}
else
{
window
.
setTimeout
(
fadeAnimate
,
3000
);
}
}
/**
* 回到顶部
* @type {[type]}
* 查询跳转后保留关键字
* @return {[type]} [description]
*/
var
$returnTop
=
$
(
'.return-top'
);
function
actionAddKeyWords
()
{
var
$keywords
=
$
(
'#nav_keyword'
).
text
();
var
defaultsearch
=
'vans'
;
var
$querykey
=
$
(
'#query_key'
);
$returnTop
.
click
(
function
()
{
$
(
'html,body'
).
animate
({
scrollTop
:
0
},
500
);
});
\ No newline at end of file
if
(
$keywords
!==
''
)
{
$querykey
.
css
({
color
:
'#000'
});
$querykey
.
val
(
$keywords
);
}
else
{
$querykey
.
css
({
color
:
'#e0e0e0'
});
$querykey
.
val
(
defaultsearch
);
$querykey
.
on
(
'focus'
,
function
(
e
)
{
$querykey
.
css
({
color
:
'#000'
});
$querykey
.
val
(
''
);
});
}
}
window
.
dataLayer
=
[];
function
getSource
(
column
,
postition
,
event
)
{
try
{
window
.
dataLayer
.
push
({
louceng
:
column
,
weizhi
:
postition
,
event
:
event
});
}
catch
(
e
)
{}
}
/**
* 搜寻的时候过滤非法字符(+-/:等非法字符单独出现)
* @type {RegExp}
*/
window
.
reg
=
/^
[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}
$/g
;
window
.
keyword
=
''
;
window
.
link
=
''
;
window
.
submitSearch
=
function
()
{
var
$keywordinput
=
$
(
'#query_key'
).
val
();
var
column
=
'Search'
;
var
postition
=
'Head Search'
;
var
event
=
'Search'
;
var
$formatkeyword
,
$formatkeywordinput
;
$formatkeyword
=
$
.
trim
(
window
.
keyword
.
toLowerCase
());
$formatkeywordinput
=
$
.
trim
(
$keywordinput
.
toLowerCase
());
getSource
(
column
,
postition
,
event
);
if
(
window
.
link
!==
''
&&
window
.
keyword
!==
''
&&
$formatkeyword
===
$formatkeywordinput
)
{
location
.
href
=
window
.
link
.
replace
(
'\''
,
''
);
}
else
{
if
(
window
.
reg
.
test
(
$keywordinput
))
{
location
.
href
=
'http://search.yohobuy.com/error?query='
+
$keywordinput
+
'&result=error'
;
}
else
{
$
(
'#searchForm'
).
submit
();
return
false
;
}
}
};
/**
* banner和地址的映射
* @type {Object}
*/
window
.
bannerMap
=
{
listboys
:
'4f78b0f418fc42314d8b6e791cfb7fa8'
,
listgirls
:
'00c1f025a51b6b597dc37925951ea27d'
,
listkids
:
'b02df11184727701ade1b6de9737d08c'
,
listlifestyle
:
'fd35c52dced0c880976ba858346d1fc5'
,
searchboys
:
'9fb8986ea700cc27a8057361c3924394'
,
searchgirls
:
'e3e207a1443ca60c8037fe52a5560c18'
,
searchkids
:
'620fc77f479da8feaeb06f2324e5d0bb'
,
searchlifestyle
:
'a3c93301c6ffaf3ed0f36a4a451be36d'
,
uniquebrandboys
:
'2ebb0810c0d1a67e5229149c9c3aba7d'
,
uniquebrandgirls
:
'99e23385f4ba4b65f406b7e2968ac821'
,
uniquebrandkids
:
'a74ebc9b17840c91b9ea46568111fe6b'
,
uniquebrandlifestyle
:
'0e8c81ead53f56302baa4d0ad967f527'
,
brandsboys
:
'77b352db07129c76a9d532acad149f9f'
,
brandsgirls
:
'bf047f16e52ebc38be5ce9c7623831e6'
,
brandskids
:
'e3ae1ce9b5e13c6d271ef3eccb831652'
,
brandslifestyle
:
'e4ac8029c30f65d7f1af030980d140fe'
,
newboys
:
'869d3c5f3b450fb52101d00a61ce87cb'
,
newgirls
:
'd953b6dfdac02483d1dcce8d96055954'
,
newkids
:
'0874cb6d75df8e0e78f2d475e53ecc08'
,
newlifestyle
:
'43e8fc8e178115c262bbce2bd0012db7'
,
saleboys
:
'c846e3165c994769b4201d8c32f3ae9b'
,
salegirls
:
'52b1d389edcbc62d65de71b80c4d6ad0'
,
salekids
:
'ad8b1703c761ba00973868ab5199cc27'
,
salelifestyle
:
'7acc64905c70ac91846f43fb2cec4bbd'
,
homeboys
:
'b0856a771ef1b59ab1234c74688fa42d'
,
homegirls
:
'2bd61fa12e4933211518f70fe5ce3c48'
,
homekids
:
'895c59e8c64b40399c9533509507320c'
,
homelifestyle
:
'2e037d4e25d2767352ca3e0a4627f7bd'
,
indexboys
:
'0c911d3000f52e8ca7cffb74f5864c29'
,
indexgirls
:
'b645b8980c423ab30485e0a9d08c2ef7'
,
indexkids
:
'17f6d5d5d454d2c507bc5fcbc90f7756'
,
indexlifestyle
:
'735cd393e841762af8793c346abbbc36'
};
/**
* cookie集合
* @type {Object}
*/
window
.
cookieMap
=
{};
function
actionExeCookieMap
()
{
var
cookies
=
document
.
cookie
;
var
cookiearr
=
cookies
.
split
(
';'
);
var
i
;
var
temparr
;
var
key
;
for
(
i
=
0
;
i
<
cookiearr
.
length
;
i
++
)
{
temparr
=
cookiearr
[
i
].
split
(
'='
);
key
=
temparr
[
0
].
replace
(
/
\s
/g
,
''
);
window
.
cookieMap
[
key
]
=
temparr
[
1
];
}
}
/**
* 获得banner & 异常通知
* @return {[type]} [description]
*/
function
actionGetBannerAndNotice
()
{
var
INDEXKIDS
=
'indexkids'
,
INDEXLIFESTYLE
=
'indexlifestyle'
,
INDEXBOYS
=
'indexboys'
,
INDEXWOMAN
=
'indexgirls'
,
UNIQUEBRAND
=
'uniquebrand'
;
var
url
=
window
.
location
.
href
;
var
host
=
window
.
location
.
host
;
var
code
=
''
;
var
firstarea
;
if
(
url
.
indexOf
(
'search'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
'search'
+
window
.
cookieMap
.
_Channel
];
}
if
(
url
.
indexOf
(
'list'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
'list'
+
window
.
cookieMap
.
_Channel
];
}
if
(
url
.
indexOf
(
'brands'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
'brands'
+
window
.
cookieMap
.
_Channel
];
}
if
(
url
.
indexOf
(
'new'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
'new'
+
window
.
cookieMap
.
_Channel
];
}
if
(
url
.
indexOf
(
'sale'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
'sale'
+
window
.
cookieMap
.
_Channel
];
}
if
(
url
.
indexOf
(
'home'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
'home'
+
window
.
cookieMap
.
_Channel
];
}
if
(
url
.
indexOf
(
'kids'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
INDEXKIDS
];
}
if
(
url
.
indexOf
(
'woman'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
INDEXWOMAN
];
}
if
(
url
.
indexOf
(
'lifestyle'
)
!==
-
1
)
{
code
=
window
.
bannerMap
[
INDEXLIFESTYLE
];
}
if
(
url
.
indexOf
(
'www.yohobuy.com'
)
!==
-
1
&&
window
.
location
.
pathname
===
'/'
)
{
code
=
window
.
bannerMap
[
INDEXBOYS
];
}
firstarea
=
host
.
split
(
'.'
)[
0
];
if
(
firstarea
!==
'list'
&&
firstarea
!==
'search'
&&
firstarea
!==
'www'
&&
firstarea
!==
'new'
&&
firstarea
!==
'item'
&&
firstarea
!==
'guang'
)
{
code
=
window
.
bannerMap
[
UNIQUEBRAND
+
window
.
cookieMap
.
_Channel
];
}
getBannerData
(
code
);
//获得banner信息
getNoticeData
(
code
);
//获得公告信息
}
function
brandSwitch
(
index
)
{
$
(
'.hot-brands'
).
find
(
'ul'
).
stop
().
animate
({
opacity
:
0
,
'z-index'
:
1
},
200
).
eq
(
index
).
animate
({
opacity
:
1
,
'z-index'
:
2
},
200
);
}
/**
* 品牌左右切换
* @return {[type]} [description]
*/
function
actionBrandChange
()
{
var
activeIndex
=
0
,
swiperLen
;
if
(
$
(
'.hot-brands'
).
size
()
>
0
)
{
swiperLen
=
$
(
'.hot-brands'
).
find
(
'ul'
).
size
();
$
(
'.hot-brands'
).
find
(
'ul'
).
eq
(
0
).
css
({
opacity
:
1
,
'z-index'
:
2
});
$
(
'.brands-control'
).
on
(
'click'
,
'.next'
,
function
()
{
if
(
activeIndex
===
swiperLen
-
1
)
{
activeIndex
=
0
;
}
else
{
activeIndex
++
;
}
brandSwitch
(
activeIndex
);
});
$
(
'.brands-control'
).
on
(
'click'
,
'.prev'
,
function
()
{
if
(
activeIndex
===
0
)
{
activeIndex
=
swiperLen
-
1
;
}
else
{
activeIndex
--
;
}
brandSwitch
(
activeIndex
);
});
}
}
/**
* 初始化函数
* @return {[type]} [description]
*/
exports
.
init
=
function
()
{
actionExeCookieMap
();
actionYoHoGroup
();
actionTopTagToggle
();
actionTopLogoAnimate
();
actionGetBannerAndNotice
();
actionBrandChange
();
actionAddKeyWords
();
};
\ No newline at end of file
...
...
web-static/js/home/home.js
View file @
9be7dfc
...
...
@@ -5,13 +5,14 @@
*/
var
$
=
require
(
'jquery'
),
Handlebars
=
require
(
'yoho.handlebars'
);
Handlebars
=
require
(
'yoho.handlebars'
),
lazyload
=
require
(
'yoho.lazyload'
);
require
(
'../common/linkage-slider'
);
require
(
'../common/slider2'
);
require
(
'../common/new-arrivls'
);
lazyload
(
$
(
'img.lazy'
));
$
(
'.slide-container'
).
linkageSlider
();
$
(
'.img-brand'
).
slider2
();
...
...
web-static/sass/_footer.scss
View file @
9be7dfc
...
...
@@ -8,7 +8,7 @@
font-weight
:
normal
;
font-style
:
normal
;
}
.
footer-page
{
.
yoho-footer
{
font-size
:
12px
;
/*----文字颜色----*/
.red
{
...
...
@@ -377,7 +377,7 @@
}
}
@media
(
max-width
:
1310px
){
.
footer-page
{
.
yoho-footer
{
.return-top
{
left
:
100%
;
right
:
20px
;
...
...
@@ -388,7 +388,7 @@
}
@media
(
min-width
:
1310px
){
.
footer-page
{
.
yoho-footer
{
.return-top
{
left
:
50%
;
margin-left
:
595px
;
...
...
@@ -396,7 +396,7 @@
}
}
@media
(
max-width
:
1180px
){
.
footer-page
{
.
yoho-footer
{
.screen
{
width
:
990px
;
margin-left
:
auto
;
...
...
@@ -476,7 +476,7 @@
}
}
@media
(
min-width
:
1180px
){
.
footer-page
{
.
yoho-footer
{
.screen
{
width
:
1150px
;
margin-left
:
auto
;
...
...
web-static/sass/_header.scss
View file @
9be7dfc
.
header-page
{
.
yoho-header
{
.header-topwrapper
{
width
:
100%
;
background-color
:
#f4f4f4
;
...
...
web-static/sass/home/_index.scss
View file @
9be7dfc
...
...
@@ -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
;
}
}
}
...
...
yohobuy/www.yohobuy.com/application/controllers/Boys.php
View file @
9be7dfc
...
...
@@ -9,210 +9,208 @@ class BoysController extends AbstractAction
public
function
indexAction
()
{
$headerdata
=
array
(
'gobytype'
=>
'gobuyboys'
,
'searchcate'
=>
'searchcateboys'
,
'navbars'
=>
array
(
array
(
'name_cn'
=>
'男生'
,
'name_en'
=>
'BOYS'
,
'link'
=>
''
,
'classname'
=>
'boys'
,
'index_main'
=>
0
,
'subnav'
=>
array
(
array
(
'name'
=>
'男首1'
,
'link'
=>
''
,
'index_sub'
=>
0
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
$headerdata
=
array
(
'gobytype'
=>
'gobuyboys'
,
'searchcate'
=>
'searchcateboys'
,
'navbars'
=>
array
(
array
(
'name_cn'
=>
'男生'
,
'name_en'
=>
'BOYS'
,
'link'
=>
''
,
'classname'
=>
'boys'
,
'index_main'
=>
0
,
'subnav'
=>
array
(
array
(
'name'
=>
'男首1'
,
'link'
=>
''
,
'index_sub'
=>
0
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
),
array
(
'name'
=>
'男首2'
,
'link'
=>
''
,
'index_sub'
=>
1
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
)
),
array
(
'name'
=>
'男首3'
,
'link'
=>
''
,
'index_sub'
=>
2
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
),
array
(
'name'
=>
'男首2'
,
'link'
=>
''
,
'index_sub'
=>
1
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
)
),
array
(
'name'
=>
'男首3'
,
'link'
=>
''
,
'index_sub'
=>
2
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
)
)
),
array
(
'name_cn'
=>
'女生'
,
'name_en'
=>
'GIRLS'
,
'link'
=>
'http=>//www.baidu.com'
,
'classname'
=>
''
,
'index_main'
=>
0
,
'subnav'
=>
array
(
array
(
'name'
=>
'女生1'
,
'link'
=>
''
,
'index_sub'
=>
0
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
)
),
array
(
'name_cn'
=>
'女生'
,
'name_en'
=>
'GIRLS'
,
'link'
=>
'http=>//www.baidu.com'
,
'classname'
=>
''
,
'index_main'
=>
0
,
'subnav'
=>
array
(
array
(
'name'
=>
'女生1'
,
'link'
=>
''
,
'index_sub'
=>
0
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
),
array
(
'name'
=>
'女生2'
,
'link'
=>
''
,
'index_sub'
=>
1
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
),
array
(
'name'
=>
'女生2'
,
'link'
=>
''
,
'index_sub'
=>
1
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
),
array
(
'name'
=>
'女生3'
,
'link'
=>
''
,
'index_sub'
=>
2
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
),
array
(
'name'
=>
'女生3'
,
'link'
=>
''
,
'index_sub'
=>
2
,
'thirdnav'
=>
array
(
array
(
'title'
=>
'上装'
,
'branditems'
=>
array
(
array
(
'brandname'
=>
'背心'
,
'link'
=>
''
),
array
(
'brandname'
=>
'T恤'
,
'link'
=>
''
)
)
)
)
)
)
)
),
)
),
'myyoho'
=>
array
(
'email'
=>
'hhh@126.com'
,
'viptype'
=>
'普通会员'
,
'currentscore'
=>
495
,
'totalscore'
=>
600
,
'cardtype'
=>
'银卡'
,
'infolist'
=>
array
(
array
(
'name'
=>
'待处理的订单'
,
'link'
=>
''
,
'num'
=>
'0'
),
array
(
'name'
=>
'我的收藏'
,
'link'
=>
''
,
'num'
=>
'1'
),
array
(
'name'
=>
'我的优惠券'
,
'link'
=>
''
,
'num'
=>
'2'
),
array
(
'name'
=>
'我的YOHO币'
,
'link'
=>
''
,
'num'
=>
'1'
),
array
(
'name'
=>
'我的退货换货'
,
'link'
=>
''
,
'num'
=>
'1'
)
'email'
=>
'hhh@126.com'
,
'viptype'
=>
'普通会员'
,
'currentscore'
=>
495
,
'totalscore'
=>
600
,
'cardtype'
=>
'银卡'
,
'infolist'
=>
array
(
array
(
'name'
=>
'待处理的订单'
,
'link'
=>
''
,
'num'
=>
'0'
),
'updlink'
=>
''
),
'gobuy'
=>
array
(
'gobuynum'
=>
3
),
'breadcrumbnav'
=>
array
(
array
(
'notend'
=>
array
(
'link'
=>
'http=>//www.baidu.com'
,
'name'
=>
'BOYS首页'
)
'name'
=>
'我的收藏'
,
'link'
=>
''
,
'num'
=>
'1'
),
array
(
'notend'
=>
array
(
'link'
=>
'http=>//www.baidu.com'
,
'name'
=>
'上衣'
)
array
(
'name'
=>
'我的优惠券'
,
'link'
=>
''
,
'num'
=>
'2'
),
array
(
'isend'
=>
array
(
'link'
=>
'http=>//www.baidu.com'
,
'name'
=>
'衬衫'
)
array
(
'name'
=>
'我的YOHO币'
,
'link'
=>
''
,
'num'
=>
'1'
),
array
(
'name'
=>
'我的退货换货'
,
'link'
=>
''
,
'num'
=>
'1'
)
),
'updlink'
=>
''
),
'gobuy'
=>
array
(
'gobuynum'
=>
3
),
'breadcrumbnav'
=>
array
(
array
(
'notend'
=>
array
(
'link'
=>
'http=>//www.baidu.com'
,
'name'
=>
'BOYS首页'
)
),
array
(
'notend'
=>
array
(
'link'
=>
'http=>//www.baidu.com'
,
'name'
=>
'上衣'
)
),
array
(
'isend'
=>
array
(
'link'
=>
'http=>//www.baidu.com'
,
'name'
=>
'衬衫'
)
)
)
);
$tpldata
=
array
(
'name'
=>
'潮人配饰 ORNAMENT'
,
...
...
@@ -265,164 +263,181 @@ 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'
)
),
'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'
)
),
'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'
'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'
=>
''
,
'img'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/27/03/0140fd98fd1c15c206d198d458e1c8e96f.jpg?imageView/1/w/377/h/504'
'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'
)
)
)
),
'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
(
'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'
)
)
)
),
'singlehot'
=>
array
(
'name'
=>
'单品 HOT'
,
'imgHot'
=>
array
(
array
(
array
(
'preferenceBrand'
=>
array
(
'name'
=>
'优选品牌 BRAND'
,
'imgBrand'
=>
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
(
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
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
(
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
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
(
'img'
=>
'http://img11.static.yhbimg.com/taobaocms/2015/11/30/01/01ebe6968476da9e79ddddfd28f60496c7.jpg'
),
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
(
'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
(
'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
(
'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
(
),
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
(
),
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'
)
)
)
),
'adbanner'
=>
array
(
'href'
=>
''
,
'img'
=>
''
),
'recommend'
=>
array
(
$tpldata
,
$tpldata
,
$tpldata
),
'newArrivls'
=>
array
(
'name'
=>
'最新上架 NEW ARRIVALS'
,
'navs'
=>
array
(
array
(
'id'
=>
''
,
'href'
=>
''
,
'name'
=>
'MORE'
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'
)
)
)
),
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
);
}
/**
...
...
Please
register
or
login
to post a comment