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.3 KiB
1 lines
6.3 KiB
<view class="bargain _div"><view class="{{['_div',bargainPartake!=userInfo.uid?'header on':'header']}}"><view class="people _div">{{lookCount+"人查看 丨 "+shareCount+"人分享 丨 "+userCount+"人参与"}}</view><block wx:if="{{bargainPartake!=userInfo.uid}}"><view class="pictxt acea-row row-center-wrapper _div"><view class="pictrue _div"><image src="{{bargainUserInfo.avatar}}" class="_img"></image></view><view class="text _div">{{''+bargainUserInfo.nickname+''}}<label class="_span">邀请您帮忙砍价</label></view></view></block><count-down vue-id="59d9e67e-1" is-day="{{true}}" tip-text="倒计时 " day-text=" 天 " hour-text=" 时 " minute-text=" 分 " second-text=" 秒" datatime="{{datatime}}" bind:__l="__l"></count-down></view><view class="wrapper _div"><view class="pictxt acea-row row-between-wrapper _div"><view class="pictrue _div"><image src="{{bargain.image}}" class="_img"></image></view><view class="text acea-row row-column-around _div"><view class="line2 _div">{{bargain.title}}</view><view class="money font-color-red _div">已砍至: ¥<label class="num _span">{{price}}</label></view><view class="acea-row row-middle _div"><view class="successNum _div">{{'原价'+bargain.price}}</view><view class="successNum _div">{{'已有'+bargainSumCount+'人砍价成功'}}</view></view></view></view><view class="cu-progress acea-row row-middle round margin-top _div"><view class="acea-row row-middle bg-red _div" style="{{'width:'+(loading?pricePercent+'%':'')+';'}}"></view></view><view class="balance acea-row row-between-wrapper _div"><view class="_div">{{'已砍'+alreadyPrice+'元'}}</view><block wx:if="{{surplusPrice===0}}"><view class="_div">砍价成功</view></block><block wx:else><view class="_div">{{'还剩'+surplusPrice+'元'}}</view></block></view><view class="bargainBnts _div"><block wx:if="{{bargainPartake===userInfo.uid&&surplusPrice>0}}"><view data-event-opts="{{[['tap',[['goPoster',['$event']]]]]}}" class="bargainBnt _div" bindtap="__e">邀请好友帮砍价</view></block><block wx:else><block wx:if="{{bargainPartake!=userInfo.uid}}"><view data-event-opts="{{[['tap',[['getBargainHelp',['$event']]]]]}}" class="bargainBnt _div" bindtap="__e">帮好友砍一刀</view></block></block><block wx:if="{{bargainPartake!=userInfo.uid}}"><view data-event-opts="{{[['tap',[['getBargainStart',['$event']]]]]}}" class="bargainBnt _div" bindtap="__e">开启砍价</view></block><block wx:if="{{surplusPrice===0&&bargainPartake===userInfo.uid&&userBargainStatus===1}}"><view data-event-opts="{{[['tap',[['goPay',['$event']]]]]}}" class="bargainBnt _div" bindtap="__e">立即支付</view></block><view data-event-opts="{{[['tap',[['goList',['$event']]]]]}}" class="bargainBnt on _div" bindtap="__e">抢更多商品</view></view><view class="tip _div">已有<label class="font-color-red _span">{{helpCount}}</label>位好友成功帮您砍价</view><view class="lock _div"></view></view><view class="bargainGang _div"><view class="title font-color-red acea-row row-center-wrapper _div"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}" class="_img"></image></view><view class="titleCon _div">砍价帮</view><view class="pictrue on _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}" class="_img"></image></view></view><view class="list _div"><block wx:for="{{bargainHelpList}}" wx:for-item="item" wx:for-index="bargainHelpListIndex" wx:key="bargainHelpListIndex"><view class="item acea-row row-between-wrapper _div"><view class="pictxt acea-row row-between-wrapper _div"><view class="pictrue _div"><image src="{{item.avatar}}" class="_img"></image></view><view class="text _div"><view class="name line1 _div">{{item.nickname}}</view><view class="line1 _div">{{item.add_time}}</view></view></view><view class="money font-color-red _div"><label class="iconfont icon-kanjia _span"></label>{{'砍掉'+item.price+'元'}}</view></view></block></view><block wx:if="{{!helpListStatus&&!helpListLoading}}"><view data-event-opts="{{[['tap',[['getBargainHelpList',['$event']]]]]}}" class="load font-color-red _div" bindtap="__e">点击加载更多</view></block><view class="lock _div"></view></view><view class="goodsDetails _div"><view class="title font-color-red acea-row row-center-wrapper _div"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}" class="_img"></image></view><view class="titleCon _div">商品详情</view><view class="pictrue on _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}" class="_img"></image></view></view><view class="conter _div"><rich-text nodes="{{bargain.description}}"></rich-text></view><view class="lock _div"></view></view><view class="goodsDetails _div"><view class="title font-color-red acea-row row-center-wrapper _div"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}" class="_img"></image></view><view class="titleCon _div">活动规则</view><view class="pictrue on _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/left.png'}}" class="_img"></image></view></view><view class="conter _div"><rich-text nodes="{{bargain.rule}}"></rich-text></view></view><view class="{{['bargainTip _div',active===true?'on':'']}}"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/bargainBg.jpg'}}" class="_img"></image><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi _div" bindtap="__e"></view></view><block wx:if="{{bargainPartake===userInfo.uid}}"><view class="cutOff _div">您已砍掉<label class="font-color-red _span">{{bargainHelpPrice}}</label>元,听说分享次数越多砍价成功的机会越大哦!</view></block><block wx:else><view class="cutOff on _div"><view class="help font-color-red _div">{{'成功帮砍'+bargainHelpPrice+'元'}}</view>,您也可以砍价低价拿哦,快去挑选心仪的商品吧~</view></block><block wx:if="{{bargainPartake===userInfo.uid}}"><view data-event-opts="{{[['tap',[['goPoster',['$event']]]]]}}" class="tipBnt _div" bindtap="__e">邀请好友帮砍价</view></block><block wx:else><view data-event-opts="{{[['tap',[['getBargainStart',['$event']]]]]}}" class="tipBnt _div" bindtap="__e">我也要参与</view></block></view><view class="mask _div" hidden="{{active===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['close',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view> |