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
Email Patches
Plain Diff
Browse Files
Authored by
yangyang
9 years ago
Commit
2b7ef7da41031992d2832babb5ef4c49c5920bd5
1 parent
5cdb1598
修改new页数据,填写banner假数据
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
yohobuy/www.yohobuy.com/application/models/Product/New.php
yohobuy/www.yohobuy.com/application/models/Product/New.php
View file @
2b7ef7d
...
...
@@ -39,6 +39,39 @@ class NewModel
$result
[
'data'
][
'filter'
][
'review'
]
=
Search
::
getRecentReview
();
// 组织模板数据
$data
=
HelperSearch
::
getList
(
$result
,
$options
);
//new页面模拟数据
$data
[
'newMain'
]
=
array
(
'banner'
=>
'http://img11.static.yhbimg.com/yhb-img01/2015/11/23/07/010a459d41b99a839cba9377532f1c19b2.jpg?imageView/3/w/970/h/200'
,
'date'
=>
'12月16日'
,
'title'
=>
'新品到着'
,
'brands'
=>
array
(
array
(
'href'
=>
''
,
'logo'
=>
'http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageView/2/w/170/h/120'
),
array
(
'href'
=>
''
,
'logo'
=>
'http://img13.static.yhbimg.com/brandLogo/2012/11/09/09/023721f44182f775d79904010af421331e.jpg?imageView/2/w/170/h/120'
),
array
(
'href'
=>
''
,
'logo'
=>
'http://img11.static.yhbimg.com/brandLogo/2012/12/13/17/01408fb72646c8f3fa59d870514f08a356.jpg?imageView/2/w/170/h/120'
),
array
(
'href'
=>
''
,
'logo'
=>
'http://img13.static.yhbimg.com/brandLogo/2012/12/24/13/0265b45e37af697c5ba12d5415fb341f27.jpg?imageView/2/w/170/h/120'
),
array
(
'href'
=>
''
,
'logo'
=>
'http://img11.static.yhbimg.com/brandLogo/2015/08/11/15/012d09a5cae187af1f6f3ed246b9b5a4fc.jpg?imageView/2/w/170/h/120'
),
array
(
'href'
=>
''
,
'logo'
=>
'http://img11.static.yhbimg.com/brandLogo/2015/08/20/16/01047ffb3ca182871821d551af31ac2378.jpg?imageView/2/w/170/h/120'
)
)
);
}
return
array
(
...
...
Please
register
or
login
to post a comment