From 5a28fcd3b8b1af99d8de2628b97f57c438484ce7 Mon Sep 17 00:00:00 2001 From: songyang <972986197@qq.com> Date: Sat, 2 Dec 2023 14:18:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + components.d.ts | 2 + src/App.vue | 87 ++++- src/compontents/FooterInfo/index.vue | 1 - src/compontents/Navmenu/index.vue | 52 +++ src/router/index.ts | 10 +- src/style/css/reset.css | 8 + src/views/home/index.vue | 357 +++++++++++++++++--- src/views/user/baseInfo/index.vue | 178 +++++----- src/views/user/goodsManagement/index.vue | 2 +- src/views/user/goodsUpdown/index.vue | 2 +- src/views/user/index.vue | 4 +- src/views/user/operatorManagement/index.vue | 2 +- src/views/user/orderManagement/index.vue | 2 +- src/views/user/orderManagementCz/index.vue | 2 +- src/views/user/subAccount/index.vue | 2 +- 16 files changed, 542 insertions(+), 171 deletions(-) create mode 100644 src/compontents/Navmenu/index.vue diff --git a/.gitignore b/.gitignore index 38adffa..a4c2b5d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ dist dist-ssr coverage *.local +components.d.ts /cypress/videos/ /cypress/screenshots/ @@ -26,3 +27,4 @@ coverage *.njsproj *.sln *.sw? +components.d.ts diff --git a/components.d.ts b/components.d.ts index f7adaa3..c309347 100644 --- a/components.d.ts +++ b/components.d.ts @@ -15,8 +15,10 @@ declare module 'vue' { ElInput: typeof import('element-plus/es')['ElInput'] ElMenu: typeof import('element-plus/es')['ElMenu'] ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] + ElPagination: typeof import('element-plus/es')['ElPagination'] ElTable: typeof import('element-plus/es')['ElTable'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] + ElTag: typeof import('element-plus/es')['ElTag'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/App.vue b/src/App.vue index e483ce8..411e69c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,14 +1,44 @@ + + + + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 4d40490..570dff1 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -35,6 +35,8 @@ const routes: Array = [ children: [...myInfo] }, + + // 个人中心 { path: '/myuser', // 主路由地址 name: 'myuser', @@ -122,6 +124,7 @@ const routes: Array = [ path: '/', redirect: '/home' }, + // 首页 { path: '/home', name: 'home', @@ -133,11 +136,12 @@ const routes: Array = [ }, }, + // 自选直租 { - path:'/equip', - name:'equip', + path: '/equip', + name: 'equip', redirect: '/equip/list', - children:[ + children: [ { path: 'list', name: 'equipList', diff --git a/src/style/css/reset.css b/src/style/css/reset.css index b6ff22e..2d5d266 100644 --- a/src/style/css/reset.css +++ b/src/style/css/reset.css @@ -146,3 +146,11 @@ table { width: 1200px; margin: 0 auto; } + +body { + overflow-x: hidden; +} + +a { + text-decoration: none; +} diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 7ca8339..63c4228 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,6 +1,253 @@