You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
6.0 KiB

<view class="bargain on"><block wx:if="{{bargainUserInfo&&bargainUid!=userInfo.uid}}"><view class="wrapper bargain-box on user"><view class="pictxt acea-row row-center-wrapper"><view class="bargain-header _div"><view class="pictrue"><image src="{{bargainUserInfo.avatar}}"></image></view><view class="text">{{''+bargainUserInfo.nickname+''}}<text>邀请您帮忙砍价</text></view></view></view></view></block><view class="wrapper bargain-box time on"><view class="pictxt _div"><count-down vue-id="e687887a-1" isDay="{{true}}" tipText="倒计时 " dayText=" 天 " hourText=" 时 " minuteText=" 分 " secondText=" 秒" datatime="{{goodsDetail.stopTime}}" bind:__l="__l"></count-down></view></view><view class="wrapper bargain-box bargain-product"><view data-event-opts="{{[['tap',[['openAlone',['$event']]]]]}}" class="pictxt acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><image src="{{goodsDetail.image}}"></image><view class="bargain_view">查看商品<view class="iconfont icon-jiantou iconfonts"></view></view></view><view class="text acea-row row-column-around"><view class="line2">{{goodsDetail.title}}</view><view class="money font-color-red">已砍至: ¥<text class="num">{{bargainHelpCount.remainingPrice}}</text></view><view class="acea-row row-middle"><view class="successNum">{{'原价'+goodsDetail.price}}</view><view class="successNum">{{'已有'+bargainSumCount+'人砍价成功'}}</view></view></view></view><view class="cu-progress acea-row row-middle round margin-top"><view class="acea-row row-middle bg-red" style="{{'width:'+(bargainHelpCount.pricePercent+'%')+';'}}"></view></view><view class="balance acea-row row-between-wrapper"><view>{{'已砍'+bargainHelpCount.alreadyPrice+'元'}}</view><block wx:if="{{bargainHelpCount.price===0}}"><view>砍价成功</view></block><block wx:else><view>{{'还剩'+bargainHelpCount.price+'元'}}</view></block></view><block wx:if="{{pay}}"><view class="bargainSuccess"><label class="iconfont icon-xiaolian _span"></label>恭喜您砍价成功,快去支付吧~</view></block><block wx:if="{{participate}}"><view data-event-opts="{{[['tap',[['goParticipate',['$event']]]]]}}" class="bargainBnt" bindtap="__e">立即发起砍价</view></block><block wx:if="{{inviteFriends}}"><view data-event-opts="{{[['tap',[['goPoster',['$event']]]]]}}" class="bargainBnt" bindtap="__e">邀请好友帮砍价</view></block><block wx:if="{{helpFriendsBargain}}"><view data-event-opts="{{[['tap',[['getBargainHelp',['$event']]]]]}}" class="bargainBnt" bindtap="__e">帮好友砍一刀</view></block><block wx:if="{{bargain}}"><view data-event-opts="{{[['tap',[['getBargainStart',['$event']]]]]}}" class="bargainBnt" bindtap="__e">我也要砍价</view></block><block wx:if="{{pay}}"><view data-event-opts="{{[['tap',[['goPay',['$event']]]]]}}" class="bargainBnt" bindtap="__e">立即支付</view></block><view data-event-opts="{{[['tap',[['goList',['$event']]]]]}}" class="bargainBnt on" bindtap="__e">抢更多商品</view><view class="tip">已有<label class="font-color-red _span">{{bargainHelpCount.count}}</label>位好友成功帮您砍价</view><view class="lock"></view></view><view class="bargainGang bargain-box"><view class="title font-color-red acea-row row-center-wrapper"><view class="pictrue"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}"></image></view><view class="titleCon">砍价帮</view><view class="pictrue on"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}"></image></view></view><view class="list"><block wx:for="{{bargainHelpList}}" wx:for-item="item" wx:for-index="bargainHelpListIndex" wx:key="bargainHelpListIndex"><view class="item acea-row row-between-wrapper"><view class="pictxt acea-row row-between-wrapper"><view class="pictrue"><image src="{{item.avatar}}"></image></view><view class="text"><view class="name line1">{{item.nickname}}</view><view class="line1">{{item.add_time}}</view></view></view><view class="money font-color-red"><text class="iconfont icon-kanjia"></text>{{'砍掉'+item.price+'元'}}</view></view></block></view><block wx:if="{{!helpListStatus}}"><view data-event-opts="{{[['tap',[['getBargainHelpList',['$event']]]]]}}" class="load font-color-red" bindtap="__e">点击加载更多</view></block><view class="lock"></view></view><view class="goodsDetails bargain-box"><view class="title font-color-red acea-row row-center-wrapper"><view class="pictrue"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}"></image></view><view class="titleCon">商品详情</view><view class="pictrue on"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}"></image></view></view><view class="conter"><rich-text nodes="{{goodsDetail.description}}"></rich-text></view><view class="lock"></view></view><view class="goodsDetails bargain-box"><view class="title font-color-red acea-row row-center-wrapper"><view class="pictrue"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}"></image></view><view class="titleCon">活动规则</view><view class="pictrue on"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}"></image></view></view><view class="conter"><rich-text nodes="{{goodsDetail.rule}}"></rich-text></view></view><view class="{{['bargainTip',active===true?'on':'']}}"><block wx:if="{{bargainUid===userInfo.uid}}"><view class="cutOff">您已砍掉<text class="font-color-red">{{bargainHelpPrice}}</text>元,听说分享次数越多砍价成功的机会越大哦!</view></block><block wx:else><view class="cutOff on"><view class="help font-color-red">{{'成功帮砍'+bargainHelpPrice+'元'}}</view>,您也可以砍价低价拿哦,快去挑选心仪的商品吧~</view></block><block wx:if="{{bargainUid===userInfo.uid}}"><view data-event-opts="{{[['tap',[['goPoster',['$event']]]]]}}" class="tipBnt" bindtap="__e">邀请好友帮砍价</view></block><block wx:else><view data-event-opts="{{[['tap',[['getBargainStart',['$event']]]]]}}" class="tipBnt" bindtap="__e">我也要参与</view></block></view><view class="mask" hidden="{{active===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['close',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>