Commit 407c7d27d581591d15116b7f0a223b0b95eaee55
1 parent
1612ac4e
健康商城商品标题增到36px
Showing
2 changed files
with
5 additions
and
1 deletions
src/components/goodsItem_7/goodsItem_7.less
| @@ -76,6 +76,9 @@ | @@ -76,6 +76,9 @@ | ||
| 76 | text-overflow: ellipsis; | 76 | text-overflow: ellipsis; |
| 77 | overflow: hidden; | 77 | overflow: hidden; |
| 78 | } | 78 | } |
| 79 | + .grey-title{ | ||
| 80 | + font-size: 36px; | ||
| 81 | + } | ||
| 79 | .coupon-box { | 82 | .coupon-box { |
| 80 | display: inline; | 83 | display: inline; |
| 81 | margin-top: 8px; | 84 | margin-top: 8px; |
| @@ -129,6 +132,7 @@ | @@ -129,6 +132,7 @@ | ||
| 129 | /**健康商城商品颜色*/ | 132 | /**健康商城商品颜色*/ |
| 130 | .grey-box{ | 133 | .grey-box{ |
| 131 | color: #3EB781; | 134 | color: #3EB781; |
| 135 | + font-size: 36px; | ||
| 132 | } | 136 | } |
| 133 | span { | 137 | span { |
| 134 | font-size: 24px; | 138 | font-size: 24px; |
src/components/goodsItem_7/goodsItem_7.vue
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | <slot name="flag"></slot> | 18 | <slot name="flag"></slot> |
| 19 | </div> | 19 | </div> |
| 20 | <div class="content-box"> | 20 | <div class="content-box"> |
| 21 | - <div class="title">{{item.title}}</div> | 21 | + <div class="title" :class="{'grey-title':company == 2}">{{item.title}}</div> |
| 22 | <!-- <div class="coupon-box"> | 22 | <!-- <div class="coupon-box"> |
| 23 | 满180减10 | 23 | 满180减10 |
| 24 | </div> --> | 24 | </div> --> |