Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
Lynnic
9 years ago
Commit
7d296d45b11103aa06d93c106d5527bd940233de
1 parent
02ce398d
update
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
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/_product-description.scss
View file @
7d296d4
...
...
@@ -5,6 +5,11 @@
height
:
pxToRem
(
28px
);
margin-top
:
pxToRem
(
22px
);
}
.detail
{
&
.table
.inner-container
{
background-color
:
$tableCellC
;
}
}
.desc-text
{
font-size
:
pxToRem
(
24px
);
margin-bottom
:
pxToRem
(
20px
);
...
...
@@ -51,10 +56,10 @@
padding-right
:
pxToRem
(
15px
);
}
// padding-bottom:pxToRem(18px);
.tip
{
// width: pxToRem(73px);
width
:
16
.666%
;
.tip
{
display
:
inline-block
;
width
:
16
.6%
;
float
:left
;
// margin-right: pxToRem(24px);
img
{
width
:
pxToRem
(
48px
);
...
...
@@ -63,11 +68,13 @@
}
.caption
{
display
:
block
;
padding
:
0
pxToRem
(
13px
);
font-size
:
pxToRem
(
18px
);
line-height
:
pxToRem
(
22px
);
margin-bottom
:
pxToRem
(
18px
);
}
}
}
.product-detail
{
.detail
{
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
7d296d4
...
...
@@ -87,6 +87,8 @@
<div
class=
"gap-block"
></div>
{
{>
product/product_description
}
}
{
{#cartInfo
}
}
<div
class=
"cart-bar"
>
<span
class=
"num-tag"
>
{
{numInCart
}
}</span>
...
...
template/m.yohobuy.com/partials/product/product_description.phtml
View file @
7d296d4
...
...
@@ -6,13 +6,14 @@
<span
class=
"en-title"
>
{
{enTitle
}
}</span>
</h
1
>
{
{#detail
}
}
<
ul
class=
"detail table clearfix"
>
<
div
class=
"detail table clearfix"
>
<!--
<li
class=
"row"
>
-->
<div
class=
"inner-container"
></div>
{
{#list
}
}
<div
class=
"column"
>
{
{param
}
}</div>
{
{/list
}
}
<!--
</li>
-->
</
ul
>
</
div
>
{
{/detail
}
}
<div
class=
"desc-text"
>
{
{desc
}
}</div>
</div>
...
...
@@ -114,12 +115,14 @@
{
{/materials
}
}
<div
class=
"wash-tips page-block"
>
<div
class=
"detail table clearfix"
>
{
{#washTips
}
}
<div
class=
"tip"
>
<img
src=
"{{img}}"
alt=
""
>
<span
class=
"caption"
>
{
{caption
}
}</span>
</div>
{
{/washTips
}
}
</div>
</div>
<!--
{
{#washTips
}
}
...
...
Please
register
or
login
to post a comment