fix: 样式修改

This commit is contained in:
speakeloudest 2025-09-08 00:00:42 -07:00
parent 5dde8bd718
commit a3fa01395b
5 changed files with 20 additions and 14 deletions

View File

@ -65,16 +65,18 @@ export default function Page() {
)} )}
</div> </div>
<div className={'sm:hidden'}> <div className={'sm:hidden'}>
<AiroButton {item.status === 1 ? (
variant={'dangerLink'} <AiroButton
className={'min-w-0 px-0'} variant={'dangerLink'}
onClick={async () => { className={'min-w-0 px-0'}
await closeOrder({ orderNo: item.order_no }); onClick={async () => {
ref.current?.refresh(); await closeOrder({ orderNo: item.order_no });
}} ref.current?.refresh();
> }}
{t('cancelOrder')} >
</AiroButton> {t('cancelOrder')}
</AiroButton>
) : null}
</div> </div>
</div> </div>
<CardContent className='px-0 py-3 pb-0 text-sm'> <CardContent className='px-0 py-3 pb-0 text-sm'>

View File

@ -22,7 +22,7 @@ export default function Page() {
queryKey: ['querySubscribeList'], queryKey: ['querySubscribeList'],
queryFn: async () => { queryFn: async () => {
const { data } = await querySubscribeList(); const { data } = await querySubscribeList();
return data.data?.list?.filter((v) => v.unit_time === 'Month') || []; return data?.data?.list?.filter((v) => v.unit_time === 'Month') || [];
}, },
}); });

View File

@ -149,10 +149,10 @@ const FeatureList = ({ plan }: { plan: API.Subscribe }) => {
<div className={'flex items-start justify-between'}> <div className={'flex items-start justify-between'}>
<span className='flex items-center'> <span className='flex items-center'>
<SvgIcon name={'feature/Group 69'} className={'ml-1 mr-2'} /> <SvgIcon name={'feature/Group 69'} className={'ml-1 mr-2'} />
{plan?.name?.includes('pro') ? ( {plan?.name?.includes('Pro') ? (
<span className={'font-medium'}>IEPL专线</span> <span className={'font-medium'}>{t('IEPL_Pro')}</span>
) : ( ) : (
<span>+线</span> <span>{t('General_Line')}</span>
)} )}
</span> </span>
</div> </div>

View File

@ -24,6 +24,8 @@
"coupon": "Coupon", "coupon": "Coupon",
"description": "Choose the service plan that suits you best", "description": "Choose the service plan that suits you best",
"detail": { "detail": {
"IEPL_Pro": "IEPL Dedicated Line",
"General_Line": "Domestic Relay + Dedicated Line Relay",
"availableTraffic": "Available Traffic", "availableTraffic": "Available Traffic",
"connectedDevices": "Connected Devices", "connectedDevices": "Connected Devices",
"connectionSpeed": "Connection Speed", "connectionSpeed": "Connection Speed",

View File

@ -24,6 +24,8 @@
"coupon": "优惠券", "coupon": "优惠券",
"description": "选择最适合您的服务套餐", "description": "选择最适合您的服务套餐",
"detail": { "detail": {
"IEPL_Pro": "IEPL专线",
"General_Line": "国内中转+专线中转",
"availableTraffic": "可用流量", "availableTraffic": "可用流量",
"connectedDevices": "同时连接 IP 数", "connectedDevices": "同时连接 IP 数",
"connectionSpeed": "连接速度", "connectionSpeed": "连接速度",