Commit 7ec1bb7cb403cfb9fb86d8016e822f0b7a0fd769

Authored by taiyuan
1 parent 3b2ffe8f

上下架商品样式修改

packageA/pages/distribution/goods/goods.wxml
@@ -111,9 +111,9 @@ @@ -111,9 +111,9 @@
111 <view class="flex xc-wc ai-center"> 111 <view class="flex xc-wc ai-center">
112 <!-- <view class="fs24">¥</view> --> 112 <!-- <view class="fs24">¥</view> -->
113 <view class="fs30 money">{{filter.toFix(item[card_field],2)}}</view> 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 </view> 117 </view>
118 </view> 118 </view>
119 </view> 119 </view>
@@ -162,9 +162,9 @@ @@ -162,9 +162,9 @@
162 <view class="price flex ai-center"> 162 <view class="price flex ai-center">
163 <!-- <view class="fs22">¥</view> --> 163 <!-- <view class="fs22">¥</view> -->
164 <view class="fs28 money">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2)}}</view> 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 </view> 168 </view>
169 </view> 169 </view>
170 </view> 170 </view>
@@ -252,9 +252,9 @@ @@ -252,9 +252,9 @@
252 <view class="flex xc-wc ai-center"> 252 <view class="flex xc-wc ai-center">
253 <!-- <view class="fs24">¥</view> --> 253 <!-- <view class="fs24">¥</view> -->
254 <view class="fs30 money">{{filter.toFix(item[card_field],2)}}</view> 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 <image src="{{imghost + 'miniapp/images/plus/dj_icon.png'}}" class="badge"></image> 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 </view> 258 </view>
259 </view> 259 </view>
260 </view> 260 </view>
@@ -303,9 +303,9 @@ @@ -303,9 +303,9 @@
303 <view class="price flex ai-center"> 303 <view class="price flex ai-center">
304 <!-- <view class="fs22">¥</view> --> 304 <!-- <view class="fs22">¥</view> -->
305 <view class="fs28 money">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2)}}</view> 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 </view> 309 </view>
310 </view> 310 </view>
311 </view> 311 </view>
packageA/pages/distribution/goods/goods.wxss
@@ -337,10 +337,10 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before { @@ -337,10 +337,10 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
337 .card_bg { 337 .card_bg {
338 box-sizing: border-box; 338 box-sizing: border-box;
339 padding: 2rpx 10rpx; 339 padding: 2rpx 10rpx;
340 - /* height: 28rpx; */ 340 + height: 28rpx;
341 border-radius: 26rpx; 341 border-radius: 26rpx;
342 font-size: 20rpx; 342 font-size: 20rpx;
343 - /* line-height: 28rpx; */ 343 + line-height: 28rpx;
344 max-width: 200rpx; 344 max-width: 200rpx;
345 background: #333; 345 background: #333;
346 color: #fff; 346 color: #fff;
@@ -351,5 +351,12 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before { @@ -351,5 +351,12 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
351 top: -4rpx; */ 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
packageA/pages/distribution/shop/shop.wxss
@@ -618,3 +618,5 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before { @@ -618,3 +618,5 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
618 618
619 619
620 620
  621 +
  622 +