Commit 1d80bc8e34b3d71b0338f4d235faa90604203954

Authored by 前端开发-罗建龙
1 parent 1a078c7e

秒杀优化

components/diy_seckill/diy_seckill.wxml
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 52 <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
53 <view class="clor" > 53 <view class="clor" >
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> 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 </view> 56 </view>
57 </view> 57 </view>
58 </view> 58 </view>
@@ -101,7 +101,7 @@ @@ -101,7 +101,7 @@
101 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> 101 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
102 <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 102 <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
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> 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 </view> 105 </view>
106 </view> 106 </view>
107 <view> 107 <view>
@@ -149,7 +149,7 @@ @@ -149,7 +149,7 @@
149 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> 149 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
150 <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 150 <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
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> 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 </view> 153 </view>
154 </view> 154 </view>
155 <view> 155 <view>
@@ -195,7 +195,7 @@ @@ -195,7 +195,7 @@
195 <view class="new_item1_price clor7b" style="{{'width:100%;' + (object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}"> 195 <view class="new_item1_price clor7b" style="{{'width:100%;' + (object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
196 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> 196 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
197 <view style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 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 </view> 200 </view>
201 </view> 201 </view>
@@ -250,7 +250,7 @@ @@ -250,7 +250,7 @@
250 <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 250 <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
251 <view class="clor" > 251 <view class="clor" >
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> 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 </view> 254 </view>
255 </view> 255 </view>
256 </view> 256 </view>
@@ -289,7 +289,7 @@ @@ -289,7 +289,7 @@
289 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> 289 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
290 <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 290 <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
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> 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 </view> 293 </view>
294 </view> 294 </view>
295 <view> 295 <view>
@@ -327,7 +327,7 @@ @@ -327,7 +327,7 @@
327 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> 327 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
328 <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 328 <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
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> 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 </view> 331 </view>
332 </view> 332 </view>
333 <view> 333 <view>
@@ -374,7 +374,7 @@ @@ -374,7 +374,7 @@
374 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> 374 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
375 <view style="{{'font-size: 28rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 375 <view style="{{'font-size: 28rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
376 <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">¥<text style="font-size:42rpx;">{{aitem.price}}</text></view> 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 </view> 378 </view>
379 </view> 379 </view>
380 <view> 380 <view>
@@ -422,7 +422,7 @@ @@ -422,7 +422,7 @@
422 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> 422 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
423 <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}"> 423 <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
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> 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 </view> 426 </view>
427 </view> 427 </view>
428 <view> 428 <view>