Commit 1d80bc8e34b3d71b0338f4d235faa90604203954
1 parent
1a078c7e
秒杀优化
Showing
1 changed file
with
9 additions
and
9 deletions
components/diy_seckill/diy_seckill.wxml
... | ... | @@ -52,7 +52,7 @@ |
52 | 52 | <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
53 | 53 | <view class="clor" > |
54 | 54 | <text wx:if="{{object.commodity_price}}">¥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></text> |
55 | - <text style="margin-left: 5rpx;" wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.shop_price}}</text> | |
55 | + <text style="margin-left: 5rpx;" wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.market_price}}</text> | |
56 | 56 | </view> |
57 | 57 | </view> |
58 | 58 | </view> |
... | ... | @@ -101,7 +101,7 @@ |
101 | 101 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
102 | 102 | <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
103 | 103 | <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">¥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></view> |
104 | - <view wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.shop_price}}</view> | |
104 | + <view wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.market_price}}</view> | |
105 | 105 | </view> |
106 | 106 | </view> |
107 | 107 | <view> |
... | ... | @@ -149,7 +149,7 @@ |
149 | 149 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
150 | 150 | <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
151 | 151 | <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">¥<text class="pricefs38">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></view> |
152 | - <view wx:if="{{object.wholesale_price}}">¥{{aitem.shop_price}}</view> | |
152 | + <view wx:if="{{object.wholesale_price}}">¥{{aitem.market_price}}</view> | |
153 | 153 | </view> |
154 | 154 | </view> |
155 | 155 | <view> |
... | ... | @@ -195,7 +195,7 @@ |
195 | 195 | <view class="new_item1_price clor7b" style="{{'width:100%;' + (object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}"> |
196 | 196 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
197 | 197 | <view style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
198 | - <view class="clor" style="margin-right: 5rpx;" ><text wx:if="{{object.commodity_price}}">¥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></text><text style="color: #7b7b7b;margin-left: 5rpx;" wx:if="{{object.wholesale_price}}">¥{{aitem.shop_price}}</text></view> | |
198 | + <view class="clor" style="margin-right: 5rpx;" ><text wx:if="{{object.commodity_price}}">¥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></text><text style="color: #7b7b7b;margin-left: 5rpx;" wx:if="{{object.wholesale_price}}">¥{{aitem.market_price}}</text></view> | |
199 | 199 | |
200 | 200 | </view> |
201 | 201 | </view> |
... | ... | @@ -250,7 +250,7 @@ |
250 | 250 | <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
251 | 251 | <view class="clor" > |
252 | 252 | <text wx:if="{{object.commodity_price}}">¥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></text> |
253 | - <text style="margin-left: 5rpx;" wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.shop_price}}</text> | |
253 | + <text style="margin-left: 5rpx;" wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.market_price}}</text> | |
254 | 254 | </view> |
255 | 255 | </view> |
256 | 256 | </view> |
... | ... | @@ -289,7 +289,7 @@ |
289 | 289 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
290 | 290 | <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
291 | 291 | <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">¥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></view> |
292 | - <view wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.shop_price}}</view> | |
292 | + <view wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.market_price}}</view> | |
293 | 293 | </view> |
294 | 294 | </view> |
295 | 295 | <view> |
... | ... | @@ -327,7 +327,7 @@ |
327 | 327 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
328 | 328 | <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
329 | 329 | <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">¥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></view> |
330 | - <view wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.shop_price}}</view> | |
330 | + <view wx:if="{{object.wholesale_price}}" class="clor7b">¥{{aitem.market_price}}</view> | |
331 | 331 | </view> |
332 | 332 | </view> |
333 | 333 | <view> |
... | ... | @@ -374,7 +374,7 @@ |
374 | 374 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
375 | 375 | <view style="{{'font-size: 28rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
376 | 376 | <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">¥<text style="font-size:42rpx;">{{aitem.price}}</text></view> |
377 | - <view wx:if="{{object.wholesale_price}}">¥{{aitem.shop_price}}</view> | |
377 | + <view wx:if="{{object.wholesale_price}}">¥{{aitem.market_price}}</view> | |
378 | 378 | </view> |
379 | 379 | </view> |
380 | 380 | <view> |
... | ... | @@ -422,7 +422,7 @@ |
422 | 422 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
423 | 423 | <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> |
424 | 424 | <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">¥<text class="pricefs38">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></view> |
425 | - <view wx:if="{{object.wholesale_price}}">¥{{aitem.shop_price}}</view> | |
425 | + <view wx:if="{{object.wholesale_price}}">¥{{aitem.market_price}}</view> | |
426 | 426 | </view> |
427 | 427 | </view> |
428 | 428 | <view> | ... | ... |