File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,23 +271,27 @@ function UserPanel() {
271271 </ div >
272272 </ Descriptions . Item >
273273 < Descriptions . Item label = "服务有效期至" >
274- < div className = "flex flex-col gap-3 md: flex-row md:items-center md:justify-between " >
274+ < div className = "flex min-w-0 flex-col gap-1 " >
275275 { displayExpireDay ? (
276- < div className = "flex min-w-0 flex-col" >
277- { displayExpireDay }
278- { displayRemainingDays && (
279- < >
280- < br />
281- < div > { displayRemainingDays } </ div >
282- </ >
283- ) }
284- </ div >
276+ < >
277+ < div className = "flex min-w-0 flex-col gap-3 md:flex-row md:items-center" >
278+ < span > { displayExpireDay } </ span >
279+ { tier !== 'free' && (
280+ < div className = "flex flex-col gap-2 sm:flex-row sm:flex-wrap" >
281+ < PurchaseButton tier = { tier } > 续费</ PurchaseButton >
282+ </ div >
283+ ) }
284+ </ div >
285+ { displayRemainingDays && < div > { displayRemainingDays } </ div > }
286+ </ >
285287 ) : (
286- '无'
287- ) }
288- { tier !== 'free' && (
289- < div className = "flex flex-col gap-2 sm:flex-row sm:flex-wrap" >
290- < PurchaseButton tier = { tier } > 续费</ PurchaseButton >
288+ < div className = "flex min-w-0 flex-col gap-3 md:flex-row md:items-center" >
289+ < span > 无</ span >
290+ { tier !== 'free' && (
291+ < div className = "flex flex-col gap-2 sm:flex-row sm:flex-wrap" >
292+ < PurchaseButton tier = { tier } > 续费</ PurchaseButton >
293+ </ div >
294+ ) }
291295 </ div >
292296 ) }
293297 </ div >
You can’t perform that action at this time.
0 commit comments