Commit 2fe25ed6b83cf3886f12b673eea40305ef20ed81
1 parent
248401a5
秒杀组件优化
Showing
2 changed files
with
3 additions
and
3 deletions
components/diy_seckill/diy_seckill.wxml
| @@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
| 41 | </view> | 41 | </view> |
| 42 | </block> | 42 | </block> |
| 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> | 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 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> | 45 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
| 46 | <view class="clor7b"> | 46 | <view class="clor7b"> |
| 47 | <text wx:if="{{object.seconds_num}}">已秒<text class="clor">{{aitem.buy_num}}</text>件</text> | 47 | <text wx:if="{{object.seconds_num}}">已秒<text class="clor">{{aitem.buy_num}}</text>件</text> |
| @@ -244,7 +244,7 @@ | @@ -244,7 +244,7 @@ | ||
| 244 | </view> | 244 | </view> |
| 245 | </block> | 245 | </block> |
| 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> | 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 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> | 248 | <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}"> |
| 249 | <view class="clor7b"> | 249 | <view class="clor7b"> |
| 250 | <text wx:if="{{object.seconds_num}}">已秒<text class="clor">{{aitem.buy_num}}</text>件</text> | 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,7 +328,7 @@ swiper { | ||
| 328 | } | 328 | } |
| 329 | .new_item1_time{ | 329 | .new_item1_time{ |
| 330 | height: 60rpx; | 330 | height: 60rpx; |
| 331 | - background: rgba(196, 24, 45, 1); | 331 | + background: #f23030; |
| 332 | color: #fff; | 332 | color: #fff; |
| 333 | /* font-size: 25rpx; */ | 333 | /* font-size: 25rpx; */ |
| 334 | font-size: 24rpx; | 334 | font-size: 24rpx; |