Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
3366cf9bf9618685cded5c7050bab72c08f5e883
1 parent
ceff9c0f
special page
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
1 deletions
apps/product/controllers/outlets.js
apps/product/views/action/outlets/special.hbs
public/scss/product/outlets/_index.css
apps/product/controllers/outlets.js
View file @
3366cf9
...
...
@@ -283,5 +283,33 @@ exports.special = (req, res) => {
devEnv
:
true
};
data
.
mainBanner
=
{
list
:
[
{
href
:
'#'
,
img
:
'http://img10.static.yhbimg.com/brandBanner/2014/11/24/07/01ff74fb2a33764c2fd18b3c8a60f5beef.jpg'
},
{
href
:
'#'
,
img
:
'http://img10.static.yhbimg.com/brandBanner/2014/11/24/07/01ff74fb2a33764c2fd18b3c8a60f5beef.jpg'
},
{
href
:
'#'
,
img
:
'http://img10.static.yhbimg.com/brandBanner/2014/11/24/07/01ff74fb2a33764c2fd18b3c8a60f5beef.jpg'
}
],
href
:
'#'
,
img
:
'http://img10.static.yhbimg.com/brandBanner/2014/11/24/07/01ff74fb2a33764c2fd18b3c8a60f5beef.jpg'
};
data
.
specialHead
=
{
logo
:
'http://img10.static.yhbimg.com/brandLogo/2012/08/02/15/0119ad6a2407f5505268688a470d6f6c13.jpg'
,
special
:
'精品上装专场'
,
discount
:
'8'
,
title
:
'全部商品'
,
count
:
'123533'
,
limit
:
'20000'
};
res
.
render
(
'outlets/special'
,
data
);
};
...
...
apps/product/views/action/outlets/special.hbs
View file @
3366cf9
<p>
I am special page
</p>
\ No newline at end of file
<div
class=
"outlets-special-page outlets-page yoho-page"
>
{{>
common
/
main-banner
}}
<div
class=
"center-content clearfix"
>
{{>
common
/
special-head
}}
<div
class=
"list-left left"
>
{{>
product
/
left-content
}}
</div>
<div
class=
"list-right right"
>
{{>
product
/
standard-content
}}
</div>
</div>
</div>
...
...
public/scss/product/outlets/_index.css
View file @
3366cf9
...
...
@@ -280,7 +280,27 @@
margin
:
0
auto
;
}
}
.main-banner
{
height
:
360px
;
ul
{
width
:
100%
;
height
:
100%
;
position
:
relative
;
}
li
{
width
:
100%
;
height
:
100%
;
display
:
block
;
position
:
absolute
;
top
:
0
;
left
:
0
;
}
}
}
@import
"channel"
;
@import
"special"
;
@import
"main-product"
;
...
...
Please
register
or
login
to post a comment