Skip to content

Let's use AI to Earn!

优化一下个人中心检查更新文字样式对其

DESKTOP-ZTS2NQJNA3fb96fc101dc
diff --git a/src/components/update/index.tsx b/src/components/update/index.tsx
index 7621d4c3..97365391 100644
--- a/src/components/update/index.tsx
+++ b/src/components/update/index.tsx
@@ -141,6 +141,7 @@ const Update = () => {
onClick={checkUpdate}
type="text"
className="w-full text-left !p-0 !bg-transparent hover:!bg-transparent !border-none"
+ style={{ marginLeft: '-10px' }}
>
{checking ? '检查中...' : '检查更新'}
</Button>
diff --git a/src/layout/SysMenu/index.tsx b/src/layout/SysMenu/index.tsx
index f8e90054..ec45d51c 100644
--- a/src/layout/SysMenu/index.tsx
+++ b/src/layout/SysMenu/index.tsx
@@ -92,7 +92,7 @@ const App: React.FC = () => {
userStore.logout();
}}
>
- 退出登录
+ {' '}退出登录
</Button>
),
icon: <LogoutOutlined className="text-red-500" />,
diff --git a/src/views/statistics/index.tsx b/src/views/statistics/index.tsx
index 34ecfe0e..de33edfc 100644
--- a/src/views/statistics/index.tsx
+++ b/src/views/statistics/index.tsx
@@ -647,11 +647,11 @@ const Statistics = () => {
</div>
{/* 数据展示 */}
- <div className="grid flex-1 grid-cols-6 gap-4">
+ <div className="grid flex-1 grid-cols-7 gap-4">
<div className="text-center">
<div className="text-sm text-gray-500">粉丝数</div>
<div className="font-medium text-[#a66ae4]">
- {accountData?.fans || 0}
+ {accountData?.fans>0?'+ ':'- ' }{ accountData?.fans || 0}
</div>
</div>
<div className="text-center">
@@ -684,6 +684,9 @@ const Statistics = () => {
{accountData?.forward || 0}
</div>
</div>
+ <div className="text-center">
+ <div className="text-sm text-gray-500" style={{marginTop:'10px', color:'#a66ae4', cursor:'pointer'}} >查看详情</div>
+ </div>
</div>
</div>
</Card>