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
3deb334e40ed8de2535bf4356ebbb7f149bec103
2 parents
26aeed25
543917c4
Merge branch 'feature/detailFix' of git.dev.yoho.cn:web/yohobuy into feature/detailFix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
static/sass/product/_product-description.scss
template/m.yohobuy.com/partials/product/product-description.phtml
static/sass/product/_product-description.scss
View file @
3deb334
...
...
@@ -44,27 +44,24 @@
min-height
:
pxToRem
(
136px
);
margin
:
pxToRem
(
10px
)
0
;
text-align
:
center
;
display
:
flex
;
align-items
:
center
;
// width: 100%;
// border-bottom:1px solid $borderC;
img
{
position
:absolute
;
top
:
0
;
bottom
:
0
;
left
:
0
;
margin
:auto
;
//position:absolute;
//top:0;
//bottom:0;
//left:0;
//margin:auto;
//width: pxToRem(90px);
height
:
auto
;
padding-right
:
pxToRem
(
20px
);
//height: auto;
//padding-right: pxToRem(20px);
}
.material-image
{
display
:
inline-block
;
width
:
23%
;
min-height
:
pxToRem
(
136px
);
float
:
left
;
//background-size: 100%;
background-position-x
:
center
;
background-repeat
:
no-repeat
;
}
.material-desc
{
//padding-left:pxToRem(120px);
...
...
template/m.yohobuy.com/partials/product/product-description.phtml
View file @
3deb334
...
...
@@ -105,7 +105,9 @@
<p
class=
"material-desc"
>
{
{desc
}
}
</p>-->
<div
class=
"material-image"
style=
"background-image:url({{img}})"
></div>
<div
class=
"material-image"
>
<img
src=
"{{img}}"
alt=
"材质图"
>
</div>
<div
class=
"material-desc"
>
{
{desc
}
}
</div>
...
...
Please
register
or
login
to post a comment