diff --git a/config/routes.js b/config/routes.js
index 981509b..0051c07 100644
--- a/config/routes.js
+++ b/config/routes.js
@@ -21,6 +21,12 @@ export default [
},
],
},
+ {
+ name: '快速开始',
+ icon: 'PlayCircleOutlined',
+ path: '/quickStart',
+ component: './quickStart',
+ },
{
name: '系统管理',
icon: 'SettingOutlined',
diff --git a/src/app.jsx b/src/app.jsx
index 12881b4..219265b 100644
--- a/src/app.jsx
+++ b/src/app.jsx
@@ -39,7 +39,12 @@ export async function getInitialState() {
const queryMenuData = async () => {
try {
const data = [
-
+ {
+ name: '快速开始',
+ icon: 'PlayCircleOutlined',
+ path: '/quickStart',
+ component: './quickStart',
+ },
{
code: 'device',
name: '设备管理',
diff --git a/src/pages/quickStart/components/StoreConfig/index.jsx b/src/pages/quickStart/components/StoreConfig/index.jsx
new file mode 100644
index 0000000..6028f3d
--- /dev/null
+++ b/src/pages/quickStart/components/StoreConfig/index.jsx
@@ -0,0 +1,91 @@
+import React, { useState } from 'react';
+import { Modal, Form, Input, Button, Select, InputNumber, TreeSelect } from 'antd';
+
+const StoreConfig = (props) => {
+
+ const { TextArea } = Input;
+ const { Option, OptGroup } = Select;
+
+ return <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 机构
+ 配送中心
+ 直营店
+ 加盟店
+
+
+
+
+
+ {
+ props.payTemplateList?.map(item => {
+ return {item.name}
+ })
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+ >
+}
+
+export default StoreConfig;
\ No newline at end of file
diff --git a/src/pages/quickStart/components/StoreConfig/index.less b/src/pages/quickStart/components/StoreConfig/index.less
new file mode 100644
index 0000000..e69de29
diff --git a/src/pages/quickStart/index.jsx b/src/pages/quickStart/index.jsx
new file mode 100644
index 0000000..ae93171
--- /dev/null
+++ b/src/pages/quickStart/index.jsx
@@ -0,0 +1,99 @@
+import { Button, message, Steps, Card } from 'antd';
+import React, { useState } from 'react';
+import styles from "./index.less";
+import StoreConfig from './components/StoreConfig';
+import { PageContainer } from '@ant-design/pro-layout';
+
+const { Step } = Steps;
+const steps = [
+ {
+ title: '门店配置',
+ content: ,
+ },
+ {
+ title: '设备配置',
+ content:
+ 设备配置
+ ,
+ },
+ {
+ title: '菜谱配置',
+ content:
+ 菜谱配置
+ ,
+ },
+ {
+ title: '商品配置',
+ content:
+ 商品配置
+ ,
+ },
+ {
+ title: '配方配置',
+ content:
+ 配方配置
+ ,
+ },
+ {
+ title: '物料配置',
+ content:
+ 物料配置
+ ,
+ },
+ {
+ title: '确认配置',
+ content:
+ 确认配置
+ ,
+ }
+];
+
+const QuickStart = () => {
+
+ const [current, setCurrent] = useState(0);
+
+ const next = () => {
+ setCurrent(current + 1);
+ };
+
+ const prev = () => {
+ setCurrent(current - 1);
+ };
+
+ return
+
+
+
+
+ {steps.map((item) => (
+
+ ))}
+
+ {steps[current].content}
+
+ {current < steps.length - 1 && (
+ next()}>
+ Next
+
+ )}
+ {current === steps.length - 1 && (
+ message.success('Processing complete!')}>
+ Done
+
+ )}
+ {current > 0 && (
+ prev()}
+ >
+ Previous
+
+ )}
+
+
+
+}
+
+export default QuickStart;
\ No newline at end of file
diff --git a/src/pages/quickStart/index.less b/src/pages/quickStart/index.less
new file mode 100644
index 0000000..938cc74
--- /dev/null
+++ b/src/pages/quickStart/index.less
@@ -0,0 +1,3 @@
+.steps_content {
+ margin: 20px 0;
+}
\ No newline at end of file