diff --git a/config/defaultSettings.ts b/config/defaultSettings.ts index d7cfe83..96842be 100644 --- a/config/defaultSettings.ts +++ b/config/defaultSettings.ts @@ -1,3 +1,11 @@ +/* + * @Author: zhoux zhouxia@supervision.ltd + * @Date: 2023-11-01 13:56:33 + * @LastEditors: zhoux zhouxia@supervision.ltd + * @LastEditTime: 2023-11-30 17:10:05 + * @FilePath: \general-ai-platform-web\config\defaultSettings.ts + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ import { ProLayoutProps } from '@ant-design/pro-components'; /** @@ -15,9 +23,9 @@ const Settings: ProLayoutProps & { fixedHeader: false, fixSiderbar: true, colorWeak: false, - title: '徐州农商行智能AI系统', + title: ' ', pwa: true, - logo: '/my_logo.svg', + logo: '/logo.svg', iconfontUrl: '', token: { // 参见ts声明,demo 见文档,通过token 修改样式 diff --git a/public/favicon.ico b/public/favicon.ico index e2e9325..da979d7 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/logo.svg b/public/logo.svg index 239bf69..c458fad 100644 --- a/public/logo.svg +++ b/public/logo.svg @@ -1 +1,24 @@ -Group 28 Copy 5Created with Sketch. \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/my_logo.svg b/public/my_logo.svg deleted file mode 100644 index dc16d57..0000000 --- a/public/my_logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/global.css b/src/global.css index b9bc39e..66bab0e 100644 --- a/src/global.css +++ b/src/global.css @@ -265,3 +265,6 @@ a.ant-dropdown-trigger { .gn.themeBgHover:hover { background-color: #155BD4; } +.ant-pro-global-header-logo img { + height: 48px; +} diff --git a/src/global.less b/src/global.less index c8020ac..d961c24 100644 --- a/src/global.less +++ b/src/global.less @@ -332,6 +332,9 @@ a.ant-dropdown-trigger{ background-color: #155BD4; } } +.ant-pro-global-header-logo img { + height: 48px; +} // .p1{ // } diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index fcfeaeb..50fc6f0 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1,3 +1,11 @@ +/* + * @Author: zhoux zhouxia@supervision.ltd + * @Date: 2023-11-01 13:56:33 + * @LastEditors: zhoux zhouxia@supervision.ltd + * @LastEditTime: 2023-11-30 17:10:53 + * @FilePath: \general-ai-platform-web\src\locales\zh-CN.ts + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ import component from './zh-CN/component'; import globalHeader from './zh-CN/globalHeader'; import menu from './zh-CN/menu'; @@ -18,7 +26,7 @@ export default { 'layout.user.link.help': '帮助', 'layout.user.link.privacy': '隐私', 'layout.user.link.terms': '条款', - 'app.copyright.produced': '徐州农商行', + 'app.copyright.produced': '苏胜天', 'app.preview.down.block': '下载此页面到本地项目', 'app.welcome.link.fetch-blocks': '获取全部区块', 'app.welcome.link.block-list': '基于 block 开发,快速构建标准页面', diff --git a/src/pages/ComputePowerAllocation/ComputePowerAllocation.tsx b/src/pages/ComputePowerAllocation/ComputePowerAllocation.tsx index dc2579b..1fa19f0 100644 --- a/src/pages/ComputePowerAllocation/ComputePowerAllocation.tsx +++ b/src/pages/ComputePowerAllocation/ComputePowerAllocation.tsx @@ -208,7 +208,7 @@ const ComputePowerAllocation: React.FC = () => { flexDirection: 'column', }} > - + { className={styles.loginFrom} > { }} > { setLoginLoading(true) await handleSubmit(values as API.Login);