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
Email Patches
Plain Diff
Browse Files
Authored by
Lynnic
9 years ago
Commit
6e5d0a3804313d21e1585a0a24f1e9ddb23be7ad
1 parent
a49ed130
模特表格中,空数据要留白
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
static/sass/product/_product-description.scss
template/m.yohobuy.com/partials/product/product-description.phtml
static/sass/product/_product-description.scss
View file @
6e5d0a3
...
...
@@ -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/partials/product/product-description.phtml
View file @
6e5d0a3
...
...
@@ -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