Browse Source

[首页][修改][样式]

tags/河北版C.8.1.01
hurui 5 years ago
parent
commit
0a3b678620
3 changed files with 5 additions and 86 deletions
  1. +1
    -82
      pages/coupon/detail/index.wxml
  2. +1
    -1
      pages/main/index.wxml
  3. +3
    -3
      pages/main/index.wxss

+ 1
- 82
pages/coupon/detail/index.wxml View File

@@ -221,87 +221,6 @@
</view>
<!-- 发起砍价 -->
<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<view class="bargainDetail" hover-class="none" hover-stop-propagation="false" wx:if="{{isshowposter1}}" bindtap='hidemodal1'>
<view class='cancleH'>
<image src='{{cancelH}}' mode='aspectFit'></image>
<!-- <view class='line'></view> -->
</view>
<view class="listitem clearfix" hover-class="none" hover-stop-propagation="false">
<view class='top'>
<image src="{{data.coverImg}}" lazy-load="true" binderror="" bindload="" mode='aspectFill'></image>
<view class="fl ri" hover-class="none" hover-stop-propagation="false">
<text class="txt01">{{data.title}}</text>
<!-- <text class="txt02">{{data.subTitle}}</text> -->
<!-- <text class="txt03">{{data.price/100}}元</text> -->
<text class="txt04">可砍至<text class="money">{{data.salePrice/100}}</text>元</text>
</view>
</view>

<view class="progress" hover-class="none" hover-stop-propagation="false">
<view class="clearfix progesstext" wx:if="{{data.orderStatus !=8&&data.orderStatus!=1&&data.orderStatus!=9}}" hover-class="none" hover-stop-propagation="false">
<text class="fl">已砍 <text>{{already}}元</text></text>
<text class="fr" wx:if="{{data.pressCurrentValue/100!=0}}">还剩 <text>{{remain}}元</text></text>
</view>
<progress percent="{{((data.price-data.salePrice-data.pressCurrentValue)/(data.price-data.salePrice))*100}}" wx:if="{{data.orderStatus !=8&&data.orderStatus!=1&&data.orderStatus!=9}}" color="#FFB287" class="progressbar"border-radius="10px" backgroundColor="#FFF" stroke-width="10" />
<view class="time" hover-class="none" wx:if="{{data.orderStatus !=8&&data.orderStatus!=1&&data.orderStatus!=9&&data.orderStatus != 7}}" hover-stop-propagation="false">还剩 <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.orderStatus != 7&&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="{{successHr}}" mode="widthFix"></image>
<text class="" selectable="false" space="false" decode="false">
已砍至底价
</text>
</view>
<view class='helpDiscount' wx:if="{{data.orderStatus == 6&&discountStatus == 2}}">
<image bindtap='helpDiscount' src='{{wmhelp}}' mode='widthFix'></image>
</view>
</view>

<view class="people" hover-class="none" hover-stop-propagation="false" wx:if="{{data.orderStatus!=9}}">
<view class='title'>
砍价人数{{data.orderPressList.length}}/{{data.pressLimitNum}}人
</view>
<view class='kjr'>
<view class="clearfix person" wx:for="{{data.orderPressList}}" wx:key="index">
<view class="head ">
<image class="headicon" src="{{item.avatarUrl}}" mode="widthFix" lazy-load="true" binderror="" bindload="" />
<!-- <text wx:if="{{item.first==1}}">发起人</text> -->
</view>
<view class="text fl clearfix">
<text class="text01 fl"><text>{{item.nickName}}</text></text>
<text class="text02 fl"><text class="fl">砍掉</text><text class="fl">{{item.pressValue/100}}元</text></text>
<text class="text03 fr">{{item.createDate}}前</text>
</view>
</view>
</view>
</view>
</view>

<form bindsubmit="submit" report-submit='true' >
<view class="btns clearfix" wx:if="{{data.orderStatus != 7&&discountStatus==1&&todayDate<=data.pressEndDate&&data.orderStatus!=1&&data.orderStatus != 9}}" hover-class="none" hover-stop-propagation="false">
<!-- <button class="fl" form-type="submit" bindtap='orderFunc1' data-couponChannelId="{{data.couponChannelId}}" data-price="{{data.price/100}}" data-couponId="{{data.productId}}" disabled='{{showButton}}' data-rushtobuy='rushtobuy'>
<text>{{data.price/100}}元</text>
<text>立即购买</text>
</button> -->
<button class='share user-motto' data-orderId='{{data.id}}' id="shareBtn" open-type="share" hover-class="other-button-hover">邀请好友砍价</button>
</view>
</form>
<view style='display:{{display}}' wx:if="{{data.orderStatus == 7&&discountStatus == 1}}" class="btns01 clearfix" hover-class="none" hover-stop-propagation="false">
<button bindtap='orderFunc' disabled='{{showButton1}}' data-orderId="{{data.id}}" data-salePrice="{{data.salePrice/100}}" hover-class="other-button-hover">{{data.salePrice/100}}元 底价购买</button>
</view>
</view>

</view>

+ 1
- 1
pages/main/index.wxml View File

@@ -48,7 +48,7 @@
<image src='{{xiaofeika}}' mode='aspectFill'></image>
<text>消费卡</text>
</view>
<view class='kjBox' >
<view class='kjBox' bindtap='gotogame' >
<image src='{{xingyun}}' mode='aspectFill' bindtap=''></image>
<text>幸运卡牌</text>
</view>


+ 3
- 3
pages/main/index.wxss View File

@@ -208,11 +208,11 @@ page {
.user-data {
margin-left: 116rpx;
letter-spacing: 0.64rpx;
line-height: 44rpx;
line-height: 46rpx;
font-size: 30rpx;
color: #333;
background: #FFF;
margin-top: 16rpx;
margin-top: 10rpx;
margin-bottom: 26rpx;
}
.user-data open-data{
@@ -458,7 +458,7 @@ progress{
.toutiao .qg{
width: 80rpx;
height: 44rpx;
line-height: 44rpx;
line-height: 36rpx;
border-radius:18rpx;
border:2rpx solid;
float: right;


Loading…
Cancel
Save