show-result.wxml 2.4 KB

1
  1. <uni-popup class="result-popup-main vue-ref" vue-id="3754f4c4-1" mode="top" mask="{{false}}" data-ref="prize" bind:__l="__l" vue-slots="{{['default']}}"><view class="result-popup"><view class="{{['prize',explode&&'show']}}"><view class="prize_box"><view data-event-opts="{{[['tap',[['close']]]]}}" class="prize_close" bindtap="__e"><image src="https://www.chaomangdao.com/image/home/guanbi@2x.png" mode></image></view>><block wx:if="{{mode==0}}"><view class="{{['prize_shop','center','onebox','tag-'+tag,scale&&'prize_shop_scale']}}"><view class="spining"></view><view class="left-top-tag"><image class="tag-img" src="{{tagImg}}" mode="aspectFit"></image><text class="tag-text">{{tagText}}</text></view><block wx:if="{{prizedata&&prizedata.prizeInfo}}"><image class="one" src="{{prizedata.prizeInfo[0].image}}" mode="widthFix"></image></block><block wx:if="{{prizedata&&prizedata.prizeInfo}}"><text class="colorblack">{{prizedata.prizeInfo[0].goods_name}}</text></block><block wx:if="{{prizedata&&prizedata.prizeInfo}}"><text class="colorblack">{{"¥"+prizedata.prizeInfo[0].coin_price}}</text></block></view></block><block wx:else><view class="{{['prize_ul','prize_ul-'+mode]}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['prize_ul_li','twobox','flex','tag-'+item.m0]}}"><view class="left-top-tag"><image class="tag-img" src="{{item.m1}}" mode="aspectFit"></image><text class="tag-text">{{item.m2}}</text></view><image class="two" src="{{item.$orig.image}}" mode="widthFix"></image><view class="a">{{item.$orig.goods_name}}</view><view class="price">{{"¥"+item.$orig.coin_price}}</view></view></block></view></block><block wx:if="{{type==0}}"><view class="{{['prize_footer','prize_footer-'+mode]}}"><view data-event-opts="{{[['tap',[['$emit',['accept']]]]]}}" class="btn btn-1" bindtap="__e">立即收下</view><view data-event-opts="{{[['tap',[['recycle']]]]}}" class="btn btn-0" bindtap="__e">一键回收</view></view></block><block wx:else><view class="shiwan center">试玩结果仅供展示哦~</view></block></view></view><view hidden="{{!(!hide)}}" class="loading-mask"><view class="{{['animation-wrapper',explode&&'explode']}}" animation="{{boxAnimation}}"><image class="box" src="{{boxImg}}" mode="heightFix"></image><image class="halo" src="https://www.chaomangdao.com/image/result/halo.png" mode="heightFix"></image></view></view><audio id="result-audio" src="https://www.chaomangdao.com/image/result/1.mp3"></audio></view></uni-popup>