修改input字体大小为16px
This commit is contained in:
parent
641e3974d9
commit
b67bbb54d7
|
@ -44,15 +44,18 @@ export default function Pay() {
|
|||
|
||||
//获取当前充值档位
|
||||
const [isFetching, setIsFetching] = useState(true);
|
||||
const getBase = useCallback((webviewBase)=>{
|
||||
const getBase = useCallback(
|
||||
(webviewBase) => {
|
||||
let searchParamsObj = null;
|
||||
let currentBaseCode = searchParams.get("base")
|
||||
let currentBaseCode = searchParams.get("base");
|
||||
if (currentBaseCode) {
|
||||
let currentBase = JSON.parse(currentBaseCode);
|
||||
searchParamsObj = { ...currentBase };
|
||||
}
|
||||
return searchParamsObj || webviewBase;
|
||||
},[searchParams]);
|
||||
},
|
||||
[searchParams]
|
||||
);
|
||||
useEffect(() => {
|
||||
const getData = async () => {
|
||||
const webviewBase = webviewBaseRequest();
|
||||
|
@ -283,7 +286,7 @@ export default function Pay() {
|
|||
placeholder="请输入金币数额"
|
||||
value={customCoin.num.toString()}
|
||||
onChange={handleChangeCustomCoin}
|
||||
className="input input-bordered input-md input-primary w-full"
|
||||
className="input input-bordered input-md text-base input-primary w-full"
|
||||
/>
|
||||
<p className="text-secondary text-base mt-2">
|
||||
预估金额:¥{customCoin.num / 10}
|
||||
|
|
Loading…
Reference in New Issue