|
...
|
...
|
@@ -5,17 +5,17 @@ |
|
|
|
<view class="view item {{tabType>4?'active':''}}" data-type="5" bindtap="switchType">我的套餐</view>
|
|
|
|
</view>
|
|
|
|
</nav>
|
|
|
|
<view class="view tabs flex padding-lg padding-top-xs justify-between" wx:if="{{tabType<5}}">
|
|
|
|
<view class="view tabs flex padding-lr-lg padding-top-xs justify-between padding-bottom-sm margin-bottom-sm" wx:if="{{tabType<5}}">
|
|
|
|
<view class="view item {{tabType==1?'active':''}}" data-type="1" bindtap="switchType">等待确认</view>
|
|
|
|
<view class="view item {{tabType==2?'active':''}}" data-type="2" bindtap="switchType">预订成功</view>
|
|
|
|
<view class="view item {{tabType==3?'active':''}}" data-type="3" bindtap="switchType">历史订单</view>
|
|
|
|
<view class="view item {{tabType==4?'active':''}}" data-type="4" bindtap="switchType">无效预订</view>
|
|
|
|
</view>
|
|
|
|
<view class="view tabs flex padding-lg padding-top-xs justify-between" wx:else="">
|
|
|
|
<view class="view item {{tabType==5?'active':''}}" data-type="5" bindtap="switchType">全部套餐</view>
|
|
|
|
<view class="view item {{tabType==6?'active':''}}" data-type="6" bindtap="switchType">待使用</view>
|
|
|
|
<view class="view item {{tabType==7?'active':''}}" data-type="7" bindtap="switchType">已使用</view>
|
|
|
|
<view class="view item {{tabType==8?'active':''}}" data-type="8" bindtap="switchType">已退款</view>
|
|
|
|
<view class="view tabs flex padding-lr-lg padding-top-xs justify-between padding-bottom-sm margin-bottom-sm" wx:else="">
|
|
|
|
<view class="view item {{tabType==5?'active':''}}" data-type="5" bindtap="switchType">待使用</view>
|
|
|
|
<view class="view item {{tabType==6?'active':''}}" data-type="6" bindtap="switchType">已使用</view>
|
|
|
|
<view class="view item {{tabType==7?'active':''}}" data-type="7" bindtap="switchType">已过期</view>
|
|
|
|
<view class="view item {{tabType==8?'active':''}}" data-type="8" bindtap="switchType">退款</view>
|
|
|
|
</view>
|
|
|
|
<view class="view pages">
|
|
|
|
<block wx:if="{{list[tabType].length==0}}">
|
|
...
|
...
|
@@ -34,13 +34,18 @@ |
|
|
|
seller="{{detail.seller}}" detail="{{detail}}"></card>
|
|
|
|
</navigator>
|
|
|
|
</block>
|
|
|
|
<block wx:else="">
|
|
|
|
<view class="view padding-lr" wx:else="">
|
|
|
|
<navigator wx:for="{{list[tabType]}}" wx:key="success.key"
|
|
|
|
wx:for-item="order" wx:for-index="dateIndex"
|
|
|
|
class="margin-bottom-lg"
|
|
|
|
url="/pages/taocan/order?id={{order.id}}">
|
|
|
|
<tcard order="{{order}}"></tcard>
|
|
|
|
<subject order="{{order}}" hasTopStatus>
|
|
|
|
<view class="view flex justify-end margin-top">
|
|
|
|
<view class="solid txt-26-h text-blue">到店使用</view>
|
|
|
|
</view>
|
|
|
|
</subject>
|
|
|
|
</navigator>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="view" style="height: 192rpx;"></view>
|
|
|
|
</block>
|
|
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|