|
@@ -1,7 +1,7 @@
|
1
|
1
|
import { useState, useEffect } from "react";
|
2
|
2
|
import Taro, { useDidShow } from "@tarojs/taro";
|
3
|
3
|
import SpinBox from "@/components/Spin/SpinBox";
|
4
|
|
-
|
|
4
|
+import { View } from '@tarojs/components';
|
5
|
5
|
import withLayout from "@/layouts";
|
6
|
6
|
import OrderCard from '@/components/CompoentsOrder/OrderCard'
|
7
|
7
|
import { getOrderSub } from "@/services/payOrder";
|
|
@@ -62,26 +62,28 @@ export default withLayout((props) => {
|
62
|
62
|
}, [pageNum]);
|
63
|
63
|
|
64
|
64
|
return (
|
65
|
|
- <view className='box-content'>
|
|
65
|
+ <view className='page-index box-content'>
|
66
|
66
|
<view className='index-navbar'>
|
67
|
67
|
<CustomNav title='售后退款' />
|
68
|
68
|
</view>
|
69
|
|
- <SpinBox loading={loading}>
|
70
|
|
- <scroll-view
|
71
|
|
- scrollY
|
72
|
|
- style='height: calc(100vh - 176rpx);'
|
73
|
|
- onscrolltolower={pageLoadMore}
|
74
|
|
- >
|
75
|
|
- <view className='View-box-Card'>
|
76
|
|
- {(list || []).map((item) => {
|
77
|
|
- return (
|
78
|
|
- <OrderCard item={item} key={item.orderId} sh='1' />
|
79
|
|
- )
|
80
|
|
- })}
|
81
|
|
- <view className='foot'>这是我的底线</view>
|
82
|
|
- </view>
|
83
|
|
- </scroll-view>
|
84
|
|
- </SpinBox>
|
|
69
|
+ <View className='index-container'>
|
|
70
|
+ <SpinBox loading={loading}>
|
|
71
|
+ <scroll-view
|
|
72
|
+ scrollY
|
|
73
|
+ style='height: 100%;'
|
|
74
|
+ onscrolltolower={pageLoadMore}
|
|
75
|
+ >
|
|
76
|
+ <view className='View-box-Card'>
|
|
77
|
+ {(list || []).map((item) => {
|
|
78
|
+ return (
|
|
79
|
+ <OrderCard item={item} key={item.orderId} sh='1' />
|
|
80
|
+ )
|
|
81
|
+ })}
|
|
82
|
+ <view className='foot'>这是我的底线</view>
|
|
83
|
+ </view>
|
|
84
|
+ </scroll-view>
|
|
85
|
+ </SpinBox>
|
|
86
|
+ </View>
|
85
|
87
|
</view>
|
86
|
88
|
);
|
87
|
89
|
});
|