优化用户数据初始化时机
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user