index.wxml 7.9 KB

1
  1. <view style="{{'background-color:var(--view-theme);padding-bottom:50rpx;'+(colorStyle)}}"><view class="bargain"><view class="header" style="{{('background-image: url('+(bargainUid!=userInfo.uid?picUrl.support:picUrl.barga)+');')}}"><view class="people">{{''+(peopleCount.lookCount||0)+$root.m0+" 丨 "+(peopleCount.shareCount||0)+$root.m1+" 丨\n\t\t\t\t"+(peopleCount.userCount||0)+$root.m2+''}}</view><block wx:if="{{bargainUid==userInfo.uid}}"><count-down vue-id="ed24f144-1" tipText="{{$root.m3}}" dayText="{{$root.m4}}" hourText="{{$root.m5}}" minuteText="{{$root.m6}}" secondText="{{$root.m7}}" datatime="{{datatime}}" isDay="{{true}}" bind:__l="__l"></count-down></block><block wx:if="{{bargainUid!=userInfo.uid}}"><view class="pictxt acea-row row-center-wrapper"><view class="pictrue"><image src="{{bargainUserInfo.avatar}}"></image></view><view class="text">{{''+(bargainUserInfo.nickname||'')+''}}<text>{{$root.m8}}</text></view></view></block></view><view class="wrapper"><view data-event-opts="{{[['tap',[['goProduct',['$event']]]]]}}" class="pictxt acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><image src="{{bargainInfo.image}}"></image><view class="bargain_view">{{''+$root.m9+''}}<text class="iconfont icon-jiantou iconfonts"></text></view></view><view class="text acea-row row-column-around"><view class="line2">{{bargainInfo.title||''}}</view><view class="money">{{''+$root.m10+": "+$root.m11+''}}<text class="num">{{bargainInfo.price||''}}</text></view><view class="successNum">{{$root.m12+":"+$root.m13+(bargainInfo.min_price||'')}}</view></view></view><block wx:if="{{userBargainInfo.price>0}}"><block><view class="cu-progress acea-row row-middle round margin-top"><view class="acea-row row-middle bg-red" style="{{('width:'+userBargainInfo.pricePercent+'%;')}}"></view></view><view class="money acea-row row-between-wrapper"><view>{{$root.m14+userBargainInfo.alreadyPrice}}</view><view>{{$root.m15+userBargainInfo.price}}</view></view></block></block><block wx:if="{{userBargainInfo.bargainType==1}}"><view><block wx:if="{{productStock>0&&quota>0}}"><view data-event-opts="{{[['tap',[['userBargain',['$event']]]]]}}" class="bargainBnt" bindtap="__e">{{$root.m16}}</view></block><block wx:if="{{productStock<=0||quota<=0}}"><view class="bargainBnt grey">{{$root.m17}}</view></block></view></block><block wx:if="{{userBargainInfo.bargainType==2}}"><view><view data-event-opts="{{[['tap',[['getBargainUserBargainPricePoster',['$event']]]]]}}" class="bargainBnt" bindtap="__e">{{$root.m18}}</view><view class="tip">{{''+$root.m19+''}}<text class="num">{{userBargainInfo.count}}</text>{{''+$root.m20+''}}</view></view></block><block wx:if="{{userBargainInfo.bargainType==3}}"><view><view data-event-opts="{{[['tap',[['setBargainHelp',['$event']]]]]}}" class="bargainBnt" bindtap="__e">{{$root.m21}}</view></view></block><block wx:if="{{userBargainInfo.bargainType==4}}"><view><view class="bargainSuccess"><text class="iconfont icon-xiaolian"></text>{{''+$root.m22+''}}</view><view data-event-opts="{{[['tap',[['currentBargainUser',['$event']]]]]}}" class="bargainBnt" bindtap="__e">{{$root.m23}}</view></view></block><block wx:if="{{userBargainInfo.bargainType==5}}"><view><view class="bargainSuccess"><text class="iconfont icon-xiaolian"></text>{{''+$root.m24+''}}</view><view data-event-opts="{{[['tap',[['currentBargainUser',['$event']]]]]}}" class="bargainBnt" bindtap="__e">{{$root.m25}}</view></view></block><block wx:if="{{userBargainInfo.bargainType==6}}"><view><view class="bargainSuccess"><text class="iconfont icon-xiaolian"></text>{{''+$root.m26+''}}</view><view data-event-opts="{{[['tap',[['goPay',['$event']]]]]}}" class="bargainBnt" bindtap="__e">{{$root.m27}}</view><view data-event-opts="{{[['tap',[['goBargainList',['$event']]]]]}}" class="bargainBnt on" bindtap="__e">{{$root.m28}}</view></view></block><view class="lock" style="{{('background-image: url('+picUrl.lock+');')}}"></view></view><view class="bargainGang"><view class="title acea-row row-center-wrapper"><view class="pictrue"><image src="{{picUrl.lace}}"></image></view><view class="titleCon">{{$root.m29}}</view><view class="pictrue on"><image src="{{picUrl.lace}}"></image></view></view><view class="list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<3||!couponsHidden}}"><block><view class="item acea-row row-between-wrapper"><view class="pictxt acea-row row-between-wrapper"><view class="pictrue"><image src="{{item.$orig.avatar}}"></image></view><view class="text"><view class="name line1">{{item.$orig.nickname}}</view><view class="line1">{{item.$orig.add_time}}</view></view></view><view class="money"><text class="iconfont icon-kanjia"></text>{{''+item.m30+item.m31+item.$orig.price+''}}</view></view></block></block></block><block wx:if="{{$root.g0>3}}"><view data-event-opts="{{[['tap',[['openTap',['$event']]]]]}}" class="open acea-row row-center-wrapper" bindtap="__e">{{''+(couponsHidden?$root.m32:$root.m33)+''}}<text class="{{['iconfont',couponsHidden==true?'icon-xiangxia':'icon-xiangshang']}}"></text></view></block></view><block wx:if="{{!limitStatus}}"><view data-event-opts="{{[['tap',[['getBargainUser',['$event']]]]]}}" class="load" bindtap="__e">{{$root.m34}}</view></block><view class="lock" style="{{('background-image: url('+picUrl.lock+');')}}"></view></view><view class="goodsDetails"><view class="title acea-row row-center-wrapper"><view class="pictrue"><image src="/images/left.png"></image></view><view class="titleCon">{{$root.m35}}</view><view class="pictrue on"><image src="/images/left.png"></image></view></view><view class="conter"><jyf-parser class="vue-ref" vue-id="ed24f144-2" html="{{bargainInfo.description}}" tag-style="{{tagStyle}}" data-ref="article" bind:__l="__l"></jyf-parser></view><view class="lock" style="{{('background-image: url('+picUrl.lock+');')}}"></view></view><view class="goodsDetails"><view class="title acea-row row-center-wrapper"><view class="pictrue"><image src="/images/left.png"></image></view><view class="titleCon">{{$root.m36}}</view><view class="pictrue on"><image src="/images/left.png"></image></view></view><view class="conter"><jyf-parser class="vue-ref" vue-id="ed24f144-3" html="{{bargainInfo.rule}}" tag-style="{{tagStyle}}" data-ref="article" bind:__l="__l"></jyf-parser></view></view><view class="{{['bargainTip',active==true?'on':'']}}"><view class="pictrue"><image src="{{picUrl.popup}}"></image></view><block wx:if="{{bargainUid==userInfo.uid}}"><view><view class="cutOff">{{''+$root.m37+''}}<text style="color:var(--view-theme);">{{userBargainPrice}}</text>{{''+$root.m38+''}}</view><button data-event-opts="{{[['tap',[['getBargainUserBargainPricePoster',['$event']]]]]}}" class="tipBnt" bindtap="__e">{{$root.m39}}</button></view></block><block wx:else><view><view class="help" style="color:#fc4141;">{{$root.m40+$root.m41+userBargainPrice}}</view><view class="cutOff on">{{$root.m42}}</view><view data-event-opts="{{[['tap',[['currentBargainUser',['$event']]]]]}}" class="tipBnt" bindtap="__e">{{$root.m43}}</view></view></block></view><view hidden="{{!(active==true)}}" class="mask" catchtouchmove="true" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view><view class="{{['generate-posters','acea-row','row-middle',posters?'on':'']}}"><button class="item" open-type="share" hover-class="none" data-event-opts="{{[['tap',[['goFriend',['$event']]]]]}}" bindtap="__e"><view class="iconfont icon-weixin3"></view><view>{{$root.m44}}</view></button><button class="item" hover-class="none" data-event-opts="{{[['tap',[['getBargainUserBargainPricePoster',['$event']]]]]}}" bindtap="__e"><view class="iconfont icon-haibao"></view><view>{{$root.m45}}</view></button></view><block wx:if="{{posters}}"><view data-event-opts="{{[['tap',[['listenerActionClose',['$event']]]]]}}" class="mask" bindtap="__e"></view></block><block wx:if="{{H5ShareBox}}"><view class="share-box"><image src="{{imgHost+'/statics/images/share-info.png'}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image></view></block></view>