优化用户数据初始化时机

This commit is contained in:
2025-11-18 19:16:24 +08:00
parent 5b1dae6e6c
commit fa6a4e5121
19 changed files with 52 additions and 52 deletions

View File

@@ -108,7 +108,7 @@ function Pins(props: DashboardPinsProps) {
<div className="flex-1 flex items-center justify-between">
<h4 className="text-balance"></h4>
<p className="flex flex-col items-end">
<span className="text-sm text-weak" ></span>
<span className="text-sm text-weak" ></span>
<span className="text-sm">{props.long.resource_daily_free_sum}</span>
</p>
</div>
@@ -116,7 +116,7 @@ function Pins(props: DashboardPinsProps) {
<div className="flex-1 flex items-center justify-between">
<h4 className="text-balance"></h4>
<p className="flex flex-col items-end">
<span className="text-sm text-weak"></span>
<span className="text-sm text-weak"></span>
<span className="text-sm">{props.long.resource_quota_sum}</span>
</p>
</div>
@@ -149,7 +149,7 @@ function Announcements(props: Props) {
return (
<Card className="h-full">
<CardHeader>
<div className="flex justify-between gap-2">
<div className="flex justify-between gap-2">
<CardTitle></CardTitle>
{/* <Button
theme="text"

View File

@@ -103,7 +103,7 @@ export default function IdentifyPage(props: IdentifyPageProps) {
return (
<Page className="flex-row max-md:flex-col">
<div className="flex-3/4 flex flex-col bg-white rounded-lg gap-16 max-md:gap-0">
<div className="flex-3/4 flex flex-col bg-white rounded-lg gap-16 max-md:gap-0">
{/* banner */}
<section className="flex-none basis-40 relative flex flex-col gap-4 pl-8 pr-4 justify-center">

View File

@@ -47,14 +47,14 @@ export default function ProfilePage(props: ProfilePageProps) {
<Page className="lg:flex-row lg:items-stretch md:flex-col max-sm:flex-col">
<div className="flex-3/4 flex flex-col gap-4">
{/* banner */}
<section className="flex-none relative rounded-lg p-16 pr-4 overflow-hidden flex max-sm:flex-col flex-col gap-4 pl-8 justify-center">
<section className="flex-none relative rounded-lg p-16 pr-4 overflow-hidden flex max-sm:flex-col flex-col gap-4 pl-8 justify-center">
<Image src={banner} alt="背景图" aria-hidden className="absolute inset-0 w-full h-full object-cover"/>
<h3 className="text-lg font-bold z-10 relative">HTTP邀请您参与</h3>
<p className="text-sm text-gray-600 z-10 relative"></p>
<p className="text-sm text-gray-600 z-10 relative"></p>
</section>
{/* 块信息 */}
<div className="flex gap-4 max-md:flex-col max-sm:flex-col">
<div className="flex gap-4 max-md:flex-col max-sm:flex-col">
<Card className="flex-1 ">
<CardHeader>
@@ -99,7 +99,7 @@ export default function ProfilePage(props: ProfilePageProps) {
</Card>
</div>
<div className="flex-none rounded-lg bg-white p-4 flex max-sm:flex-col flex-col gap-8">
<div className="flex-none rounded-lg bg-white p-4 flex max-sm:flex-col flex-col gap-8">
{/* 安全信息 */}
<div className="flex flex-col gap-4">
@@ -276,7 +276,7 @@ function BasicForm(props: {
<Input {...field} placeholder="请输入微信号" className="w-48 max-xl:w-full"/>
)}
</FormField>
<div className="flex justify-end gap-4 md:col-span-2 justify-self-stretch">
<div className="flex justify-end gap-4 md:col-span-2 justify-self-stretch">
<Button
theme="outline"
type="button"