zhidetail.wxml
5.6 KB
<view class="container"><view class="zhibotopbox"><view class="zhibotaltop flexone"><view class="zhibohead"><image src="{{info.avatar}}" mode></image></view><view class="zhiboright"><view class="zhubotail flextwo"><view class="tailrighttop flexone"><view class="tailname">{{info.name}}</view><view class="taillabel">{{info.platform}}</view></view><view class="shareimg"><image class="sharebtn" src="../../static/share.png" mode></image><button class="shartype" open-type="share"></button></view></view><view class="tailrightbot flexone"><block wx:if="{{info.user_anchor==0}}"><view data-event-opts="{{[['tap',[['dingyuezhi',['$event']]]]]}}" class="tailzhibo" bindtap="__e">订阅直播</view></block><block wx:if="{{info.user_anchor==1}}"><view data-event-opts="{{[['tap',[['dingyuezhi',['$event']]]]]}}" class="tailzhibo" bindtap="__e">取消订阅</view></block><block wx:if="{{info.anchor_time!=null}}"><view class="taildate">{{info.anchor_time.time+"开播"}}</view></block></view></view></view><block wx:if="{{info.anchor_time!=null}}"><view class="zhibonametext">{{info.anchor_time.title}}</view></block></view><view class="zhubokind flextwo"><view class="zhubokinditem"><view class="zhuboimg"><image src="../../static/yulan.png" mode></image><view class="yuanquan"></view></view><view class="zhubokindname">浏览预告</view><view class="setname">设置商品提醒</view></view><view class="zhubokinditem"><view class="zhuboimg"><image src="../../static/intro.png" mode></image><view class="yuanquan"></view></view><view class="zhubokindname">主播介绍</view><view class="setname">立刻推送提醒</view></view><view class="zhubokinditem"><view class="zhuboimg"><image src="../../static/tixing.png" mode></image><view class="yuanquan"></view></view><view class="zhubokindname">收到提醒</view><view class="setname">打开软件购买</view></view></view><block wx:if="{{beginlist.length!=0}}"><view><block wx:for="{{beginlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="padding:0 32rpx;box-sizing:border-box;"><view class="want flextwo"><view class="wantleft flexone"><image class="likeimg" src="../../static/meizhuanglei.png" mode></image>{{''+item.name+''}}</view></view><view class="goodlist"><block wx:for="{{item.child}}" wx:for-item="itemk" wx:for-index="indexk" wx:key="indexk"><view data-event-opts="{{[['tap',[['entergood',['$0'],[[['beginlist','',index]]]]]]]}}" class="goodlistitem flex" bindtap="__e"><view class="goodlistimg"><image src="../static/goodlistimg.png" mode></image></view><view class="goodlistright"><view class="goodrighttop flextwo"><view class="goodname">{{itemk.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 class="zhiboleft">{{itemk.anchor.name+itemk.anchor.platform}}</view><view class="kaibo">{{itemk.anchor_time.time+"开播"}}</view></view><view class="zhiboprice">直播价 ¥<text class="pricege">{{itemk.live_price}}</text></view><view class="cankao flextwo"><view class="cankaoleft">{{"参考价(京东¥"+itemk.r_price+"元)"}}</view><block wx:if="{{itemk.status_data==1}}"><view><block wx:if="{{itemk.user_goods==0}}"><view><block wx:if="{{itemk.share==true}}"><view class="canlaoright flexone"><image class="naoling" src="../../static/naoling.png" mode></image>提醒我<block wx:if="{{notixing==1}}"><button class="sharebtnk" open-type="share" data-event-opts="{{[['tap',[['sharefriend',[index,indexk,'$0','$1'],[[['beginlist','',index],['child','',indexk,'id']],[['beginlist','',index,'share']]]]]]]}}" catchtap="__e"></button></block></view></block><block wx:else><view data-event-opts="{{[['tap',[['tixing',[index,indexk,'$0'],[[['beginlist','',index],['child','',indexk,'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,indexk,'$0'],[[['beginlist','',index],['child','',indexk,'id']]]]]]]}}" class="canceltixing" catchtap="__e">取消提醒</view></block></view></block><block wx:if="{{itemk.status_data==2}}"><view><view class="canlaoright flexone">已上架</view></view></block></view></view></view></block></view></view></block></view></block><view style="padding:32rpx;box-sizing:border-box;"><view class="want flextwo"><view class="wantleft flexone"><image class="likeimg" src="../../static/like.png" mode></image>也许这里也又你想要的</view></view><goodkind vue-id="445a434c-1" wantlist="{{wantlist}}" bind:__l="__l"></goodkind></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" bindtap="__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>