diff --git a/src/router/index.js b/src/router/index.js index 4300815..8558f50 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,37 +2,36 @@ import { createRouter, createWebHistory } from 'vue-router' // 配置路由信息 const routes = [ - { path: '/', redirect: '/index' }, { - path: '/index', + path: '/', name: 'index', component: () => import('@/views/Index'), }, - { - path: '/case', - name: 'case', - component: () => import('@/views/Case'), - }, - { - path: '/soft-hardware', - name: 'softHardware', - component: () => import('@/views/SoftHardware'), - }, - { - path: '/culture', - name: 'culture', - component: () => import('@/views/Culture'), - }, - { - path: '/about', - name: 'about', - component: () => import('@/views/About'), - }, - { - path: '/contact', - name: 'contact', - component: () => import('@/views/Contact'), - }, + // { + // path: '/case', + // name: 'case', + // component: () => import('@/views/Case'), + // }, + // { + // path: '/soft-hardware', + // name: 'softHardware', + // component: () => import('@/views/SoftHardware'), + // }, + // { + // path: '/culture', + // name: 'culture', + // component: () => import('@/views/Culture'), + // }, + // { + // path: '/about', + // name: 'about', + // component: () => import('@/views/About'), + // }, + // { + // path: '/contact', + // name: 'contact', + // component: () => import('@/views/Contact'), + // }, ] const router = createRouter({ diff --git a/src/views/Index/components/CaseDetails/index.vue b/src/views/Index/components/CaseDetails/index.vue index dfdb054..f7cc1ed 100644 --- a/src/views/Index/components/CaseDetails/index.vue +++ b/src/views/Index/components/CaseDetails/index.vue @@ -18,7 +18,7 @@
{ componentKey.value = 1 + componentKey.value } diff --git a/src/views/Index/components/CasePictureList/index.vue b/src/views/Index/components/CasePictureList/index.vue index 6c14034..4d8af0f 100644 --- a/src/views/Index/components/CasePictureList/index.vue +++ b/src/views/Index/components/CasePictureList/index.vue @@ -17,7 +17,7 @@ :end="15" :autoPlay="false" :i="start_count" - :duration="duration" + :duration="3000" /> 年 diff --git a/src/views/Index/components/Culture/Card/index.vue b/src/views/Index/components/Culture/Card/index.vue index 8ef3ee5..c11b718 100644 --- a/src/views/Index/components/Culture/Card/index.vue +++ b/src/views/Index/components/Culture/Card/index.vue @@ -77,7 +77,7 @@ const getTitle = () => { const getTips = () => { if (props.i == '1') { - return 'Confident' + return 'Confidence' } if (props.i == '2') { return 'Logic' diff --git a/src/views/Index/components/HardwareDetails/index.vue b/src/views/Index/components/HardwareDetails/index.vue index 7ee60ba..e001d35 100644 --- a/src/views/Index/components/HardwareDetails/index.vue +++ b/src/views/Index/components/HardwareDetails/index.vue @@ -18,7 +18,7 @@
{ componentKey.value = 1 + componentKey.value } +const pagination = { + clickable: true, +} const funcToSon = () => { forceRerender() } diff --git a/src/views/Index/components/HardwareSummary/index.vue b/src/views/Index/components/HardwareSummary/index.vue index 16d16b7..f1ed62c 100644 --- a/src/views/Index/components/HardwareSummary/index.vue +++ b/src/views/Index/components/HardwareSummary/index.vue @@ -17,7 +17,7 @@ :end="15" :autoPlay="false" :i="start_count_i" - :duration="duration" + :duration="3000" /> 年 diff --git a/src/views/Index/components/MechanicalControl/index.vue b/src/views/Index/components/MechanicalControl/index.vue index 81c12c7..91d57d8 100644 --- a/src/views/Index/components/MechanicalControl/index.vue +++ b/src/views/Index/components/MechanicalControl/index.vue @@ -200,7 +200,6 @@ onMounted(() => { } } .broadside_div:hover { - cursor: pointer; .dialog_text { background: rgba(0, 0, 0, 0); } diff --git a/src/views/Index/components/MechanicalDrive/Card/index.vue b/src/views/Index/components/MechanicalDrive/Card/index.vue index 84f52e2..6ba05ce 100644 --- a/src/views/Index/components/MechanicalDrive/Card/index.vue +++ b/src/views/Index/components/MechanicalDrive/Card/index.vue @@ -115,6 +115,7 @@ const getImgSrc = () => { } .dian_container:hover { border-radius: 10px; + overflow: hidden; .btn { background: $theme_color; } diff --git a/src/views/Index/components/MechanicalDrive/index.vue b/src/views/Index/components/MechanicalDrive/index.vue index a830ad3..f3f57d7 100644 --- a/src/views/Index/components/MechanicalDrive/index.vue +++ b/src/views/Index/components/MechanicalDrive/index.vue @@ -21,7 +21,7 @@ - + diff --git a/src/views/Index/components/SoftHardwareSummary/index.vue b/src/views/Index/components/SoftHardwareSummary/index.vue index 2edb9d1..95127c5 100644 --- a/src/views/Index/components/SoftHardwareSummary/index.vue +++ b/src/views/Index/components/SoftHardwareSummary/index.vue @@ -35,7 +35,7 @@
-

各种传感器

+

各类传感器

diff --git a/src/views/Index/index.vue b/src/views/Index/index.vue index 22d4b77..c4bd5ff 100644 --- a/src/views/Index/index.vue +++ b/src/views/Index/index.vue @@ -66,7 +66,7 @@ - +