|
@@ -1,9 +1,12 @@
|
|
|
+const taskIcon = require('@/assets/center/my-task.png');
|
|
|
+const orderIcon = require('@/assets/center/order.png');
|
|
|
import PageContent from '@/components/PageContent';
|
|
|
import PageTitle from '@/components/PageTitle';
|
|
|
import { version } from '@/constants';
|
|
|
import { UnityAction } from '@/utils/utils';
|
|
|
import { useModel, useNavigate, useParams } from '@umijs/max';
|
|
|
import styles from './index.less';
|
|
|
+
|
|
|
const Center = () => {
|
|
|
const { initialState } = useModel('@@initialState');
|
|
|
const user = initialState?.user || {};
|
|
@@ -36,7 +39,8 @@ const Center = () => {
|
|
|
<div className={styles.name}>{user?.CName}</div>
|
|
|
<div className={styles.photo}>
|
|
|
手机号:{user?.Mobile}
|
|
|
- 系统版本:
|
|
|
+ <br />
|
|
|
+ 系统版本:
|
|
|
{version}
|
|
|
</div>
|
|
|
</div>
|
|
@@ -48,6 +52,7 @@ const Center = () => {
|
|
|
toMyTask(1);
|
|
|
}}
|
|
|
>
|
|
|
+ <img src={taskIcon} style={{ marginRight: '20px' }} />
|
|
|
我的任务
|
|
|
</div>
|
|
|
<div
|
|
@@ -56,6 +61,7 @@ const Center = () => {
|
|
|
toMyTask(2);
|
|
|
}}
|
|
|
>
|
|
|
+ <img src={orderIcon} style={{ marginRight: '20px' }} />
|
|
|
我的工单
|
|
|
</div>
|
|
|
</div>
|
|
@@ -66,7 +72,7 @@ const Center = () => {
|
|
|
<div className={styles.lineItem} onClick={handleSmartReport}>
|
|
|
智慧运营报告
|
|
|
</div>
|
|
|
- <div className={styles.lineItem}>问题反馈备份</div>
|
|
|
+ <div className={styles.lineItem}>问题反馈</div>
|
|
|
<div className={styles.lineItem}>个人设置</div>
|
|
|
</div>
|
|
|
<div className={styles.loginOut} onClick={handleLogOutClick}>
|