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