完善 ip 提取功能,优化更新主题样式
This commit is contained in:
@@ -83,7 +83,7 @@ export default function Center() {
|
||||
{({id, field}) => (
|
||||
<div className={`flex gap-2 items-center`}>
|
||||
<Button
|
||||
variant={`outline`}
|
||||
theme={`outline`}
|
||||
type="button"
|
||||
className={`h-10 w-10 border border-gray-200 rounded-sm flex items-center justify-center text-lg`}
|
||||
onClick={() => form.setValue('quota', Math.max(10_000, Number(field.value) - 5_000))}
|
||||
@@ -99,7 +99,7 @@ export default function Center() {
|
||||
step={5_000}
|
||||
/>
|
||||
<Button
|
||||
variant={`outline`}
|
||||
theme={`outline`}
|
||||
type="button"
|
||||
className={`h-10 w-10 border border-gray-200 rounded-sm flex items-center justify-center text-lg`}
|
||||
onClick={() => form.setValue('quota', Number(field.value) + 5_000)}>
|
||||
@@ -140,7 +140,7 @@ export default function Center() {
|
||||
{({id, field}) => (
|
||||
<div className={`flex gap-2 items-center`}>
|
||||
<Button
|
||||
variant={`outline`}
|
||||
theme={`outline`}
|
||||
type="button"
|
||||
className={`h-10 w-10 border border-gray-200 rounded-sm flex items-center justify-center text-lg`}
|
||||
onClick={() => form.setValue('daily_limit', Math.max(2_000, Number(field.value) - 1_000))}
|
||||
@@ -156,7 +156,7 @@ export default function Center() {
|
||||
step={1_000}
|
||||
/>
|
||||
<Button
|
||||
variant={`outline`}
|
||||
theme={`outline`}
|
||||
type="button"
|
||||
className={`h-10 w-10 border border-gray-200 rounded-sm flex items-center justify-center text-lg`}
|
||||
onClick={() => form.setValue('daily_limit', Number(field.value) + 1_000)}>
|
||||
|
||||
@@ -61,7 +61,7 @@ export default function RechargeModal(props: RechargeModelProps) {
|
||||
return (
|
||||
<Dialog>
|
||||
<DialogTrigger asChild>
|
||||
<Button variant={`accent`} type={`button`} className={`px-4 h-8`}>去充值</Button>
|
||||
<Button theme={`accent`} type={`button`} className={`px-4 h-8`}>去充值</Button>
|
||||
</DialogTrigger>
|
||||
|
||||
<DialogContent>
|
||||
|
||||
Reference in New Issue
Block a user