Commit 1bcc71f3da6f2d746b1bbf111085662a602f08ff
Merge branch 'version_2.0.0_optimization_mall_update' of http://bj.gitlab.cnlive…
….com/w-front-end/select_good into version_2.0.0_optimization_mall_update
Showing
2 changed files
with
12 additions
and
2 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; |
| ... | ... | @@ -126,9 +129,16 @@ |
| 126 | 129 | line-height: 50px; |
| 127 | 130 | display: flex; |
| 128 | 131 | align-items: center; |
| 132 | + /**红色字*/ | |
| 133 | + .num{ | |
| 134 | + font-size: 36px; | |
| 135 | + font-weight: 500; | |
| 136 | + color: #FC1541; | |
| 137 | + } | |
| 129 | 138 | /**健康商城商品颜色*/ |
| 130 | 139 | .grey-box{ |
| 131 | 140 | color: #3EB781; |
| 141 | + font-size: 36px; | |
| 132 | 142 | } |
| 133 | 143 | span { |
| 134 | 144 | 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> --> |
| ... | ... | @@ -28,7 +28,7 @@ |
| 28 | 28 | </div> |
| 29 | 29 | <!-- 积分 --> |
| 30 | 30 | <div v-else-if="company == 1 || company == 2" class="grade-box" > |
| 31 | - <span :class="{'grey-box':company == 2}">{{item.num}}</span> | |
| 31 | + <span class="num" :class="{'grey-box':company == 2}">{{item.num}}</span> | |
| 32 | 32 | <span v-if="company==1">积分</span><span v-else>健康值</span> |
| 33 | 33 | </div> |
| 34 | 34 | <!-- 价格 --> | ... | ... |