时间线详情展示重构

This commit is contained in:
2025-12-31 16:53:19 +08:00
parent 067df840ca
commit 7b91848dcd
4 changed files with 8 additions and 7 deletions

BIN
public/logo.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@@ -1,5 +1,5 @@
<svg width="42" height="42" xmlns="http://www.w3.org/2000/svg">
<g>
<path fill="#070707" d="m6.717392,13.773912l5.6,0c2.8,0 4.7,1.9 4.7,4.7c0,2.8 -2,4.7 -4.9,4.7l-2.5,0l0,4.3l-2.9,0l0,-13.7zm2.9,2.2l0,4.9l1.9,0c1.6,0 2.6,-0.9 2.6,-2.4c0,-1.6 -0.9,-2.4 -2.6,-2.4l-1.9,0l0,-0.1zm8.9,11.5l2.7,0l0,-5.7c0,-1.4 0.8,-2.3 2.2,-2.3c0.4,0 0.8,0.1 1,0.2l0,-2.4c-0.2,-0.1 -0.5,-0.1 -0.8,-0.1c-1.2,0 -2.1,0.7 -2.4,2l-0.1,0l0,-1.9l-2.7,0l0,10.2l0.1,0zm11.7,0.1c-3.1,0 -5,-2 -5,-5.3c0,-3.3 2,-5.3 5,-5.3s5,2 5,5.3c0,3.4 -1.9,5.3 -5,5.3zm0,-2.1c1.4,0 2.2,-1.1 2.2,-3.2c0,-2 -0.8,-3.2 -2.2,-3.2c-1.4,0 -2.2,1.2 -2.2,3.2c0,2.1 0.8,3.2 2.2,3.2z" class="st0" id="Ant-Design-Pro"/>
<text x="21" y="24" font-family="Arial, sans-serif" font-size="14" fill="#070707" text-anchor="middle" dominant-baseline="middle">Time</text>
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 226 B

View File

@@ -4,9 +4,9 @@ export default {
'pages.login.accountLogin.errorMessage': '错误的用户名和密码(admin/ant.design)',
'pages.login.failure': '登录失败,请重试!',
'pages.login.success': '登录成功!',
'pages.login.username.placeholder': '用户名: admin or user',
'pages.login.username.placeholder': '用户名',
'pages.login.username.required': '用户名是必填项!',
'pages.login.password.placeholder': '密码: ant.design',
'pages.login.password.placeholder': '密码',
'pages.login.password.required': '密码是必填项!',
'pages.login.phoneLogin.tab': '手机号登录',
'pages.login.phoneLogin.errorMessage': '验证码错误',

View File

@@ -52,7 +52,7 @@ const useStyles = createStyles(({ token }) => {
flexDirection: 'column',
height: '100vh',
overflow: 'auto',
backgroundImage: "url('@~/assets/timeline_login.png')",
backgroundImage: "url('@/assets/timeline_login.png')",
backgroundSize: '100% 100%',
},
};
@@ -159,7 +159,7 @@ const Login: React.FC = () => {
minWidth: 280,
maxWidth: '75vw',
}}
logo={<img alt="logo" src="/logo.svg" />}
logo={<img alt="logo" src="/logo.png" />}
title="Timeline"
subTitle={intl.formatMessage({ id: 'pages.layouts.userLayout.title' })}
initialValues={{
@@ -357,7 +357,8 @@ const Login: React.FC = () => {
</div>
</LoginForm>
</div>
<Footer />
{/*暂不显示*/}
{/*<Footer />*/}
</div>
);
};