goodlist.wxml 3.1 KB
<view class="container"><view class="goodlist"><block wx:for="{{zhigoodlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['entergood',['$0'],[[['zhigoodlist','',index]]]]]]]}}" class="goodlistitem flex" bindtap="__e"><view class="goodlistimg"><image src="{{item.image}}" mode></image></view><view class="goodlistright"><view class="goodrighttop flextwo"><view class="goodname">{{item.name}}</view><view class="shareimg"><image class="sharebtn" src="../static/share.png" mode></image><button class="shartype" open-type="share"></button></view></view><view class="zhibo flextwo"><view data-event-opts="{{[['tap',[['gozhubo',['$0'],[[['zhigoodlist','',index,'anchor.id']]]]]]]}}" class="zhiboleft" catchtap="__e">{{item.anchor.name+item.anchor.platform}}</view><view class="kaibo">{{item.anchor_time.time+"开播"}}</view></view><view class="zhiboprice">直播价 ¥<text class="pricege">{{item.live_price}}</text></view><view class="cankao flextwo"><view class="cankaoleft">{{"参考价(京东¥"+item.r_price+"元)"}}</view><block wx:if="{{item.status_data==1}}"><view><block wx:if="{{item.user_goods==0}}"><view><block wx:if="{{item.share==true}}"><view class="canlaoright flexone"><image class="naoling" src="../static/naoling.png" mode></image>提醒我<button class="sharebtnk" open-type="share" data-event-opts="{{[['tap',[['sharefriend',[index,'$0','$1'],[[['zhigoodlist','',index,'id']],[['zhigoodlist','',index,'share']]]]]]]}}" catchtap="__e"></button></view></block><block wx:else><view data-event-opts="{{[['tap',[['tixing',[index,'$0'],[[['zhigoodlist','',index,'id']]]]]]]}}" class="canlaoright flexone" catchtap="__e"><image class="naoling" src="../static/naoling.png" mode></image>提醒我</view></block></view></block><block wx:else><view data-event-opts="{{[['tap',[['canceltixing',[index,'$0'],[[['zhigoodlist','',index,'id']]]]]]]}}" class="canceltixing" catchtap="__e">取消提醒</view></block></view></block><block wx:if="{{item.status_data==2}}"><view><view class="canlaoright flexone">已上架</view></view></block></view></view></view></block></view><block wx:if="{{noshow}}"><view data-event-opts="{{[['tap',[['hideding',['$event']]]]]}}" class="register" bindtap="__e"><view class="registerwrap"><view class="title">何时提醒我?</view><view class="titletext">在主播开始介绍商品时就提醒您</view><view class="title">如何提醒我</view><view class="titletext">在你允许消息通知后,届时会给您发送微信消息提醒</view><view data-event-opts="{{[['tap',[['notibtn',['$event']]]]]}}" class="noti flexone" catchtap="__e"><block wx:if="{{noti}}"><image class="selectxuan" src="../static/selectzhong.png" mode></image></block><block wx:else><image class="selectxuan" src="../static/select.png" mode></image></block>不再提示</view><block wx:if="{{share==true}}"><button class="buzai" open-type="share" data-event-opts="{{[['tap',[['know',['$event']]]]]}}" catchtap="__e">我知道了</button></block><block wx:else><view data-event-opts="{{[['tap',[['know',['$event']]]]]}}" class="buzai" catchtap="__e">我知道了</view></block></view></view></block></view>