From 3af22afb8d5d0235420cc04c517a697d7ffbcdc5 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Fri, 9 Dec 2022 17:33:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=BA=BF=E4=B8=8A=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=B0=8F=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/qrcode/qrcode.js | 28 ++++++++++++++++++++++++++++ src/pages/plan/qrcode/qrcode.less | 4 ++++ src/router/index.js | 6 ++++++ 3 files changed, 38 insertions(+) create mode 100644 src/pages/plan/qrcode/qrcode.js create mode 100644 src/pages/plan/qrcode/qrcode.less diff --git a/src/pages/plan/qrcode/qrcode.js b/src/pages/plan/qrcode/qrcode.js new file mode 100644 index 00000000..556efb95 --- /dev/null +++ b/src/pages/plan/qrcode/qrcode.js @@ -0,0 +1,28 @@ +import ReactDOM from "react-dom"; +import React from "react"; +import TabPage from "@/components/tabPage/main.js"; +import './qrcode.less' +export default class acclist extends React.Component { + constructor(props) { + super(props); + this.state = { + roleList: [], + tabList: [{ title: "二维码小工具" }], + tableHeight: 600, + page: 1, + limit: 10, + total: 0, + }; + } + render() { + return ( +
+ +
+ +
+
+
+ ); + } +} diff --git a/src/pages/plan/qrcode/qrcode.less b/src/pages/plan/qrcode/qrcode.less new file mode 100644 index 00000000..ed91f617 --- /dev/null +++ b/src/pages/plan/qrcode/qrcode.less @@ -0,0 +1,4 @@ +.qrcode-tool{ + height: 800px; + overflow: hidden; +} \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index f072c999..cd3917da 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -11,6 +11,7 @@ import OrderDetails from "@/pages/order/more/more"; import OrderAdd from "@/pages/order/add/add"; import Plan from "@/pages/plan/main/main"; import PlanList from "@/pages/plan/list/list"; +import Qrcode from "@/pages/plan/qrcode/qrcode"; import PlanAdd from "@/pages/plan/add/add"; import PlanEdit from "@/pages/plan/add/edit"; import PlanEditCopy from "@/pages/plan/add/plan-copy"; @@ -98,6 +99,11 @@ const router = [ component: PlanList, meta: { exact: true }, }, + { + path: "/home/plan-qrcode", + component: Qrcode, + meta: { exact: true }, + }, { path: "/home/plan-create", component: PlanAdd,