You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
123456789101112131415161718192021222324252627282930313233343536373839
  1. <!-- 订单列表2 -->
  2. <template>
  3. <empty-view v-if="!data.login" mode="permission" content="请先登录再查看订单" btnTxt="立即登录"
  4. @btnClick="$util.navTo('/login/login')">
  5. </empty-view>
  6. <view class="list-wrapper" v-else>
  7. <order-tabbar ref="tabbarRef" :tabs="data.tabsList" v-model:curIndex="data.tabIndex"
  8. v-if="data.tabsList.length > 0"></order-tabbar>
  9. <order-list-item ref="mescrollItem" :index="data.tabIndex" :refresh="data.refresh">
  10. </order-list-item>
  11. </view>
  12. </template>
  13. <script setup lang="ts">
  14. import orderTabbar from "./components/order-tabbar.vue";
  15. import orderListItem from "./components/order-list-item";
  16. import useOrderList from "@/composables/order/useOrderList";
  17. const {
  18. data,
  19. tabbarRef
  20. } = useOrderList();
  21. </script>
  22. <style lang="scss">
  23. page {
  24. background: #eef7f7;
  25. }
  26. :deep(.u-mode-center-box) {
  27. border-radius: 20rpx;
  28. }
  29. </style>
  30. <style lang="scss" scoped>
  31. .list-wrapper {}
  32. </style>