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
Lynnic
9 years ago
Commit
3a85fdba2f481cd16a827922b6b4de5191d59338
2 parents
2aef8de8
0ab6b4f9
Merge branch 'feature/detailFix' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
12 deletions
static/sass/product/_detail.scss
static/sass/product/_product-description.scss
template/m.yohobuy.com/actions/product/detail/index.phtml
template/m.yohobuy.com/partials/product/product-description.phtml
static/sass/product/_detail.scss
View file @
3a85fdb
...
...
@@ -114,6 +114,10 @@ $basicBtnC:#eb0313;
background-color
:
#000
;
color
:
#fff
;
}
.yohood-tag
{
background-color
:
#000
;
color
:
#fff
;
}
.limit-tag
{
border
:
1px
solid
#000
;
background-color
:
#fff
;
...
...
@@ -131,7 +135,7 @@ $basicBtnC:#eb0313;
// overflow: hidden;
}
.banner-top-single
{
height
:pxToRem
(
600px
)
;
width
:
pxToRem
(
448px
);
margin
:pxToRem
(
30px
)
pxToRem
(
72px
)
;
overflow
:
hidden
;
...
...
static/sass/product/_product-description.scss
View file @
3a85fdb
...
...
@@ -130,9 +130,10 @@
div
{
text-align
:
center
;
&
.cell
{
line-height
:
pxToRem
(
53px
);
font-size
:
pxToRem
(
24px
);
background-color
:
$tableCellC
;
padding
:
pxToRem
(
15px
)
pxToRem
(
40px
);
padding
:
0
pxToRem
(
40px
);
border
:
1px
solid
#fff
;
}
}
...
...
@@ -143,14 +144,15 @@
#reference-swiper-container
{
.first-group
{
width
:
pxToRem
(
70px
);
margin-top
:
pxToRem
(
66px
);
.avatar
{
// line-height: pxToRem(40px);
display
:
inline-block
;
width
:
pxToRem
(
40px
);
border-radius
:
50%
;
height
:
pxToRem
(
40px
);
margin
:
pxToRem
(
12px
)
0
;
margin-top
:
pxToRem
(
55px
);
div
{
height
:
pxToRem
(
55px
);
.avatar
{
display
:
inline-block
;
width
:
pxToRem
(
40px
);
border-radius
:
50%
;
margin-top
:pxToRem
(
7px
)
;
}
}
}
}
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
3a85fdb
...
...
@@ -13,7 +13,7 @@
<p
class=
"good-tag sale-tag"
>SALE</p>
{
{/
is_discount
}
}
{
{#
is_yohoood
}
}
<div
class=
"good-tag yohood-tag"
></div>
<div
class=
"good-tag yohood-tag"
>
新品节
</div>
{
{/
is_yohoood
}
}
{
{#
is_limited
}
}
<p
class=
"good-tag limit-tag"
>限量商品</p>
...
...
@@ -113,6 +113,7 @@
{
{/
enterStore
}
}
<div
id=
"productDesc"
>
</div>
<!--
{
{>
product/product-description
}
}
-->
{
{>
product/recommend-for-you
}
}
{
{#cartInfo
}
}
...
...
template/m.yohobuy.com/partials/product/product-description.phtml
View file @
3a85fdb
...
...
@@ -72,7 +72,9 @@
{
{#params
}
}
{
{#if
@first
}
}
{
{else
}
}
<img
class=
"avatar lazy"
data-original=
"{{param}}"
alt=
""
>
<div>
<img
class=
"avatar lazy"
data-original=
"{{param}}"
alt=
""
>
</div>
{
{/if
}
}
{
{/params
}
}
</div>
...
...
Please
register
or
login
to post a comment