Authored by 周少峰

Merge branch 'feature/students' into release/4.9.1.0

1 KB | W: | H:

1.84 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -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 {
... ...
... ... @@ -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}}
... ...