浏览代码

新需求

傅行帆 5 年前
父节点
当前提交
0a49a53fa7
共有 3 个文件被更改,包括 54 次插入0 次删除
  1. 10
    0
      config/routes.js
  2. 22
    0
      src/pages/system/miniappManager/index.jsx
  3. 22
    0
      src/pages/system/miniappSetMeal/index.jsx

+ 10
- 0
config/routes.js 查看文件

544
                 hideInMenu: true,
544
                 hideInMenu: true,
545
                 component: './system/document/audit',
545
                 component: './system/document/audit',
546
               },
546
               },
547
+              {
548
+                path: '/system/miniappManager/index',
549
+                name: '小程序管理',
550
+                component: './system/miniappManager/index',
551
+              },
552
+              {
553
+                path: '/system/miniappSetMeal/index',
554
+                name: '购买套餐',
555
+                component: './system/miniappSetMeal/index',
556
+              },
547
               // {
557
               // {
548
               //   path: '/system/MiniappTheme',
558
               //   path: '/system/MiniappTheme',
549
               //   name: '小程序主题',
559
               //   name: '小程序主题',

+ 22
- 0
src/pages/system/miniappManager/index.jsx 查看文件

1
+import React, { useState, useEffect } from 'react';
2
+import { Form, Icon, Input, Button, DatePicker, Select, Modal, message, Card, Row, Col, Pagination, Alert } from 'antd';
3
+import moment from 'moment';
4
+import router from 'umi/router';
5
+import request from '../../../utils/request';
6
+import apis from '../../../services/apis';
7
+import Prompt from 'umi/prompt';
8
+
9
+/**
10
+ *
11
+ *
12
+ * @param {*} props
13
+ * @returns
14
+ */
15
+const body = (props)  => {
16
+  return (
17
+     <div><span>小程序管理页面</span></div>
18
+  );
19
+}
20
+const WrappedBody = Form.create({ name: 'body' })(body);
21
+
22
+export default WrappedBody

+ 22
- 0
src/pages/system/miniappSetMeal/index.jsx 查看文件

1
+import React, { useState, useEffect } from 'react';
2
+import { Form, Icon, Input, Button, DatePicker, Select, Modal, message, Card, Row, Col, Pagination, Alert } from 'antd';
3
+import moment from 'moment';
4
+import router from 'umi/router';
5
+import request from '../../../utils/request';
6
+import apis from '../../../services/apis';
7
+import Prompt from 'umi/prompt';
8
+
9
+/**
10
+ *
11
+ *
12
+ * @param {*} props
13
+ * @returns
14
+ */
15
+const body = (props)  => {
16
+  return (
17
+     <div><span>购买套餐管理页面</span></div>
18
+  );
19
+}
20
+const WrappedBody = Form.create({ name: 'body' })(body);
21
+
22
+export default WrappedBody