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 @@