diff --git a/public/nav/index.js b/public/nav/index.js index 9e3bce8..296f6d5 100644 --- a/public/nav/index.js +++ b/public/nav/index.js @@ -1,6 +1,6 @@ window.nav = { header: [ - {id: 1, label: '首页', url: '/', hasChildren: false}, + { id: 1, label: '首页', url: '/', hasChildren: false }, { id: 2, label: '产品中心', @@ -21,10 +21,10 @@ window.nav = { }, ], }, - {id: 3, label: '服务与支撑', url: '/services', hasChildren: false}, - {id: 4, label: '新闻中心', url: '/news', hasChildren: false}, - {id: 5, label: '关于我们', url: '/about', hasChildren: false}, - {id: 6, label: '联系我们', url: '/link', hasChildren: false}, + // {id: 3, label: '服务与支撑', url: '/services', hasChildren: false}, + { id: 4, label: '新闻中心', url: '/news', hasChildren: false }, + { id: 5, label: '关于我们', url: '/about', hasChildren: false }, + { id: 6, label: '联系我们', url: '/link', hasChildren: false }, ], footer: [ { @@ -33,33 +33,33 @@ window.nav = { url: '', hasChildren: true, children: [ - {id: 1.1, label: '低空监管体系', url: '/product/monitorSystem'}, - {id: 1.2, label: '低空远程识别设备', url: '/product/remoteDevice'}, - {id: 1.3, label: '智能加载服务', url: '/product'}, - {id: 1.4, label: '智能加载服务', url: '/product'}, + { id: 1.1, label: '低空监管体系', url: '/product/monitorSystem' }, + { id: 1.2, label: '低空远程识别设备', url: '/product/remoteDevice' }, + { id: 1.3, label: '智能加载服务', url: '/product' }, + { id: 1.4, label: '智能加载服务', url: '/product' }, ], }, - { - id: 2, - label: '服务与支撑', - url: '/services', - hasChildren: false, - }, - { - id: 3, - label: '软件下载', - url: '/download', - hasChildren: false, - }, - {id: 4, label: '新闻中心', url: '/news', hasChildren: false}, + // { + // id: 2, + // label: '服务与支撑', + // url: '/services', + // hasChildren: false, + // }, + // { + // id: 3, + // label: '软件下载', + // url: '/download', + // hasChildren: false, + // }, + { id: 4, label: '新闻中心', url: '/news', hasChildren: false }, { id: 5, label: '关于燃谷', url: '', hasChildren: true, children: [ - {id: 5.1, label: '公司简介', url: '/about'}, - {id: 5.2, label: '联系我们', url: '/link'}, + { id: 5.1, label: '公司简介', url: '/about' }, + { id: 5.2, label: '联系我们', url: '/link' }, ], }, ], diff --git a/public/static/images/main/display.mp4 b/public/static/images/main/display.mp4 new file mode 100644 index 0000000..3716b1a Binary files /dev/null and b/public/static/images/main/display.mp4 differ diff --git a/src/home.vue b/src/home.vue index b184203..1aae832 100644 --- a/src/home.vue +++ b/src/home.vue @@ -37,7 +37,7 @@ import Footer from './views/layout/pc/footer/index.vue' } #footer { width: 100%; - height: 500px; + height: 380px; } } diff --git a/src/router/index.js b/src/router/index.js index 0dea76e..bef4b84 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,9 +1,9 @@ -import {createWebHashHistory, createRouter} from 'vue-router' +import { createWebHashHistory, createRouter } from 'vue-router' import HomeView from '@/views/homepage/index.vue' const routes = [ - {path: '/', component: HomeView}, + { path: '/', component: HomeView }, // ============================================ 产品中心 ============================================ { path: '/product/monitorSystem', @@ -85,7 +85,7 @@ router.afterEach((to, from) => { // 只有路径变化时才滚动到顶部 if (to.path !== from.path) { requestAnimationFrame(() => { - window.scrollTo({top: 0, behavior: 'instant'}) + window.scrollTo({ top: 0, behavior: 'instant' }) }) } }) diff --git a/src/views/homepage/index.vue b/src/views/homepage/index.vue index 85718db..617c45a 100644 --- a/src/views/homepage/index.vue +++ b/src/views/homepage/index.vue @@ -9,6 +9,9 @@ onMounted(() => {}) @@ -45,7 +46,7 @@ const toMIIF = () => { left: 190px; } #nav { - width: calc(100% - 410px - 380px); + width: calc(100% - 410px - 550px); position: absolute; left: 410px; top: $top; @@ -53,7 +54,7 @@ const toMIIF = () => { box-sizing: border-box; } #QR { - width: 150px; + width: 320px; height: 150px; position: absolute; top: $top;