Browse Source

chore: 标题改为复杂智能平台

pull/167/head
cp3hnu 1 year ago
parent
commit
fef61c8ae3
11 changed files with 17 additions and 21 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/favicon-cl.ico
  5. BIN
      react-ui/public/favicon.ico
  6. BIN
      react-ui/src/assets/img/logo-cl.png
  7. BIN
      react-ui/src/assets/img/logo.png
  8. +5
    -7
      react-ui/src/components/RightContent/AvatarDropdown.tsx
  9. +3
    -3
      react-ui/src/pages/User/Login/login.tsx
  10. +2
    -2
      react-ui/src/pages/Workspace/components/WorkspaceIntro/index.less
  11. +4
    -6
      react-ui/src/pages/Workspace/components/WorkspaceIntro/index.tsx

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

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


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

@@ -17,7 +17,7 @@ const Settings: ProLayoutProps & {
fixSiderbar: false,
splitMenus: false,
colorWeak: false,
title: '智能材料科研平台',
title: '复杂智能软件',
pwa: true,
token: {
// 参见ts声明,demo 见文档,通过token 修改样式


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

@@ -44,7 +44,7 @@ export default [
{
name: 'login',
path: '/user/login',
component: './User/Login',
component: './User/Login/login',
},
],
},


BIN
react-ui/public/favicon-cl.ico View File

Before After

BIN
react-ui/public/favicon.ico View File

Before After

BIN
react-ui/src/assets/img/logo-cl.png View File

Before After
Width: 112  |  Height: 112  |  Size: 5.3 kB

BIN
react-ui/src/assets/img/logo.png View File

Before After
Width: 112  |  Height: 112  |  Size: 5.3 kB Width: 104  |  Height: 132  |  Size: 9.2 kB

+ 5
- 7
react-ui/src/components/RightContent/AvatarDropdown.tsx View File

@@ -1,8 +1,6 @@
import { clearSessionToken } from '@/access';
import { setRemoteMenu } from '@/services/session';
import { logout } from '@/services/system/auth';
import { ClientInfo } from '@/types';
import SessionStorage from '@/utils/sessionStorage';
import { gotoLoginPage } from '@/utils/ui';
import { LogoutOutlined, UserOutlined } from '@ant-design/icons';
import { setAlpha } from '@ant-design/pro-components';
@@ -66,11 +64,11 @@ const AvatarDropdown: React.FC<GlobalHeaderRightProps> = ({ menu }) => {
clearSessionToken();
setRemoteMenu(null);
gotoLoginPage();
const clientInfo: ClientInfo = SessionStorage.getItem(SessionStorage.clientInfoKey, true);
if (clientInfo) {
const { logoutUri } = clientInfo;
location.replace(logoutUri);
}
// const clientInfo: ClientInfo = SessionStorage.getItem(SessionStorage.clientInfoKey, true);
// if (clientInfo) {
// const { logoutUri } = clientInfo;
// location.replace(logoutUri);
// }
};
const actionClassName = useEmotionCss(({ token }) => {
return {


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

@@ -119,10 +119,10 @@ const Login = () => {
draggable={false}
alt=""
/>
智能材料科研平台
复杂智能软件
</div>
<div className={styles['user-login__left__title']}>
<span>智能材料科研平台</span>
<span>复杂智能软件</span>
<img
src={require('@/assets/img/login-ai-logo.png')}
className={styles['user-login__left__title__img']}
@@ -144,7 +144,7 @@ const Login = () => {
<div>
<div className={styles['user-login__right__title']}>
<span style={{ color: '#111111' }}>欢迎登录</span>
<span>智能材料科研平台</span>
<span>复杂智能软件</span>
</div>
<div className={styles['user-login__right__content']}>
<div className={styles['user-login__right__content__title']}>账号登录</div>


+ 2
- 2
react-ui/src/pages/Workspace/components/WorkspaceIntro/index.less View File

@@ -37,7 +37,7 @@
}

&__icon {
width: 363px;
height: 216px;
// width: 363px;
height: 176px;
}
}

+ 4
- 6
react-ui/src/pages/Workspace/components/WorkspaceIntro/index.tsx View File

@@ -1,16 +1,14 @@
import { Button } from 'antd';
import styles from './index.less';

function WorkspaceIntro() {
return (
<div className={styles['workspace-intro']}>
<div className={styles['workspace-intro__left']}>
<div className={styles['workspace-intro__title']}>自主实验平台</div>
<div className={styles['workspace-intro__title']}>复杂智能软件</div>
<div className={styles['workspace-intro__content']}>
材料领域的自主实验系统是一种用于材料研究和开发的技术平台,它旨在提供实验数据收集、分析和可视化等功能,
以支持材料工程师、科学家和研究人员在材料设计、性能评估和工艺优化方面的工作
复杂智能软件平台构建一套完整的版本迭代升级机制、开发与运行态版本依赖关系分析,以及整合开发部署和持续优化的一体化流程,涵盖数据管理、模型建模、服务开发和系统运行等关键环节,以实现高效、稳定的软件生命周期管理。
</div>
<div className={styles['workspace-intro__buttons']}>
{/* <div className={styles['workspace-intro__buttons']}>
<Button
type="primary"
style={{ marginRight: '20px' }}
@@ -40,7 +38,7 @@ function WorkspaceIntro() {
>
分子材料自主实验系统
</Button>
</div>
</div> */}
</div>
<div className={styles['workspace-intro__right']}>
<img


Loading…
Cancel
Save