Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
3a826d1ce96dcd9666c176d5d70e74687a409934
2 parents
58956ca3
0b7d9863
Merge branch 'feature/students' into release/4.9.1.0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
compile/m.yohobuy.com/.DS_Store
static/img/product/price-tag.png
static/sass/_good.css
template/m.yohobuy.com/partials/good.phtml
compile/m.yohobuy.com/.DS_Store
View file @
3a826d1
No preview for this file type
static/img/product/price-tag.png
View file @
3a826d1
1 KB
|
W:
|
H:
1.84 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/sass/_good.css
View file @
3a826d1
...
...
@@ -95,14 +95,18 @@
.good-detail-text
{
.name
a
{
display
:
block
;
display
:
-webkit-box
;
overflow
:
hidden
;
word-break
:
break-all
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
margin
:
15px
0
10px
;
min-height
:
50px
;
color
:
#444
;
font-size
:
22px
;
line-height
:
30px
;
height
:
60px
;
padding
:
5px
0
;
/* 商品标题限制行数的bug修复 增加元素的clientHeight */
height
:
55px
;
padding
:
5px
0
;
/* 商品标题限制行数的bug修复 增加元素的clientHeight */
}
.price
{
line-height
:
22px
;
...
...
@@ -119,14 +123,13 @@
text-decoration
:
line-through
;
}
.students-price-tag
{
display
:
inline-block
;
text-align
:
center
;
background
:
resolve
(
'product/price-tag.png'
)
no-repeat
center
;
background-size
:
contain
;
color
:
#fff
;
font-size
:
18px
;
width
:
77px
;
width
:
79px
;
height
:
26px
;
padding
:
2px
10px
;
}
}
.student-price
{
...
...
template/m.yohobuy.com/partials/good.phtml
View file @
3a826d1
...
...
@@ -35,7 +35,7 @@
<div
class=
"price {{#if students}}student-price{{/if}}"
>
{
{#if
students
}
}
<span
class=
"sale-price {{^price}}no-price{{/price}}"
>¥
{
{studentPrice
}
}</span>
<span
class=
"students-price-tag"
>
学生价
</span>
<span
class=
"students-price-tag"
></span>
{
{#salePrice
}
}
<span
class=
"market-price"
>¥
{
{.
}
}</span>
{
{/salePrice
}
}
...
...
Please
register
or
login
to post a comment