index.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <scroll-view refresher-enabled :refresher-triggered="isRefreshing" @refresherrefresh="onCustomRefresh"
  3. class="details-main" @scrolltolower="scrolltolower" scroll-y>
  4. <view>
  5. <view class="details-div flex_c_s address-box details-main-bottom">
  6. <view class="address-left flex_c_l">
  7. <view class="address-icon"></view>
  8. <view class="address-content">
  9. <view class="font-30-333">中国人民大学科技园-1栋</view>
  10. <view class="font-28-grey address-text">
  11. <text class="mar-22">原</text>
  12. <text class="mar-22">女士</text>
  13. <text class="mar-22">133****1231</text>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="address-rigth font-28-cb flex_c_r">
  18. <text>去导航</text>
  19. <up-icon name="arrow-right" color="#CB9964" size="16"></up-icon>
  20. </view>
  21. </view>
  22. <Card1 />
  23. <view class="font-title">总订单信息</view>
  24. <Card2 />
  25. <view class="details-div details-main-bottom">
  26. <view class="font-28-333 details-main-bottom-30">用户备注</view>
  27. <view class="font-30-97 bz-bottom">玻璃外面也要清洁到位哦</view>
  28. </view>
  29. <view class="font-title">子订单信息</view>
  30. <CardList />
  31. </view>
  32. </scroll-view>
  33. </template>
  34. <script setup>
  35. import { ref } from 'vue';
  36. import Card1 from './Card1.vue';
  37. import Card2 from './Card2.vue';
  38. import CardList from './CardList.vue';
  39. const isRefreshing = ref(false)
  40. const onCustomRefresh = () => {
  41. isRefreshing.value = true;
  42. setTimeout(() => {
  43. isRefreshing.value = false;
  44. }, 1000);
  45. };
  46. const scrolltolower = () => {
  47. };
  48. </script>
  49. <style lang="scss" scoped>
  50. @import "./index.scss";
  51. </style>