This commit is contained in:
2025-10-13 18:41:08 +08:00
parent a8717ccc13
commit 9a01223fc9
7 changed files with 58 additions and 44 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ import Footer from './views/layout/pc/footer/index.vue'
}
#footer {
width: 100%;
height: 500px;
height: 380px;
}
}
</style>
+3 -3
View File
@@ -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' })
})
}
})
+11 -5
View File
@@ -9,6 +9,9 @@ onMounted(() => {})
<template>
<div class="page">
<div class="banner">
<video autoplay muted loop>
<source src="/static/images/main/display.mp4" type="video/mp4">
</video>
<div class="banner-link"><span>进入演示系统</span></div>
</div>
<div class="swiper">
@@ -35,11 +38,9 @@ onMounted(() => {})
.page {
.banner {
width: 100%;
height: 800px;
height: auto;
position: relative;
background-image: url('/static/images/main/banner.png');
background-size: 100% 100%;
background-repeat: no-repeat;
background-color: #333333;
&-link {
width: 174px;
height: 48px;
@@ -64,8 +65,13 @@ onMounted(() => {})
color: $white;
}
}
video{
padding: 3px;
width: 100%;
height: 100%;
border-radius: 8px;
}
}
.swiper {
width: 100%;
height: 800px;
@@ -5,10 +5,14 @@ onMounted(() => {})
<template>
<div class="QR-code">
<img class="QR-img" :src="`./static/images/footer/QR_code.png`" />
<div class="label">企业微信</div>
<img class="QR-img item" :src="`./static/images/footer/mark.png`" alt="" />
<div class="label">熊雨翔</div>
<div class="QR-dev">
<img class="QR-img" :src="`./static/images/footer/QR_code.png`" />
<div class="label">企业微信</div>
</div>
<div class="QR-dev">
<img class="QR-img" :src="`./static/images/footer/mark.png`" alt="" />
<div class="label">熊雨翔</div>
</div>
</div>
</template>
@@ -16,7 +20,13 @@ onMounted(() => {})
.QR-code {
width: 100%;
height: 100%;
background-color: $white;
display: flex;
justify-content: center;
gap: 20px;
.QR-dev {
width: 150px;
height: 200px;
}
.QR-img {
width: 150px;
height: 150px;
@@ -26,8 +36,5 @@ onMounted(() => {})
text-align: center;
color: $white;
}
.item {
margin-top: 20px;
}
}
</style>
+4 -3
View File
@@ -26,7 +26,8 @@ const toMIIF = () => {
Copyright © 2023.Rangu Technology Co.,Ltd. All rights reserved.
燃谷科技南京有限公司
</span>
<span class="url" @click="toMIIF">苏ICP备2023030548号</span>
<span class="url" @click="toMIIF">苏ICP备2023030548号-1</span>
<span class="url" @click="toMIIF">苏ICP备2023030548号-5</span>
</div>
</div>
</template>
@@ -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;