orderDetail.vue 437 B

123456789101112131415161718192021222324
  1. <template>
  2. <view class="sub-base-container">
  3. <shop-list :active="active" type="detail"></shop-list>
  4. </view>
  5. </template>
  6. <script setup>
  7. import {
  8. ref
  9. } from "vue"
  10. import { onLoad } from '@dcloudio/uni-app'
  11. import shopList from "../components/shopList.vue"
  12. const active = ref(3)
  13. onLoad(({status})=>{
  14. active.value = Number(status)
  15. })
  16. </script>
  17. <style lang="scss" scoped>
  18. .sub-base-container{
  19. padding: 10rpx 0;
  20. }
  21. </style>