Ver código fonte

砍价详情样式修改

tags/安徽版C.4.1.6最终版
刘晖 6 anos atrás
pai
commit
a52358f9c4
3 arquivos alterados com 42 adições e 23 exclusões
  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 Ver arquivo

@@ -18,21 +18,21 @@
<view class="time" hover-class="none" hover-stop-propagation="false" wx:if="{{data.orderStatus != 7}}"> <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> 结束 还剩 <text>{{day}}</text>天:<text>{{hour}}</text>:<text>{{min}}</text>:<text>{{sec}}</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> </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"> <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> <image src="./../../../assets/images/success01.png" mode="widthFix"></image>
<text class="" selectable="false" space="false" decode="false"> <text class="" selectable="false" space="false" decode="false">


+ 19
- 8
pages/bargain/bargainDatail/bargainDatail.wxss Ver arquivo

@@ -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 { .bargainDetail {
padding: 0 33rpx 0; padding: 0 33rpx 0;
} }
@@ -5,7 +13,7 @@
.listitem .fl { .listitem .fl {
width: 180rpx; width: 180rpx;
height: 180rpx; height: 180rpx;
border-radius:10rpx;
border-radius:10rpx;
} }


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


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


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


@@ -198,9 +209,9 @@
} }
.people{ .people{
border-radius:16rpx; 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; margin-bottom: 130rpx;
} }
.btns{ .btns{
@@ -210,7 +221,7 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: 100; z-index: 100;
background: #fff;
/* background: #fff; */
} }
.btns button{ .btns button{
width: 320rpx!important; width: 320rpx!important;


+ 9
- 1
utils/imgurl.js Ver arquivo

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

Carregando…
Cancelar
Salvar