Showing
2 changed files
with
6 additions
and
5 deletions
@@ -47,14 +47,15 @@ | @@ -47,14 +47,15 @@ | ||
47 | font-size: 50px; | 47 | font-size: 50px; |
48 | } | 48 | } |
49 | p{ | 49 | p{ |
50 | - width: 55.517241%; | 50 | + width: 59.517241%; |
51 | height: auto; | 51 | height: auto; |
52 | - padding: 0 5% 18em / $pxConvertRem; | 52 | + margin: 0 3% 16em / $pxConvertRem; |
53 | float: left; | 53 | float: left; |
54 | &:first-of-type{ | 54 | &:first-of-type{ |
55 | - padding-top: 0.75rem; | 55 | + margin-top: 0.75rem; |
56 | font-size: 18px; | 56 | font-size: 18px; |
57 | - height: 76rem / $pxConvertRem; | 57 | + height: auto; |
58 | + min-height: 42px; | ||
58 | display: -webkit-box; | 59 | display: -webkit-box; |
59 | -webkit-line-clamp: 2; | 60 | -webkit-line-clamp: 2; |
60 | -webkit-box-orient: vertical; | 61 | -webkit-box-orient: vertical; |
1 | {{#coupons}} | 1 | {{#coupons}} |
2 | -<div class="employ-main" style="background-image:url('{{coupon_pic}}')"> | 2 | +<div class="employ-main"> |
3 | <span>{{ money}}</span> | 3 | <span>{{ money}}</span> |
4 | <p class="coupon-name">{{ coupon_name}}</p> | 4 | <p class="coupon-name">{{ coupon_name}}</p> |
5 | <p>有效期:{{ couponValidity}}</p> | 5 | <p>有效期:{{ couponValidity}}</p> |
-
Please register or login to post a comment