feat: 修改样式
This commit is contained in:
parent
d8d680b481
commit
59d180075b
@ -248,7 +248,12 @@ export function BasicInfoForm({ user, refetch }: { user: API.User; refetch: () =
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>{t('password')}</FormLabel>
|
<FormLabel>{t('password')}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type='password' placeholder={t('passwordPlaceholder')} {...field} />
|
<Input
|
||||||
|
type='password'
|
||||||
|
autoComplete={'new-password'}
|
||||||
|
placeholder={t('passwordPlaceholder')}
|
||||||
|
{...field}
|
||||||
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|||||||
@ -180,7 +180,7 @@ export default function Content() {
|
|||||||
</div>
|
</div>
|
||||||
<span className='text-xs sm:text-sm'>
|
<span className='text-xs sm:text-sm'>
|
||||||
{t('online')}
|
{t('online')}
|
||||||
{userSubscribe?.[0]?.subscribe.device_limit}
|
{data?.online_device} / {userSubscribe?.[0]?.subscribe.device_limit}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -33,7 +33,7 @@ export default function Page() {
|
|||||||
origin_price: unitConversion('centsToDollars', item.unit_price * 12).toString(), // 原价
|
origin_price: unitConversion('centsToDollars', item.unit_price * 12).toString(), // 原价
|
||||||
discount_price: unitConversion(
|
discount_price: unitConversion(
|
||||||
'centsToDollars',
|
'centsToDollars',
|
||||||
item.unit_price * ((100 - discountItem?.discount || 100) / 100) * 12,
|
item.unit_price * ((discountItem?.discount || 100) / 100) * 12,
|
||||||
).toString(), // 优惠价格
|
).toString(), // 优惠价格
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -372,7 +372,7 @@ const OfferDialog = forwardRef<OfferDialogRef>((props, ref) => {
|
|||||||
origin_price: unitConversion('centsToDollars', item.unit_price * 12).toString(), // 原价
|
origin_price: unitConversion('centsToDollars', item.unit_price * 12).toString(), // 原价
|
||||||
discount_price: unitConversion(
|
discount_price: unitConversion(
|
||||||
'centsToDollars',
|
'centsToDollars',
|
||||||
item.unit_price * ((100 - discountItem?.discount || 100) / 100) * 12,
|
item.unit_price * ((discountItem?.discount || 100) / 100) * 12,
|
||||||
).toString(), // 优惠价格
|
).toString(), // 优惠价格
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user