1 line
4.6 KiB
Plaintext
1 line
4.6 KiB
Plaintext
<view><view class="box"><view class="tabList"><view data-event-opts="{{[['tap',[['changeIdx',[0]]]]]}}" class="{{['tabItem',currentIdx==0?'active':'']}}" bindtap="__e">活动列表</view><view class="line"></view><view data-event-opts="{{[['tap',[['changeIdx',[1]]]]]}}" class="{{['tabItem',currentIdx==1?'active':'']}}" bindtap="__e">我的订单</view></view></view><block wx:if="{{currentIdx==0}}"><view><view class="drawTit">领取说明<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/explain.png" mode="widthFix" data-event-opts="{{[['tap',[['onChangeShow',['$event']]]]]}}" bindtap="__e"></image></view><view class="stride"><view class="strideItem"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/myReservation_icon1.png" mode="widthFix"></image>手机下单</view><view class="stideIcon"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/myres_icon.png" mode="widthFix"></image></view><view class="strideItem"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/myReservation_icon2.png" mode="widthFix"></image>到店核销</view><view class="stideIcon"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/myres_icon.png" mode="widthFix"></image></view><view class="strideItem"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/myReservation_icon3.png" mode="widthFix"></image>订单完成</view><view class="stideIcon"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/myres_icon.png" mode="widthFix"></image></view><view class="strideItem"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/myReservation_icon4.png" mode="widthFix"></image>领取礼品</view></view><view class="gray"></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g0!=0}}"><view class="goodsItem"><view class="goodsItem_left"><view class="goodsImg"><image src="{{item.$orig.photo}}" mode="aspectFill"></image></view><view class="goodsmsg"><view class="name">{{item.$orig.title}}</view><view class="num">{{item.$orig.total+"个"}}</view></view></view><view class="goodsItem_right"><view data-event-opts="{{[['tap',[['desc2',['$0'],[[['goodsList','',index,'activity_id']]]]]]]}}" class="right_top" bindtap="__e">查看自提点<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/water_filter/filter_more.png" mode></image></view><view data-event-opts="{{[['tap',[['desc',['$0'],[[['goodsList','',index,'activity_id']]]]]]]}}" class="right_bottom" bindtap="__e">去领取</view></view></view></block></block><block wx:if="{{$root.g1==0}}"><view class="empty _div"><u-empty vue-id="6e70ac12-1" icon-size="100rpx" text=" " mode="order" bind:__l="__l"></u-empty><view class="_div">暂无内容</view></view></block></view></block><block wx:if="{{currentIdx==1}}"><view class="order"><u-dropdown vue-id="6e70ac12-2" bind:__l="__l" vue-slots="{{['default']}}"><u-dropdown-item vue-id="{{('6e70ac12-3')+','+('6e70ac12-2')}}" options="{{options1}}" value="{{value1}}" data-event-opts="{{[['^change',[['headerSelectClick']]],['^input',[['__set_model',['','value1','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item></u-dropdown><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g2!=0}}"><view class="main"><view class="item_header"><image class="item_left" src="https://huishang.magicany.cc/static/xiaoqu/2024/09/14/66e4ed5abe092.jpg" mode></image><view class="item_right"><view class="right_left"><view class="shop_title">{{item.$orig.activity.title}}</view><view class="shop_num">{{item.$orig.num+"个"}}</view><view class="shop_time">{{item.$orig.activity.sign_end+"可用"}}</view></view><view class="right_status">{{statusType[item.$orig.status]}}</view></view></view><block wx:if="{{item.$orig.status===1}}"><view class="item_bottom"><view class="btn" data-id="{{item.$orig.activity_id}}" data-orderId="{{item.$orig.id}}" data-name="modify" data-event-opts="{{[['tap',[['headerPickClick',['$0','$1','modify'],[[['orderList','',index,'activity_id']],[['orderList','',index,'id']]]]]]]}}" bindtap="__e">修改数量</view><view data-event-opts="{{[['tap',[['headerLookClick',['$event']]]]]}}" class="btn look" bindtap="__e">查看自提点</view><view data-event-opts="{{[['tap',[['headerGoPayClick',['$0','$1'],[[['orderList','',index,'title']],[['orderList','',index,'qrcode']]]]]]]}}" class="btn use" bindtap="__e">去使用</view></view></block></view></block></block><block wx:if="{{$root.g3==0}}"><view class="empty _div"><u-empty vue-id="6e70ac12-4" icon-size="100rpx" text=" " mode="order" bind:__l="__l"></u-empty><view class="_div">暂无内容</view></view></block></view></block></view> |