Commit 2fe25ed6b83cf3886f12b673eea40305ef20ed81

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

秒杀组件优化

components/diy_seckill/diy_seckill.wxml
... ... @@ -41,7 +41,7 @@
41 41 </view>
42 42 </block>
43 43 <view class="ellipsis-2n new_item1_goods_name" style="{{(object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
44   - <view class="new_item1_price" style="{{'padding:10rpx 10rpx 0rpx;'+(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
  44 + <view class="new_item1_price" style="{{'padding:10rpx 10rpx;'+(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
45 45 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
46 46 <view class="clor7b">
47 47 <text wx:if="{{object.seconds_num}}">已秒<text class="clor">{{aitem.buy_num}}</text>件</text>
... ... @@ -244,7 +244,7 @@
244 244 </view>
245 245 </block>
246 246 <view class="ellipsis-2n new_item1_goods_name" style="{{(object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
247   - <view class="new_item1_price" style="{{'padding:10rpx 10rpx 0rpx;'+(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
  247 + <view class="new_item1_price" style="{{'padding:10rpx 10rpx;'+(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
248 248 <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
249 249 <view class="clor7b">
250 250 <text wx:if="{{object.seconds_num}}">已秒<text class="clor">{{aitem.buy_num}}</text>件</text>
... ...
components/diy_seckill/diy_seckill.wxss
... ... @@ -328,7 +328,7 @@ swiper {
328 328 }
329 329 .new_item1_time{
330 330 height: 60rpx;
331   - background: rgba(196, 24, 45, 1);
  331 + background: #f23030;
332 332 color: #fff;
333 333 /* font-size: 25rpx; */
334 334 font-size: 24rpx;
... ...