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 | 76 | text-overflow: ellipsis; |
| 77 | 77 | overflow: hidden; |
| 78 | 78 | } |
| 79 | + .grey-title{ | |
| 80 | + font-size: 36px; | |
| 81 | + } | |
| 79 | 82 | .coupon-box { |
| 80 | 83 | display: inline; |
| 81 | 84 | margin-top: 8px; |
| ... | ... | @@ -129,6 +132,7 @@ |
| 129 | 132 | /**健康商城商品颜色*/ |
| 130 | 133 | .grey-box{ |
| 131 | 134 | color: #3EB781; |
| 135 | + font-size: 36px; | |
| 132 | 136 | } |
| 133 | 137 | span { |
| 134 | 138 | font-size: 24px; | ... | ... |
src/components/goodsItem_7/goodsItem_7.vue
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | <slot name="flag"></slot> |
| 19 | 19 | </div> |
| 20 | 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 | 22 | <!-- <div class="coupon-box"> |
| 23 | 23 | 满180减10 |
| 24 | 24 | </div> --> | ... | ... |