在线充值支持设置最低充值数量

This commit is contained in:
CaIon
2023-11-06 02:40:23 +08:00
parent 7688e9f9dd
commit 1883c7c795
9 changed files with 167 additions and 28 deletions

View File

@@ -20,6 +20,7 @@ const SystemSetting = () => {
EpayId: '',
EpayKey: '',
Price: 7.3,
MinCharge: 1,
TopupGroupRatio: '',
PayAddress: '',
Footer: '',
@@ -308,6 +309,15 @@ const SystemSetting = () => {
min={0}
onChange={handleInputChange}
/>
<Form.Input
label='最低充值数量'
placeholder='例如10最低10刀起'
value={inputs.MinCharge}
name='MinCharge'
min={1}
onChange={handleInputChange}
/>
</Form.Group>
<Form.Group widths='equal'>
<Form.TextArea

View File

@@ -202,12 +202,12 @@ const TopUp = () => {
</Grid>
</Segment>
<Segment>
<Header as='h3'>在线充值最低1</Header>
<Header as='h3'>在线充值</Header>
<Grid columns={2} stackable>
<Grid.Column>
<Form>
<Form.Input
placeholder='充值金额最低1'
placeholder='充值金额'
name='redemptionCount'
type={'number'}
value={topUpCount}