|
@@ -1,5 +1,5 @@
|
1
|
1
|
import Taro from "@tarojs/taro";
|
2
|
|
-import { Button, Icon, Text, Textarea, View } from "@tarojs/components";
|
|
2
|
+import { Button, Icon, ScrollView, Text, Textarea, View } from "@tarojs/components";
|
3
|
3
|
import { useState, useEffect } from "react";
|
4
|
4
|
import withLayout from "@/layouts";
|
5
|
5
|
import CustomNav from "@/components/CustomNav";
|
|
@@ -108,7 +108,6 @@ export default withLayout((props) => {
|
108
|
108
|
Taro.showLoading({
|
109
|
109
|
title: '核销中'
|
110
|
110
|
})
|
111
|
|
-
|
112
|
111
|
setSubmiting(true);
|
113
|
112
|
Promise.all(checked.map(verifyNo => putVerifyTarget(verifyNo)))
|
114
|
113
|
.then(res => {
|
|
@@ -172,7 +171,7 @@ export default withLayout((props) => {
|
172
|
171
|
</button>
|
173
|
172
|
</view>
|
174
|
173
|
</Popup>
|
175
|
|
- <view>
|
|
174
|
+ <view className='index-navbar'>
|
176
|
175
|
<view className='position-header'>
|
177
|
176
|
<image className='position-LocationBig' src={LocationBig} />
|
178
|
177
|
<text cla='position-LocationBig-text'>
|
|
@@ -187,19 +186,25 @@ export default withLayout((props) => {
|
187
|
186
|
/>
|
188
|
187
|
<text className='shop-title-title'>请选择你要核销的套餐</text>
|
189
|
188
|
</view>
|
190
|
|
- <SpinBox loading={loading}>
|
191
|
|
- {(list || []).map((item) => {
|
192
|
|
- return (
|
193
|
|
- <TBCard item={item} key={item.verifyNo} checked={checked} handleCheck={handleCheck} />
|
194
|
|
- )
|
195
|
|
- })}
|
196
|
|
- </SpinBox>
|
|
189
|
+ </view>
|
|
190
|
+ <View className='index-container'>
|
|
191
|
+ <ScrollView scrollY style={{height:'100%'}}>
|
|
192
|
+ <SpinBox loading={loading}>
|
|
193
|
+ {(list || []).map((item) => {
|
|
194
|
+ return (
|
|
195
|
+ <TBCard item={item} key={item.verifyNo} checked={checked} handleCheck={handleCheck} />
|
|
196
|
+ )
|
|
197
|
+ })}
|
|
198
|
+ </SpinBox>
|
|
199
|
+ </ScrollView>
|
|
200
|
+ </View>
|
|
201
|
+ <View className='index-tabber'>
|
197
|
202
|
<view className='button-info'>
|
198
|
203
|
<Button className='button-box' onClick={handleVerifyClick}>
|
199
|
204
|
{btnText}
|
200
|
205
|
</Button>
|
201
|
206
|
</view>
|
202
|
|
- </view>
|
|
207
|
+ </View>
|
203
|
208
|
</view>
|
204
|
209
|
);
|
205
|
210
|
});
|