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