fix: 样式修改
This commit is contained in:
parent
5dde8bd718
commit
a3fa01395b
@ -65,16 +65,18 @@ export default function Page() {
|
||||
)}
|
||||
</div>
|
||||
<div className={'sm:hidden'}>
|
||||
<AiroButton
|
||||
variant={'dangerLink'}
|
||||
className={'min-w-0 px-0'}
|
||||
onClick={async () => {
|
||||
await closeOrder({ orderNo: item.order_no });
|
||||
ref.current?.refresh();
|
||||
}}
|
||||
>
|
||||
{t('cancelOrder')}
|
||||
</AiroButton>
|
||||
{item.status === 1 ? (
|
||||
<AiroButton
|
||||
variant={'dangerLink'}
|
||||
className={'min-w-0 px-0'}
|
||||
onClick={async () => {
|
||||
await closeOrder({ orderNo: item.order_no });
|
||||
ref.current?.refresh();
|
||||
}}
|
||||
>
|
||||
{t('cancelOrder')}
|
||||
</AiroButton>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
<CardContent className='px-0 py-3 pb-0 text-sm'>
|
||||
|
||||
@ -22,7 +22,7 @@ export default function Page() {
|
||||
queryKey: ['querySubscribeList'],
|
||||
queryFn: async () => {
|
||||
const { data } = await querySubscribeList();
|
||||
return data.data?.list?.filter((v) => v.unit_time === 'Month') || [];
|
||||
return data?.data?.list?.filter((v) => v.unit_time === 'Month') || [];
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@ -149,10 +149,10 @@ const FeatureList = ({ plan }: { plan: API.Subscribe }) => {
|
||||
<div className={'flex items-start justify-between'}>
|
||||
<span className='flex items-center'>
|
||||
<SvgIcon name={'feature/Group 69'} className={'ml-1 mr-2'} />
|
||||
{plan?.name?.includes('pro') ? (
|
||||
<span className={'font-medium'}>IEPL专线</span>
|
||||
{plan?.name?.includes('Pro') ? (
|
||||
<span className={'font-medium'}>{t('IEPL_Pro')}</span>
|
||||
) : (
|
||||
<span>国内中转+专线中转</span>
|
||||
<span>{t('General_Line')}</span>
|
||||
)}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
"coupon": "Coupon",
|
||||
"description": "Choose the service plan that suits you best",
|
||||
"detail": {
|
||||
"IEPL_Pro": "IEPL Dedicated Line",
|
||||
"General_Line": "Domestic Relay + Dedicated Line Relay",
|
||||
"availableTraffic": "Available Traffic",
|
||||
"connectedDevices": "Connected Devices",
|
||||
"connectionSpeed": "Connection Speed",
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
"coupon": "优惠券",
|
||||
"description": "选择最适合您的服务套餐",
|
||||
"detail": {
|
||||
"IEPL_Pro": "IEPL专线",
|
||||
"General_Line": "国内中转+专线中转",
|
||||
"availableTraffic": "可用流量",
|
||||
"connectedDevices": "同时连接 IP 数",
|
||||
"connectionSpeed": "连接速度",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user