Browse Source

[限时抢购list按钮][修改]:限时抢购list的按钮 售价未0的显示领取按钮

tags/2.2.4
meo 6 years ago
parent
commit
2f5d152c5d
2 changed files with 4 additions and 5 deletions
  1. +2
    -3
      pages/bannerdetail/index.wxss
  2. +2
    -2
      pages/rushToBuy/index.wxml

+ 2
- 3
pages/bannerdetail/index.wxss View File

@@ -36,7 +36,7 @@


.coupons_info view:nth-child(1) text { .coupons_info view:nth-child(1) text {
font-size: 30rpx; font-size: 30rpx;
margin-top: 3%;
margin-top: 10%;
} }


.coupons_info view:nth-child(1) text:nth-child(1) text { .coupons_info view:nth-child(1) text:nth-child(1) text {
@@ -147,7 +147,6 @@
padding: 0 4%; padding: 0 4%;
line-height: 87rpx; line-height: 87rpx;
background: #fff; background: #fff;
border-bottom: 1rpx solid #f5f5f5;
border-top: 1rpx solid #f5f5f5; border-top: 1rpx solid #f5f5f5;
} }


@@ -159,7 +158,7 @@
.notes view:nth-child(2) { .notes view:nth-child(2) {
width: 92%; width: 92%;
height: auto; height: auto;
padding:4%;
padding:0 4% 4%;
background: #fff; background: #fff;
border-bottom: 1rpx solid #f5f5f5; border-bottom: 1rpx solid #f5f5f5;
display: flex; display: flex;


+ 2
- 2
pages/rushToBuy/index.wxml View File

@@ -25,8 +25,8 @@
</view> </view>
<view class='flashSaleItemBottomBottm'> <view class='flashSaleItemBottomBottm'>
<view class="view1"><text class="remainingNumber">剩余件数:</text><text class='realnumber'>{{item.remainInventory}}件</text></view> <view class="view1"><text class="remainingNumber">剩余件数:</text><text class='realnumber'>{{item.remainInventory}}件</text></view>
<view class='buy' wx:if="{{item.priceStr!=0}}">购买</view>
<view class='buy' wx:if="{{item.priceStr==0}}">领取</view>
<view class='buy' wx:if="{{item.salePriceStr!=0}}">购买</view>
<view class='buy' wx:if="{{item.salePriceStr==0}}">领取</view>
</view> </view>
</view> </view>
</view> </view>


Loading…
Cancel
Save