Browse Source

feat: 修改图标和标题

pull/98/head
cp3hnu 1 year ago
parent
commit
15376cb7a0
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      react-ui/config/config.ts
  2. +1
    -1
      react-ui/config/defaultSettings.ts
  3. +1
    -1
      react-ui/config/routes.ts
  4. BIN
      react-ui/public/assets/images/left-top-logo-1.png
  5. BIN
      react-ui/public/assets/images/left-top-logo.png
  6. +3
    -3
      react-ui/src/pages/User/Login/index.tsx

+ 1
- 1
react-ui/config/config.ts View File

@@ -76,7 +76,7 @@ export default defineConfig({
* @name layout 插件 * @name layout 插件
* @doc https://umijs.org/docs/max/layout-menu * @doc https://umijs.org/docs/max/layout-menu
*/ */
title: '智能软件开发平台',
title: '智能材料科研平台',
layout: { layout: {
locale: false, locale: false,
...defaultSettings, ...defaultSettings,


+ 1
- 1
react-ui/config/defaultSettings.ts View File

@@ -16,7 +16,7 @@ const Settings: ProLayoutProps & {
fixSiderbar: false, fixSiderbar: false,
splitMenus: false, splitMenus: false,
colorWeak: false, colorWeak: false,
title: '智能软件开发平台',
title: '智能材料科研平台',
pwa: true, pwa: true,
logo: '/assets/images/left-top-logo.png', logo: '/assets/images/left-top-logo.png',
token: { token: {


+ 1
- 1
react-ui/config/routes.ts View File

@@ -112,7 +112,7 @@ export default [
{ {
name: '开发环境', name: '开发环境',
path: '', path: '',
component: './DevelopmentEnvironment/List',
component: './DevelopmentEnvironment/Editor',
}, },
{ {
name: '创建编辑器', name: '创建编辑器',


BIN
react-ui/public/assets/images/left-top-logo-1.png View File

Before After
Width: 79  |  Height: 86  |  Size: 4.8 kB

BIN
react-ui/public/assets/images/left-top-logo.png View File

Before After
Width: 79  |  Height: 86  |  Size: 4.8 kB Width: 112  |  Height: 112  |  Size: 5.3 kB

+ 3
- 3
react-ui/src/pages/User/Login/index.tsx View File

@@ -241,10 +241,10 @@ const Login: React.FC = () => {
style={{ height: '42px', marginRight: '10px' }} style={{ height: '42px', marginRight: '10px' }}
alt="" alt=""
/> />
智能软件开发平台
智能材料科研平台
</div> </div>
<div className={centerTitleBoX}> <div className={centerTitleBoX}>
<span style={{ whiteSpace: 'nowrap' }}>智能软件开发平台</span>
<span style={{ whiteSpace: 'nowrap' }}>智能材料科研平台</span>


<img <img
src="/assets/images/ai-logo.png" src="/assets/images/ai-logo.png"
@@ -271,7 +271,7 @@ const Login: React.FC = () => {
<div className={rightTopTitle}> <div className={rightTopTitle}>
<span style={{ color: '#111111', fontSize: '36px' }}>hello~</span> <span style={{ color: '#111111', fontSize: '36px' }}>hello~</span>
<span style={{ color: '#606b7a', fontSize: '32px', marginLeft: '10px' }}>欢迎登陆</span> <span style={{ color: '#606b7a', fontSize: '32px', marginLeft: '10px' }}>欢迎登陆</span>
<span style={{ color: '#1664ff', fontSize: '32px' }}>智能软件开发平台</span>
<span style={{ color: '#1664ff', fontSize: '32px' }}>智能材料科研平台</span>
</div> </div>
<div className={containerLoginForm}> <div className={containerLoginForm}>
<div <div


Loading…
Cancel
Save