|
@@ -4,7 +4,7 @@ import { getPackageDetail } from "@/services/home";
|
4
|
4
|
import { saveOrder, getOrderSub, payOrder } from "@/services/payOrder";
|
5
|
5
|
import { useState, useEffect } from "react";
|
6
|
6
|
import formatPrice from "@/utils/formatPrice";
|
7
|
|
-
|
|
7
|
+import InputNumber from "@/components/InputNumber";
|
8
|
8
|
import { Button, Checkbox, Input, RadioGroup, Radio } from "@tarojs/components";
|
9
|
9
|
import AuthPage from '@/components/AuthPage'
|
10
|
10
|
import food from "@/assets/icons/ProCard/food.png";
|
|
@@ -195,25 +195,7 @@ export default withLayout((props) => {
|
195
|
195
|
<CustomNav title='订单' />
|
196
|
196
|
<Popup show={showDialog} maskClosable={false}>
|
197
|
197
|
<OrderMolded item={detail} />
|
198
|
|
- <view className='item-center-Number'>
|
199
|
|
- <view
|
200
|
|
- className='buy-num-minus'
|
201
|
|
- disabled={DisabledBool}
|
202
|
|
- onClick={NumberCut}
|
203
|
|
- >
|
204
|
|
- -
|
205
|
|
- </view>
|
206
|
|
- <Input
|
207
|
|
- className='buy-num-input'
|
208
|
|
- type='number'
|
209
|
|
- min='1'
|
210
|
|
- onInput={onInput}
|
211
|
|
- value={BuyNumber}
|
212
|
|
- />
|
213
|
|
- <view className='buy-num-add' onClick={NumberAdd}>
|
214
|
|
- +
|
215
|
|
- </view>
|
216
|
|
- </view>
|
|
198
|
+ <InputNumber value={BuyNumber} onChange={x => setBuyNumber(x)} style={{ marginTop: '40rpx' }} />
|
217
|
199
|
<view className='buy-button-box'>
|
218
|
200
|
<button className='button-Cancel' onClick={ButtonCancel}>
|
219
|
201
|
取消
|