index.wxml 6.8 KB

1
  1. <view class="index-main"><view class="top"><view class="title"><view data-event-opts="{{[['tap',[['zxkf']]]]}}" class="kf" bindtap="__e"><image class="small-img" src="/static/image/new_home/kf.png" mode="widthFix"></image></view></view><view class="left-cd"><view data-event-opts="{{[['tap',[['changePlay',['$event']]]]]}}" class="details_title_mp3" bindtap="__e"><image class="{{['bjtb',isPlay&&'run']}}" src="{{isPlay?'/static/image/home/bofang@2x.png':'/static/image/home/guanbiyinyue@2x.png'}}" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['toMyBox']]]]}}" class="oval1" bindtap="__e"><image class="small-img" src="/static/image/new_home/tbxg.png" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['wfashuiming']]]]}}" class="right" bindtap="__e"><image class="small-img" src="/static/image/new_home/wfsm.png" mode="widthFix"></image></view></view><lunbobox vue-id="177b07ec-1" bind:__l="__l"></lunbobox><view class="loop-container"><view class="loop-image-main"><view class="box-image-bj"><image src="../../static/image/new_home/box-images-bj.png" mode></image></view><block wx:if="{{currBox}}"><prize-flying vue-id="177b07ec-2" box-id="{{currBox.box_id}}" bind:__l="__l"></prize-flying></block><image class="arrow arrow-left" src="/static/image/new_home/arrow-left.png" mode="widthFix" data-event-opts="{{[['tap',[['prev',['$event']]]]]}}" bindtap="__e"></image><image class="arrow arrow-right" src="/static/image/new_home/arrow-right.png" mode="widthFix" data-event-opts="{{[['tap',[['next',['$event']]]]]}}" bindtap="__e"></image><view class="loop-image-warapper"><swiper class="swiper" circular="{{true}}" current="{{loopData.current}}" data-event-opts="{{[['change',[['loopItemChange',['$0'],['$event.detail.current']]]]]}}" bindchange="__e"><block wx:for="{{loopData.list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view class="{{['image-box']}}"><block wx:for="{{item.box_banner_images}}" wx:for-item="box_banner" wx:for-index="index"><image class="{{[item.box_banner_images.length>1?'box-banner-'+index:'box-banner']}}" src="{{box_banner}}" mode="heightFix" data-event-opts="{{[['tap',[['goMessage',['$0',0],[[['loopData.list','',index]]]]]]]}}" bindtap="__e"></image></block></view></swiper-item></block></swiper></view><view class="finger"><image src="/static/image/new_home/sz.png" mode="heightFix"></image></view></view><view class="price-container"><text class="price">{{"¥"+price+".00元/个"}}</text></view><view class="loop-label-warapper"><swiper class="swiper" circular="{{true}}" indicator-dots="{{true}}" previous-margin="{{loopData.margin}}" next-margin="{{loopData.margin}}" current="{{loopData.current}}" data-event-opts="{{[['change',[['loopItemChange',['$0'],['$event.detail.current']]]]]}}" bindchange="__e"><block wx:for="{{loopData.list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="{{[loopData.current==index&&'label-active']}}"><view data-event-opts="{{[['tap',[['loopItemChange',[index]]]]]}}" class="{{['label-box']}}" bindtap="__e"><view class="{{['loop-image-label']}}"><image src="{{item.box_foot_images}}" mode="aspectFit"></image><text>{{item.box_name}}</text></view></view></swiper-item></block></swiper></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><uni-popup class="vue-ref" vue-id="177b07ec-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="/static/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><uni-popup class="vue-ref" vue-id="177b07ec-4" 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="/static/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="{{('177b07ec-5')+','+('177b07ec-4')}}" content="{{message}}" bind:__l="__l"></u-parse></scroll-view></view></view></uni-popup><uni-popup class="vue-ref" vue-id="177b07ec-6" mask-click="{{false}}" data-ref="regulation_1" bind:__l="__l" vue-slots="{{['default']}}"><view class="regulation_1"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="regulation_close" bindtap="__e"><image src="/static/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="{{('177b07ec-7')+','+('177b07ec-6')}}" content="{{mjxz}}" bind:__l="__l"></u-parse></scroll-view></view></view></uni-popup><payment class="vue-ref" vue-id="177b07ec-8" box-id="{{currBox&&currBox.box_id}}" box-num="{{boxNum}}" type="{{type}}" pay-page="index" 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="177b07ec-9" num="{{boxNum}}" type="{{type}}" data-ref="result-popup" data-event-opts="{{[['^accept',[['toMyBox']]],['^recycle',[['recycle']]],['^close',[['e3']]]]}}" bind:accept="__e" bind:recycle="__e" bind:close="__e" bind:__l="__l"></show-result><recycle class="vue-ref" vue-id="177b07ec-10" data-ref="recycle" bind:__l="__l"></recycle></view>