Browse Source

[砍价列表][修改][样式]

tags/河北版C.8.2.0^2
hurui 5 years ago
parent
commit
3549a91b73
3 changed files with 18 additions and 11 deletions
  1. +11
    -8
      pages/bargain/bargain.wxml
  2. +6
    -2
      pages/bargain/bargain.wxss
  3. +1
    -1
      pages/spellGroup/spellGroup.wxml

+ 11
- 8
pages/bargain/bargain.wxml View File

@@ -15,7 +15,10 @@
<view class="fl ri" hover-class="none" hover-stop-propagation="false"> <view class="fl ri" hover-class="none" hover-stop-propagation="false">
<text class="txt01">{{item.title}}</text> <text class="txt01">{{item.title}}</text>
<!-- <text class="txt02">{{item.subTitle}}</text> --> <!-- <text class="txt02">{{item.subTitle}}</text> -->
<view class="txt04">可砍至¥<text class="money">{{item.salePriceStr}}</text></view>
<view class="txt04">
<view>可砍至¥</view>
<view class="money">{{item.salePriceStr}}</view>
</view>
<text class="txt03">原价{{item.priceStr}}</text> <text class="txt03">原价{{item.priceStr}}</text>
</view> </view>
<view class="botton" wx:if="{{item.remainInventory != 0}}" hover-class="none" hover-stop-propagation="false">发起砍价</view> <view class="botton" wx:if="{{item.remainInventory != 0}}" hover-class="none" hover-stop-propagation="false">发起砍价</view>
@@ -31,16 +34,16 @@
<image class="frImg" wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}" src="{{orangeImg}}" mode="aspectFill" lazy-load="true"><text>进行中</text></image> <image class="frImg" wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}" src="{{orangeImg}}" mode="aspectFill" lazy-load="true"><text>进行中</text></image>
<image class="frImg" wx:if="{{item.orderStatus == 7}}" src="{{blueImg}}" mode="aspectFill" lazy-load="true"><text>已完成</text></image> <image class="frImg" wx:if="{{item.orderStatus == 7}}" src="{{blueImg}}" mode="aspectFill" lazy-load="true"><text>已完成</text></image>
<image class="frImg" wx:if="{{item.orderStatus == 8||item.orderStatus == 6&&todayDate>item.pressEndDate}}" src="{{grayImg}}" mode="aspectFill" lazy-load="true"><text>已失效</text></image> <image class="frImg" wx:if="{{item.orderStatus == 8||item.orderStatus == 6&&todayDate>item.pressEndDate}}" src="{{grayImg}}" mode="aspectFill" lazy-load="true"><text>已失效</text></image>

<image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true"></image> <image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true"></image>
<view class="fl ri" hover-class="none" hover-stop-propagation="false"> <view class="fl ri" hover-class="none" hover-stop-propagation="false">
<text class="txt01">{{item.title}}</text>
<!-- <text class="txt02">{{item.subTitle}}</text> -->
<view class="txt04 mr txt004" wx:if="{{item.orderStatus !=7}}">已砍至¥ <text class='money'>{{item.price/100-(item.price/100-item.salePrice/100-item.pressCurrentValue/100)}}</text><text class="txt03">原价{{item.price/100}}</text></view>
<!-- <text class="txt04 mr" wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}">{{item.pressCurrentValue/100}}元</text> -->
<text class="txt04 mr" wx:if="{{item.orderStatus == 7}}">已砍价到底价:{{item.salePrice/100}}元</text>
<text class="txt01">{{item.title}}</text>
<view class="txt04 mr txt004" wx:if="{{item.orderStatus !=7}}">
<view>已砍至¥</view>
<view class='money'>{{item.price/100-(item.price/100-item.salePrice/100-item.pressCurrentValue/100)}}</view>
</view>
<text class="txt03">原价{{item.price/100}}</text>
<text class="txt04 mr" wx:if="{{item.orderStatus == 7}}">已砍价到底价:{{item.salePrice/100}}元</text>
</view> </view>

<view class='again' wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}" hover-class="none" hover-stop-propagation="false" data-id="{{item.id}}" bindtap="inviteFriend"> <view class='again' wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}" hover-class="none" hover-stop-propagation="false" data-id="{{item.id}}" bindtap="inviteFriend">
<view class="botton1">邀请好友</view> <view class="botton1">邀请好友</view>
</view> </view>


+ 6
- 2
pages/bargain/bargain.wxss View File

@@ -63,8 +63,12 @@ page{
width: 100%; width: 100%;
font-size:26rpx; font-size:26rpx;
color:rgba(253,131,45,1); color:rgba(253,131,45,1);
line-height:44rpx;
line-height:40rpx;
height: 48rpx; height: 48rpx;
display: flex;
}
.txt04 view:nth-child(1) {
margin-top: 15rpx;
} }
.frImg{ .frImg{
height: 78rpx; height: 78rpx;
@@ -90,7 +94,7 @@ page{
font-size:40rpx; font-size:40rpx;
font-weight:500; font-weight:500;
color:rgba(253,131,45,1); color:rgba(253,131,45,1);
width:150rpx;
width:200rpx;
margin-top: 10rpx; margin-top: 10rpx;
overflow:hidden; overflow:hidden;
white-space: nowrap; white-space: nowrap;


+ 1
- 1
pages/spellGroup/spellGroup.wxml View File

@@ -61,7 +61,7 @@
<view class='price'> <view class='price'>
<view class='price01'> <view class='price01'>
<view class='price-text'style="display: inline;font-size: 24rpx;">拼团价¥</view> <view class='price-text'style="display: inline;font-size: 24rpx;">拼团价¥</view>
<view class='price-num'>{{item.salePrice/100}}3232323232</view>
<view class='price-num'>{{item.salePrice/100}}</view>
<!-- <view class='price-unit'>元</view> --> <!-- <view class='price-unit'>元</view> -->
</view> </view>
</view> </view>


Loading…
Cancel
Save