Prechádzať zdrojové kódy

个人中心-我的任务/我的工单页面返回按钮位置往右移动

xujunjie 1 rok pred
rodič
commit
8886dafb15
1 zmenil súbory, kde vykonal 13 pridanie a 3 odobranie
  1. 13 3
      src/pages/Center/MyTask/index.js

+ 13 - 3
src/pages/Center/MyTask/index.js

@@ -2,7 +2,7 @@ import PageContent from '@/components/PageContent';
 import TabsContent from '@/components/TabsContent';
 import { MandateType, OrderType } from '@/pages/TaskManage/constent';
 import { getMandateList } from '@/services/TaskManage';
-import { CaretRightFilled } from '@ant-design/icons';
+import { CaretLeftFilled, CaretRightFilled } from '@ant-design/icons';
 import {
   connect,
   history,
@@ -13,7 +13,6 @@ import {
 import { List, Spin } from 'antd';
 import { useEffect, useState } from 'react';
 import styles from './index.less';
-import PageTitle from '@/components/PageTitle';
 
 const MyTask = (props) => {
   const { userList, dispatch } = props;
@@ -132,7 +131,18 @@ const MyTask = (props) => {
 
   return (
     <PageContent closeable={false}>
-      <PageTitle tabs onReturn={() => history.back()}></PageTitle>
+      <CaretLeftFilled
+        style={{
+          fontSize: '0.3rem',
+          cursor: 'pointer',
+          marginRight: '0.15rem',
+          color: '#0139F1',
+          position: 'absolute',
+          left: '0.5rem',
+          top: '0.5rem',
+        }}
+        onClick={() => history.back()}
+      />
       <TabsContent
         defaultActiveKey={tab}
         onChange={onTabChange}