index.wxml 1.8 KB

123456789101112131415161718192021222324252627282930
  1. <logout-show title="{{'订单'}}" showBtn="{{true}}" wx:if="{{ token==='' }}" />
  2. <van-sticky wx:if="{{ token!=='' }}">
  3. <van-tabs wx:if='{{!hasRefund}}' active="{{ tabIndex }}" color="#1989fa" bind:change="statusTap">
  4. <van-tab wx:for="{{statusType}}" wx:key="index" title="{{item.label}}" />
  5. </van-tabs>
  6. </van-sticky>
  7. <view class="order" wx:if="{{ token!=='' }}">
  8. <van-empty wx:if="{{ orderList.length===0 }}" description="暂无订单" />
  9. <view class="order-list" hidden="{{orderList ? false : true}}">
  10. <view class="order-item" wx:for="{{orderList}}" wx:key="index" bindtap="bindViewTap" data-type="{{item.reqCode}}">
  11. <view class="order-item-header">
  12. <text>{{item.act_time_day}}</text><text class="dian">·</text>
  13. <text>{{item.shortname}}</text><text class="dian">·</text>
  14. <text>{{item.participant_min}}</text><text>{{item.participant_max===0?'+人':'~'+item.participant_max+'人'}}</text><text class="dian">·</text>
  15. <text>{{item.require_item_name}}
  16. </text>
  17. </view>
  18. <view class="order-item-body">
  19. {{item.flow_stage}}:
  20. {{ item.status_name}}
  21. </view>
  22. <view class="order-item-footer">
  23. <van-button round custom-style="width:95px;height:36px;padding:0 18px;border:1px solid #323233" type="default" bind:click="bindViewTap2" catchtap="aa">联系顾问</van-button>
  24. <van-button round plain custom-style="width:95px; margin:0 0 0 10px;height:36px;padding:0 18px;" type="info">查看详情</van-button>
  25. <van-button round type="info" custom-style="width:95px;margin:0 0 0 10px;height:36px;padding:0 18px;" bind:click="bindViewTap1" catchtap="aa">继续办会</van-button>
  26. </view>
  27. </view>
  28. <view wx:if="{{!hasData&&orderList.length>0}}" style="text-align: center;font-size: 13px;">没有更多了</view>
  29. </view>
  30. </view>