Commit 7ec1bb7cb403cfb9fb86d8016e822f0b7a0fd769
1 parent
3b2ffe8f
上下架商品样式修改
Showing
3 changed files
with
22 additions
and
13 deletions
packageA/pages/distribution/goods/goods.wxml
| ... | ... | @@ -111,9 +111,9 @@ |
| 111 | 111 | <view class="flex xc-wc ai-center"> |
| 112 | 112 | <!-- <view class="fs24">¥</view> --> |
| 113 | 113 | <view class="fs30 money">{{filter.toFix(item[card_field],2)}}</view> |
| 114 | - <view class="card_bg ellipsis-1"> | |
| 115 | - <image src="{{url + 'miniapp/images/plus/dj_icon.png'}}"></image> | |
| 116 | - <text class="card_name">{{card_name}}</text> | |
| 114 | + <view class="card_bg"> | |
| 115 | + <image src="{{imghost + 'miniapp/images/plus/dj_icon.png'}}"></image> | |
| 116 | + <text class="card_name ellipsis-1">{{card_name}}</text> | |
| 117 | 117 | </view> |
| 118 | 118 | </view> |
| 119 | 119 | </view> |
| ... | ... | @@ -162,9 +162,9 @@ |
| 162 | 162 | <view class="price flex ai-center"> |
| 163 | 163 | <!-- <view class="fs22">¥</view> --> |
| 164 | 164 | <view class="fs28 money">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2)}}</view> |
| 165 | - <view class="card_bg ellipsis-1"> | |
| 166 | - <image src="{{url + 'miniapp/images/plus/dj_icon.png'}}" class="badge"></ image> | |
| 167 | - <text class="card_name">{{g_filter.get_card_price(item,card_list,1)}}</text> | |
| 165 | + <view class="card_bg"> | |
| 166 | + <image src="{{imghost + 'miniapp/images/plus/dj_icon.png'}}" class="badge"></ image> | |
| 167 | + <text class="card_name ellipsis-1">{{g_filter.get_card_price(item,card_list,1)}}</text> | |
| 168 | 168 | </view> |
| 169 | 169 | </view> |
| 170 | 170 | </view> |
| ... | ... | @@ -252,9 +252,9 @@ |
| 252 | 252 | <view class="flex xc-wc ai-center"> |
| 253 | 253 | <!-- <view class="fs24">¥</view> --> |
| 254 | 254 | <view class="fs30 money">{{filter.toFix(item[card_field],2)}}</view> |
| 255 | - <view class="card_bg ellipsis-1"> | |
| 255 | + <view class="card_bg"> | |
| 256 | 256 | <image src="{{imghost + 'miniapp/images/plus/dj_icon.png'}}" class="badge"></image> |
| 257 | - <text class="card_name">{{card_name}}</text> | |
| 257 | + <text class="card_name ellipsis-1">{{card_name}}</text> | |
| 258 | 258 | </view> |
| 259 | 259 | </view> |
| 260 | 260 | </view> |
| ... | ... | @@ -303,9 +303,9 @@ |
| 303 | 303 | <view class="price flex ai-center"> |
| 304 | 304 | <!-- <view class="fs22">¥</view> --> |
| 305 | 305 | <view class="fs28 money">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2)}}</view> |
| 306 | - <view class="card_bg ellipsis-1"> | |
| 307 | - <image src="{{url + 'miniapp/images/plus/dj_icon.png'}}"></ image> | |
| 308 | - <text class="card_name">{{g_filter.get_card_price(item,card_list,1)}}</text> | |
| 306 | + <view class="card_bg"> | |
| 307 | + <image src="{{imghost + 'miniapp/images/plus/dj_icon.png'}}"></ image> | |
| 308 | + <text class="card_name ellipsis-1">{{g_filter.get_card_price(item,card_list,1)}}</text> | |
| 309 | 309 | </view> |
| 310 | 310 | </view> |
| 311 | 311 | </view> | ... | ... |
packageA/pages/distribution/goods/goods.wxss
| ... | ... | @@ -337,10 +337,10 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before { |
| 337 | 337 | .card_bg { |
| 338 | 338 | box-sizing: border-box; |
| 339 | 339 | padding: 2rpx 10rpx; |
| 340 | - /* height: 28rpx; */ | |
| 340 | + height: 28rpx; | |
| 341 | 341 | border-radius: 26rpx; |
| 342 | 342 | font-size: 20rpx; |
| 343 | - /* line-height: 28rpx; */ | |
| 343 | + line-height: 28rpx; | |
| 344 | 344 | max-width: 200rpx; |
| 345 | 345 | background: #333; |
| 346 | 346 | color: #fff; |
| ... | ... | @@ -351,5 +351,12 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before { |
| 351 | 351 | top: -4rpx; */ |
| 352 | 352 | } |
| 353 | 353 | |
| 354 | +.card_bg image { | |
| 355 | + width: 19rpx; | |
| 356 | + height: 19rpx; | |
| 357 | + margin-right: 8rpx; | |
| 358 | +} | |
| 359 | + | |
| 360 | + | |
| 354 | 361 | |
| 355 | 362 | ... | ... |