瀏覽代碼

砍价详情样式修改

tags/安徽版C.4.1.6最终版
刘晖 6 年之前
父節點
當前提交
a52358f9c4
共有 3 個檔案被更改,包括 42 行新增23 行删除
  1. +14
    -14
      pages/bargain/bargainDatail/bargainDatail.wxml
  2. +19
    -8
      pages/bargain/bargainDatail/bargainDatail.wxss
  3. +9
    -1
      utils/imgurl.js

+ 14
- 14
pages/bargain/bargainDatail/bargainDatail.wxml 查看文件

@@ -18,21 +18,21 @@
<view class="time" hover-class="none" hover-stop-propagation="false" wx:if="{{data.orderStatus != 7}}">
还剩 <text>{{day}}</text>天:<text>{{hour}}</text>:<text>{{min}}</text>:<text>{{sec}}</text> 结束
</view>
<view class="fail" hover-class="none" hover-stop-propagation="false" wx:if="{{data.orderStatus==9}}">
砍价已取消
</view>
<view class="fail" hover-class="none" hover-stop-propagation="false" wx:if="{{todayDate>data.pressEndDate && discountStatus !=1}}">
好友的砍价已过期
</view>
<view class="fail" hover-class="none" hover-stop-propagation="false" wx:if="{{todayDate>data.pressEndDate && discountStatus ==1}}">
您的砍价已过期
</view>
<view class="status" hover-class="none" hover-stop-propagation="false" wx:if="{{discountStatus==3}}">
<button bindtap="barginAgain" data-couponChannelId="{{data.couponChannelId}}" data-couponId="{{data.productId}}" data-id="{{data.id}}">发起砍价</button>
<button bindtap="gotomore">更多砍价商品</button>
</view>
<view class='help' wx:if="{{(data.pressLimitNum-data.orderPressList.length)!=0&&data.orderStatus != 7||(data.pressLimitNum-data.orderPressList.length)!=0&&data.orderStatus != 1||data.orderStatus != 9}}">还需邀请<text>{{data.pressLimitNum-data.orderPressList.length}}</text>位好友,帮忙砍至底价</view>
</view>
<view class="fail" hover-class="none" hover-stop-propagation="false" wx:if="{{data.orderStatus==9}}">
砍价已取消
</view>
<view class="fail" hover-class="none" hover-stop-propagation="false" wx:if="{{todayDate>data.pressEndDate && discountStatus !=1}}">
好友的砍价已过期
</view>
<view class="fail" hover-class="none" hover-stop-propagation="false" wx:if="{{todayDate>data.pressEndDate && discountStatus ==1}}">
您的砍价已过期
</view>
<view class="status" hover-class="none" hover-stop-propagation="false" wx:if="{{discountStatus==3}}">
<button bindtap="barginAgain" data-couponChannelId="{{data.couponChannelId}}" data-couponId="{{data.productId}}" data-id="{{data.id}}">发起砍价</button>
<button bindtap="gotomore">更多砍价商品</button>
</view>
<view class='help' wx:if="{{(data.pressLimitNum-data.orderPressList.length)!=0&&data.orderStatus != 7||(data.pressLimitNum-data.orderPressList.length)!=0&&data.orderStatus != 1||data.orderStatus != 9}}">还需邀请<text>{{data.pressLimitNum-data.orderPressList.length}}</text>位好友,帮忙砍至底价</view>
<view class="success" wx:if="{{data.orderStatus == 7||data.orderStatus == 1}}" hover-class="none" hover-stop-propagation="false">
<image src="./../../../assets/images/success01.png" mode="widthFix"></image>
<text class="" selectable="false" space="false" decode="false">


+ 19
- 8
pages/bargain/bargainDatail/bargainDatail.wxss 查看文件

@@ -1,3 +1,11 @@
page{
height: auto;
overflow: auto;
background: #FF6F03;
background-image: url('https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/bargindetailbg.jpg');
background-size: cover;
background-repeat: no-repeat;
}
.bargainDetail {
padding: 0 33rpx 0;
}
@@ -5,7 +13,7 @@
.listitem .fl {
width: 180rpx;
height: 180rpx;
border-radius:10rpx;
border-radius:10rpx;
}

.listitem .icon {
@@ -86,15 +94,18 @@

.listitem {
position: relative;
padding: 31rpx 0;
padding: 31rpx 20rpx;
border-radius: 15rpx;
background: #fff;
margin-bottom: 30rpx;
}

.progress {
width: 519rpx;
padding: 30rpx 84rpx 50rpx;
/* height: 136rpx; */
background: rgba(255, 245, 240, 1);
border-radius: 10rpx;
background: #fff;
border-radius: 15rpx;
margin: 0 auto;
}

@@ -198,9 +209,9 @@
}
.people{
border-radius:16rpx;
background: rgba(255, 245, 240, 1);
margin-top: 20rpx;
padding:0 10rpx;
background: #fff;
margin-top: 30rpx;
padding:0 20rpx;
margin-bottom: 130rpx;
}
.btns{
@@ -210,7 +221,7 @@
right: 0;
bottom: 0;
z-index: 100;
background: #fff;
/* background: #fff; */
}
.btns button{
width: 320rpx!important;


+ 9
- 1
utils/imgurl.js 查看文件

@@ -427,5 +427,13 @@ module.exports = {
'rushtobuy': {
'url': baseUrl + 'rushtobuy.png',
'name': '首页立即抢购'
}
},
'barginlistbg': {
'url': baseUrl + 'barginlistbg.jpg',
'name': '砍价列表背景图'
},
'bargindetailbg': {
'url': baseUrl + 'bargindetailbg.jpg',
'name': '砍价详情背景图'
},
}

Loading…
取消
儲存