From 139355c05c55a21a419e9e23d633332b8f1efc0c Mon Sep 17 00:00:00 2001 From: duan Date: Tue, 16 Aug 2022 15:46:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/shortcut):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E6=96=B9=E5=BC=8F=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/icons/svg/关闭.svg | 2 + src/icons/svg/加号.svg | 2 + src/router/index.js | 7 + src/views/home/index.vue | 7 +- src/views/shortcut/index.vue | 284 +++++++++++++++++++++++++++++++++++ 6 files changed, 302 insertions(+), 1 deletion(-) create mode 100644 src/icons/svg/关闭.svg create mode 100644 src/icons/svg/加号.svg create mode 100644 src/views/shortcut/index.vue diff --git a/package.json b/package.json index 361b337..76bd33a 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "px2rem-loader": "^0.1.9", "vue": "2.6.10", "vue-router": "3.0.6", + "vuedraggable": "^2.24.3", "vuex": "3.1.0", "vuex-persistedstate": "^4.1.0" }, diff --git a/src/icons/svg/关闭.svg b/src/icons/svg/关闭.svg new file mode 100644 index 0000000..9d053fe --- /dev/null +++ b/src/icons/svg/关闭.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/icons/svg/加号.svg b/src/icons/svg/加号.svg new file mode 100644 index 0000000..90ee6ca --- /dev/null +++ b/src/icons/svg/加号.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 7fac4c3..7a09320 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -42,8 +42,15 @@ export const constantRoutes = [ component: () => import('@/views/home/index'), hidden: true }, + { + path: '/shortcut', + name: 'Shortcut', + component: () => import('@/views/shortcut/index'), + hidden: true + }, { path: '/userinfo', + redirect: '/userinfo/index', component: Layout, hidden: true, children: [ diff --git a/src/views/home/index.vue b/src/views/home/index.vue index bef67f0..8dbe678 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -14,10 +14,14 @@
-
+
库存盘点
+
+
+
更多
+
@@ -91,6 +95,7 @@ export default { } } .home-menu-item-text{ + text-align: center; font-size: 1.75rem; font-weight: 400; color: #606266; diff --git a/src/views/shortcut/index.vue b/src/views/shortcut/index.vue new file mode 100644 index 0000000..2058b7b --- /dev/null +++ b/src/views/shortcut/index.vue @@ -0,0 +1,284 @@ + + + + + + + +