Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-frontend
·
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
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2015-05-14 16:28:07 +0800
Commit
f91af3313be4eba46318599ef7360af9bd2d9829
1 parent
7497b8be
分离更多商品
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
31 deletions
mobile/public/js/data.js
mobile/public/sass/common/_more-prods.scss
mobile/public/sass/module/_saunter.scss
mobile/public/sass/saunter/_article-type-five.scss
mobile/views/partials/common/more-prods.html
mobile/views/partials/saunter/article-type-five.html
mobile/views/partials/saunter/article.html
mobile/public/js/data.js
View file @
f91af33
...
...
@@ -95,11 +95,13 @@ module.exports = function(flag) {
isNew
:
true
,
url
:
''
}
],
moreProds
:
''
]
}
},
{
moreProds
:
''
},
{
bigImage
:
{
src
:
'http://7xidk0.com1.z0.glb.clouddn.com/bg.png'
,
alt
:
'复古风'
...
...
@@ -204,8 +206,7 @@ module.exports = function(flag) {
isNew
:
true
,
url
:
''
}
],
moreProds
:
''
]
}
},
{
...
...
mobile/public/sass/common/_more-prods.scss
0 → 100644
View file @
f91af33
.more-good
{
padding
:
0
0
0
30rem
/
$pxConvertRem
;
margin-top
:
-30rem
/
$pxConvertRem
;
margin-bottom
:
30rem
/
$pxConvertRem
;
background-color
:
#fff
;
line-height
:
88rem
/
$pxConvertRem
;
border-bottom
:
1px
solid
#e0e0e0
;
a
{
text-decoration
:
none
;
color
:
#444
;
font-size
:
30rem
/
$pxConvertRem
;
}
i
{
float
:
right
;
margin
:
0
30rem
/
$pxConvertRem
0
0
;
font-size
:
28rem
/
$pxConvertRem
;
color
:
#b0b0b0
}
}
\ No newline at end of file
...
...
mobile/public/sass/module/_saunter.scss
View file @
f91af33
@import
"../saunter/article-author"
,
"../saunter/article"
,
"../saunter/related-brand"
,
"../saunter/article-tag"
,
"../saunter/related-post"
;
@import
"../saunter/article-author"
,
"../saunter/article"
,
"../saunter/related-brand"
,
"../saunter/article-tag"
,
"../saunter/related-post"
,
"../common/more-prods"
;
#wrapper
{
position
:
absolute
;
...
...
mobile/public/sass/saunter/_article-type-five.scss
View file @
f91af33
...
...
@@ -13,24 +13,4 @@
color
:
#b0b0b0
;
text-align
:
center
;
}
.more-good
{
padding
:
0
0
0
30rem
/
$pxConvertRem
;
margin
:
0
0
0
-15rem
/
$pxConvertRem
;
line-height
:
88rem
/
$pxConvertRem
;
border-top
:
1px
solid
#e0e0e0
;
a
{
text-decoration
:
none
;
color
:
#444
;
font-size
:
30rem
/
$pxConvertRem
;
}
i
{
float
:
right
;
margin
:
0
30rem
/
$pxConvertRem
0
0
;
font-size
:
28rem
/
$pxConvertRem
;
color
:
#b0b0b0
}
}
}
\ No newline at end of file
...
...
mobile/views/partials/common/more-prods.html
0 → 100644
View file @
f91af33
{{#moreProds}}
<div
class=
"more-good clearfix"
>
<a
href=
"{{.}}"
>
更多商品
<i
class=
"iconfont"
>

</i>
</a>
</div>
{{/moreProds}}
\ No newline at end of file
...
...
mobile/views/partials/saunter/article-type-five.html
View file @
f91af33
...
...
@@ -6,11 +6,5 @@
{{> common/good_info}}
{{/ list}}
</div>
<div
class=
"more-good clearfix"
>
<a
href=
"{{moreProds}}"
>
更多商品
<i
class=
"iconfont"
>

</i>
</a>
</div>
</div>
{{/ recommendation}}
...
...
mobile/views/partials/saunter/article.html
View file @
f91af33
...
...
@@ -6,5 +6,6 @@
{{> saunter/article_type_three}}
{{> saunter/article_type_four}}
{{> saunter/article_type_five}}
{{> common/more_prods}}
{{/ content}}
{{/ article}}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment