details.wxml 5.5 KB

1
  1. <view class="index-main"><view class="vheight"></view><view class="details"><view class="details_title"><view class="details_nav"></view><view class="details-title_head flex"><view data-event-opts="{{[['tap',[['returnTop',['$event']]]]]}}" class="details_title_return" bindtap="__e"><image src="/static/image/publice/fanhui@2x.png" mode></image></view><view class="details_title_name">{{boxDetail.box_name}}</view></view></view></view><view class="bjt"><view class="top"><lunbobox vue-id="052d04aa-1" bind:__l="__l"></lunbobox><block wx:if="{{type==0}}"><view data-event-opts="{{[['tap',[['changeStar',['$event']]]]]}}" class="details_footer_coll" bindtap="__e"><image src="{{boxDetail.is_star==1?'https://www.chaomangdao.com/image/home/shoucangyixuanzhong@2x.png':'/static/image/home/shoucangweixuanzhong@2x.png'}}" mode="widthFix"></image></view></block><view class="loop-container"><view class="loop-image-main"><block wx:if="{{box_id}}"><prize-flying vue-id="052d04aa-2" box-id="{{box_id}}" bind:__l="__l"></prize-flying></block><view class="loop-image-warapper"><swiper class="swiper" autoplay="{{true}}" circular="{{true}}"><swiper-item><view class="{{['image-box']}}"><block wx:for="{{boxDetail.box_banner}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><image class="{{[boxDetail.box_banner.length>1?'box-banner-'+index:'box-banner']}}" src="{{item.image}}" mode="heightFix" data-event-opts="{{[['tap',[['lookImg',['$0'],[[['boxDetail.box_banner','',index,'image']]]]]]]}}" bindtap="__e"></image><text>{{item.desc}}</text></view></block></view></swiper-item></swiper></view></view></view></view><view class="bottom"><view><view class="button-container"><view data-event-opts="{{[['tap',[['haveTry']]]]}}" class="side-btn" bindtap="__e"><image src="/static/image/new_home/swmhan.png" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['selectNum']]]]}}" class="center-btn" bindtap="__e"><image src="/static/image/new_home/khan.png" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="side-btn" bindtap="__e"><image src="/static/image/new_home/gdmhan.png" mode="widthFix"></image></view></view></view></view></view><uni-popup class="vue-ref" vue-id="052d04aa-3" type="bottom" mask-click="{{false}}" data-ref="num-popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="num-popup"><view data-event-opts="{{[['tap',[['closeNumPopup',['$event']]]]]}}" class="popup-close" bindtap="__e"><image src="https://www.chaomangdao.com/image/home/guanbi@2x.png" mode></image></view><view class="num-button-group"><view data-event-opts="{{[['tap',[['createOder',[1]]]]]}}" class="num-button" bindtap="__e"><image src="/static/image/new_home/btn-1.png" mode="widthFix"></image><text>一发入魂</text></view></view><view class="num-button-group"><view data-event-opts="{{[['tap',[['createOder',[5]]]]]}}" class="num-button" bindtap="__e"><image src="../../static/image/new_home/btn-3.png" mode="widthFix"></image><text>五连绝世</text></view><view data-event-opts="{{[['tap',[['createOder',[9]]]]]}}" class="num-button" bindtap="__e"><image src="../../static/image/new_home/btn-2.png" mode="widthFix"></image><text>九连更稳</text></view></view><view class="order-info"><view>{{"开盒数量:"+boxNum}}</view><view class="total-price">{{"订单金额:¥"+totalPrice}}</view></view><view class="popup-btn"></view></view></uni-popup><payment class="vue-ref" vue-id="052d04aa-4" box-id="{{box_id}}" box-num="{{boxNum}}" type="{{type}}" data-ref="payment" data-event-opts="{{[['^createSuccess',[['closeNumPopup']]],['^showResult',[['showResult']]]]}}" bind:createSuccess="__e" bind:showResult="__e" bind:__l="__l"></payment><show-result class="vue-ref" vue-id="052d04aa-5" num="{{boxNum}}" type="{{type}}" data-ref="result-popup" data-event-opts="{{[['^accept',[['toMyBox']]],['^recycle',[['recycle']]]]}}" bind:accept="__e" bind:recycle="__e" bind:__l="__l"></show-result><recycle class="vue-ref" vue-id="052d04aa-6" data-ref="recycle" bind:__l="__l"></recycle><view class="goods-view"><view class="rate-view flex"></view><view class="goods-list-view flex"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="goods-item"><text class="{{['goods-tag','goods-tag-'+(item.$orig.tag=='传说'?0:item.$orig.tag=='史诗'?1:item.$orig.tag=='稀有'?2:3)]}}">{{''+(item.$orig.tag=='传说'?rates[0].value:item.$orig.tag=='史诗'?rates[1].value:item.$orig.tag=='稀有'?rates[2].value:rates[3].value)+'%'}}</text><view class="goods-img-view"><image src="{{item.g0==-1?'https://www.chaomangdao.com'+item.$orig.image:item.$orig.image}}" mode data-event-opts="{{[['tap',[['lookDetail',['$0'],[[['boxDetail.goodslist','',index]]]]]]]}}" bindtap="__e"></image></view><view class="goods-name clamp2">{{item.$orig.goods_name}}</view><view class="goods-price">{{"¥"+item.$orig.price}}</view></view></block></view></view><uni-popup class="vue-ref" vue-id="052d04aa-7" mask-click="{{false}}" data-ref="regulation" bind:__l="__l" vue-slots="{{['default']}}"><view class="regulation"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="regulation_close" bindtap="__e"><image src="https://www.chaomangdao.com/image/home/guanbi@2x.png" mode></image></view><view class="regulation_name">买家须知</view><view class="regulation_main"><scroll-view class="scroll-view" scroll-y="true"><u-parse vue-id="{{('052d04aa-8')+','+('052d04aa-7')}}" content="{{message}}" bind:__l="__l"></u-parse></scroll-view></view></view></uni-popup><goods-detail class="vue-ref" vue-id="052d04aa-9" data-ref="goods-detail" bind:__l="__l"></goods-detail></view>