提交代码

This commit is contained in:
yiqiuyang
2025-10-15 16:46:35 +08:00
parent 9a01223fc9
commit 502eaff488
36 changed files with 595 additions and 196 deletions

View File

@ -5,5 +5,6 @@
"singleQuote": true, "singleQuote": true,
"trailingComma": "es5", "trailingComma": "es5",
"bracketSpacing": false, "bracketSpacing": false,
"htmlWhitespaceSensitivity": "ignore" "htmlWhitespaceSensitivity": "ignore",
"printWidth": 120
} }

View File

@ -5,6 +5,11 @@
<link rel="icon" type="image/svg+xml" href="/rangu.svg" /> <link rel="icon" type="image/svg+xml" href="/rangu.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>燃谷科技(南京)有限公司</title> <title>燃谷科技(南京)有限公司</title>
<meta name="keywords" content="低空经济,低空监管,远程识别,RemoteID,RID" />
<meta
name="description"
content="燃谷科技位于南京鼓楼万谷硅巷,秉承创新、质量和合作精神的低空领域技术创新公司,专注于低空安全监管、城市飞行服务和空间数据应用的企业。"
/>
<script src="/nav/index.js"></script> <script src="/nav/index.js"></script>
<script src="/config.js"></script> <script src="/config.js"></script>
</head> </head>

View File

@ -10,13 +10,14 @@
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^13.8.0", "@vueuse/core": "^13.8.0",
"axios": "^1.11.0", "axios": "^1.12.2",
"element-plus": "^2.11.1", "element-plus": "^2.11.1",
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"mitt": "^3.0.1", "mitt": "^3.0.1",
"pinia": "^3.0.3", "pinia": "^3.0.3",
"pinia-plugin-persistedstate": "^4.5.0", "pinia-plugin-persistedstate": "^4.5.0",
"terser": "^5.43.1", "terser": "^5.43.1",
"v-viewer": "^3.0.11",
"vue": "^3.5.18", "vue": "^3.5.18",
"vue-router": "^4.5.1" "vue-router": "^4.5.1"
}, },

View File

@ -3,3 +3,7 @@ window.GD_KEYS = [
'ed2ea36f8564541569c370254845d93d', 'ed2ea36f8564541569c370254845d93d',
'c1da03827f956a215311c0f5229bddc3', 'c1da03827f956a215311c0f5229bddc3',
] ]
window.config = {
baseUrl: 'http://192.168.3.10:9121/',
}

View File

@ -1,42 +1,40 @@
window.nav = { window.nav = {
header: [ header: [
{ id: 1, label: '首页', url: '/', hasChildren: false }, {id: 1, label: '首页', url: '/', hasChildren: false},
{ {
id: 2, id: 2,
label: '产品中心', label: '解决方案',
url: '/product', url: '/product',
hasChildren: true, hasChildren: true,
children: [ children: [
{ {
id: 2.1, id: 2.1,
label: '低空监管体系', label: '空域感知矩阵',
url: '/product/monitorSystem', url: '/product/monitorSystem',
hasChildren: false, hasChildren: false,
}, },
{ {
id: 2.2, id: 2.2,
label: '低空远程识别设备', label: '低空智控中枢',
url: '/product/remoteDevice', url: '/product/remoteDevice',
hasChildren: false, hasChildren: false,
}, },
], ],
}, },
// {id: 3, label: '服务与支撑', url: '/services', hasChildren: false}, // {id: 3, label: '服务与支撑', url: '/services', hasChildren: false},
{ id: 4, label: '新闻中心', url: '/news', hasChildren: false }, {id: 4, label: '新闻中心', url: '/news', hasChildren: false},
{ id: 5, label: '关于我们', url: '/about', hasChildren: false }, {id: 5, label: '关于我们', url: '/about', hasChildren: false},
{ id: 6, label: '联系我们', url: '/link', hasChildren: false }, {id: 6, label: '联系我们', url: '/link', hasChildren: false},
], ],
footer: [ footer: [
{ {
id: 1, id: 1,
label: '产品中心', label: '解决方案',
url: '', url: '',
hasChildren: true, hasChildren: true,
children: [ children: [
{ id: 1.1, label: '低空监管体系', url: '/product/monitorSystem' }, {id: 1.1, label: '空域感知矩阵', url: '/product/monitorSystem'},
{ id: 1.2, label: '低空远程识别设备', url: '/product/remoteDevice' }, {id: 1.2, label: '低空智控中枢', url: '/product/remoteDevice'},
{ id: 1.3, label: '智能加载服务', url: '/product' },
{ id: 1.4, label: '智能加载服务', url: '/product' },
], ],
}, },
// { // {
@ -51,15 +49,15 @@ window.nav = {
// url: '/download', // url: '/download',
// hasChildren: false, // hasChildren: false,
// }, // },
{ id: 4, label: '新闻中心', url: '/news', hasChildren: false }, {id: 4, label: '新闻中心', url: '/news', hasChildren: false},
{ {
id: 5, id: 5,
label: '关于燃谷', label: '关于燃谷',
url: '', url: '',
hasChildren: true, hasChildren: true,
children: [ children: [
{ id: 5.1, label: '公司简介', url: '/about' }, {id: 5.1, label: '公司简介', url: '/about'},
{ id: 5.2, label: '联系我们', url: '/link' }, {id: 5.2, label: '联系我们', url: '/link'},
], ],
}, },
], ],

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -1,19 +0,0 @@
import request from '@/utils/request'
// 设备设置
export function deviceSet(data) {
return request({
url: '/rangu/rid/setting',
method: 'post',
data,
})
}
// 设备设置
export function deviceGet(params) {
return request({
url: '/rangu/rid/getting',
method: 'get',
params,
})
}

10
src/api/index.js Normal file
View File

@ -0,0 +1,10 @@
import request from '@/utils/request'
// 获取访问接口
export function visit(data) {
return request({
url: '/tracking',
method: 'post',
data,
})
}

View File

@ -2,7 +2,7 @@
使用<icon-svg name="icon-微信" class="icon" /> 使用<icon-svg name="icon-微信" class="icon" />
--> -->
<script setup > <script setup>
defineProps({ defineProps({
name: { name: {
type: String, type: String,

View File

@ -0,0 +1,26 @@
<script setup>
import {ref, onMounted} from 'vue'
onMounted(() => {})
</script>
<template>
<div>
<p>ID/无人机低空监管设备 无人机定位设备/无人机飞手定位设备/无人机侦测设备/Remote ID无人机远程识别模块 Remote</p>
<p>Remote ID无人机识别设备/符合GB-42590-2023/无人机远程识别发射模块 无人机远程识别设备/无人机RID/Remote</p>
<p>ID无人机远程识别广播模块/RID无人机识别/无人机飞手远程定位设备</p>
<p>无人机测距模块/无人机侦测监管设备/RID无人机识别/无人机定位器/无人机飞手定位器</p>
<p>无人机侦测定位设备/迷你无人机识别模块/低空经济无人机识别设备/单兵无人机侦测识别设备</p>
<p>无人机探测器/防撞机无人机定位设备/Remote ID无人机预警仪</p>
<p>全向无人机探测设备/无人机定位飞手定位设备/安防安保无人机监测设备/RID无人机识别/Remote ID远程识别模块</p>
<p>无人机侦测设备飞手定位飞行轨迹/UAV无线电侦测设备/无人机GPS GNSS定位设备</p>
<p>无人机RID广播识别模块/无人机探测飞手定位飞行轨迹/专业级无人机预警侦测设备 无人机航拍防撞设备/无人机Remote</p>
<p>ID国标定位侦测设备/低空安防无人机监管 无人机识别跟踪设备/RID无人机定位模块/Remote</p>
<p>ID无人机定位跟踪设备带飞手定位飞行轨迹 自主研发无人机侦测定位模块/Remote</p>
<p>ID无人机远程识别设备/飞机定位飞行轨迹飞手定位无人机识别模块源头厂家 无人机标签识别设备/Remote</p>
<p>
ID无人机侦测定位设备/远程广播模块识别 无人机远程识别地面站/RID无人机识别/无人机巡检智能识别模块/无人机定位飞手定位
</p>
</div>
</template>
<style lang="scss" scoped></style>

View File

@ -1,12 +1,5 @@
<script setup> <script setup>
import { import {ref, computed, watch, nextTick, getCurrentInstance, onUnmounted} from 'vue'
ref,
computed,
watch,
nextTick,
getCurrentInstance,
onUnmounted,
} from 'vue'
/* -------------------- 组件接口定义 -------------------- */ /* -------------------- 组件接口定义 -------------------- */
const currentPage = defineModel({type: [Number, String], default: 1}) const currentPage = defineModel({type: [Number, String], default: 1})
@ -26,7 +19,7 @@ const props = defineProps({
sourceGap: {type: Number, default: 20}, sourceGap: {type: Number, default: 20},
}) })
const emit = defineEmits(['page-change', 'item-click', 'item-hover']) const emit = defineEmits(['page-change', 'item-click', 'item-hover', 'title-click'])
/* -------------------- 响应式变量 -------------------- */ /* -------------------- 响应式变量 -------------------- */
const instance = getCurrentInstance() const instance = getCurrentInstance()
@ -39,18 +32,18 @@ const itemWidth = computed(() => $fontSize(props.sourceWidth))
const itemHeight = computed(() => $fontSize(props.sourceHeight)) const itemHeight = computed(() => $fontSize(props.sourceHeight))
const itemGap = computed(() => $fontSize(props.sourceGap)) const itemGap = computed(() => $fontSize(props.sourceGap))
const itemTotalWidth = computed(() => itemWidth.value + itemGap.value) const itemTotalWidth = computed(() => itemWidth.value + itemGap.value)
const viewPortWidth = computed( const viewPortWidth = computed(() => props.pageSize * itemWidth.value + (props.pageSize - 1) * itemGap.value + 'px')
() => const trackWidth = computed(() => props.data.length * itemTotalWidth.value - itemGap.value + 'px')
props.pageSize * itemWidth.value +
(props.pageSize - 1) * itemGap.value +
'px'
)
const trackWidth = computed(
() => props.data.length * itemTotalWidth.value - itemGap.value + 'px'
)
const totalPages = computed(() => props.data.length - props.pageSize + 1) const totalPages = computed(() => props.data.length - props.pageSize + 1)
/* -------------------- 方法 -------------------- */ /* -------------------- 方法 -------------------- */
/**
* 标题点击事件
*/
const clickTitle = () => {
emit('title-click')
}
/** /**
* 执行平移动画 * 执行平移动画
* @param {number} page - 目标页码 * @param {number} page - 目标页码
@ -58,9 +51,7 @@ const totalPages = computed(() => props.data.length - props.pageSize + 1)
const translate = (page) => { const translate = (page) => {
if (!trackRef.value) return if (!trackRef.value) return
trackRef.value.style.transition = `transform ${props.transitionDuration}ms ease` trackRef.value.style.transition = `transform ${props.transitionDuration}ms ease`
trackRef.value.style.transform = `translateX(-${ trackRef.value.style.transform = `translateX(-${itemTotalWidth.value * (page - 1)}px)`
itemTotalWidth.value * (page - 1)
}px)`
} }
/** /**
@ -75,8 +66,7 @@ const goToPage = (page) => {
* 切换到下一页,循环播放 * 切换到下一页,循环播放
*/ */
const nextPage = () => { const nextPage = () => {
const nextPage = const nextPage = currentPage.value < totalPages.value ? currentPage.value + 1 : 1
currentPage.value < totalPages.value ? currentPage.value + 1 : 1
goToPage(nextPage) goToPage(nextPage)
} }
@ -84,8 +74,7 @@ const nextPage = () => {
* 切换到上一页,循环播放 * 切换到上一页,循环播放
*/ */
const prevPage = () => { const prevPage = () => {
const prevPage = const prevPage = currentPage.value > 1 ? currentPage.value - 1 : totalPages.value
currentPage.value > 1 ? currentPage.value - 1 : totalPages.value
goToPage(prevPage) goToPage(prevPage)
} }
@ -175,7 +164,10 @@ onUnmounted(stopAutoPlay)
<template> <template>
<section :id="id" class="generic-carousel"> <section :id="id" class="generic-carousel">
<!-- 标题 --> <!-- 标题 -->
<h2 v-if="title" class="carousel-title">{{ title }}</h2> <slot name="title">
<h2 v-if="title" class="carousel-title" @click="clickTitle">{{ title }}</h2>
</slot>
<!-- <h2 v-if="title" class="carousel-title">{{ title }}</h2> -->
<!-- 分页指示器 --> <!-- 分页指示器 -->
<div v-if="showDot" class="carousel-pagination"> <div v-if="showDot" class="carousel-pagination">
@ -189,16 +181,9 @@ onUnmounted(stopAutoPlay)
</div> </div>
<!-- 导航按钮 --> <!-- 导航按钮 -->
<div <div v-if="showPagination && totalPages > 1" class="carousel-navigation flex j-s">
v-if="showPagination && totalPages > 1" <button class="nav-btn prev-btn" @click="prevPage" aria-label="上一页">&lt;</button>
class="carousel-navigation flex j-s" <button class="nav-btn next-btn" @click="nextPage" aria-label="下一页">&gt;</button>
>
<button class="nav-btn prev-btn" @click="prevPage" aria-label="上一页">
&lt;
</button>
<button class="nav-btn next-btn" @click="nextPage" aria-label="下一页">
&gt;
</button>
</div> </div>
<!-- 轮播内容区域 --> <!-- 轮播内容区域 -->
@ -224,11 +209,7 @@ onUnmounted(stopAutoPlay)
@mouseenter="handleItemHover(item, index)" @mouseenter="handleItemHover(item, index)"
@mouseleave="handleItemHoverLeave(item, index)" @mouseleave="handleItemHoverLeave(item, index)"
> >
<slot <slot :item="item" :index="index" :isActive="currentPage === Math.ceil((index + 1) / pageSize)" />
:item="item"
:index="index"
:isActive="currentPage === Math.ceil((index + 1) / pageSize)"
/>
</div> </div>
</div> </div>
</div> </div>
@ -247,6 +228,10 @@ onUnmounted(stopAutoPlay)
font-weight: 600; font-weight: 600;
font-size: 24px; font-size: 24px;
color: #333333; color: #333333;
&:hover {
cursor: pointer;
color: #0389ff;
}
} }
.carousel-pagination { .carousel-pagination {
@ -336,5 +321,9 @@ onUnmounted(stopAutoPlay)
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
} }
} }
.item-title {
margin-bottom: 5px;
}
} }
</style> </style>

View File

@ -1,14 +1,57 @@
<script setup> <script setup>
import Header from './views/layout/pc/header/index.vue' import Header from './views/layout/pc/header/index.vue'
import Footer from './views/layout/pc/footer/index.vue' import Footer from './views/layout/pc/footer/index.vue'
import {onMounted, ref, watch} from 'vue'
import {visit} from '@/api/index'
import axios from 'axios'
onMounted(() => {
getUrl()
})
const referrer = ref('')
const ipUrl = ref('')
console.log('11===>', window.location)
function getUrl() {
referrer.value = document.referrer
axios
.get('https://api64.ipify.org?format=json')
.then(({data}) => {
ipUrl.value = data.ip
})
.catch(console.error)
}
async function postVisit() {
let params = {
timestamp: new Date(),
url: window.location.href,
referrer: referrer.value,
real_ip: ipUrl.value,
}
let {code, msg} = await visit(params)
}
watch(
() => [referrer.value, ipUrl.value],
([refer, ipUrl]) => {
if (refer && ipUrl) {
postVisit()
}
},
{
deep: true,
immediate: true,
}
)
</script> </script>
<template> <template>
<div id="app"> <div id="app">
<Header id="header" /> <Header id="header" />
<router-view id="main" v-slot="{Component, title}">
<!-- include 对应组件的 name -->
<router-view id="main" v-slot="{Component}">
<keep-alive include="New"> <keep-alive include="New">
<component :is="Component" /> <component :is="Component" />
</keep-alive> </keep-alive>

View File

@ -16,7 +16,7 @@ import '@/assets/styles/index.scss'
// ====================== 工具和组件 ====================== // ====================== 工具和组件 ======================
import {initRem, fontSize} from '@/utils/rem' import {initRem, fontSize} from '@/utils/rem'
import IconSvg from '_c/icon/svgIcon.vue' import IconSvg from '@/components/Icon/svgIcon.vue'
// SVG图标注册 // SVG图标注册
import 'virtual:svg-icons-register' import 'virtual:svg-icons-register'

View File

@ -1,13 +1,13 @@
import { createWebHashHistory, createRouter } from 'vue-router' import {createWebHashHistory, createRouter} from 'vue-router'
import HomeView from '@/views/homepage/index.vue' import HomeView from '@/views/homepage/index.vue'
const routes = [ const routes = [
{ path: '/', component: HomeView }, {path: '/', component: HomeView},
// ============================================ 产品中心 ============================================ // ============================================ 产品中心 ============================================
{ {
path: '/product/monitorSystem', path: '/product/monitorSystem',
name: 'monitorSystem', name: 'MonitorSystem',
component: () => import('@/views/product/monitorSystem.vue'), component: () => import('@/views/product/monitorSystem.vue'),
meta: { meta: {
title: '低空监管体系', title: '低空监管体系',
@ -15,12 +15,20 @@ const routes = [
}, },
{ {
path: '/product/remoteDevice', path: '/product/remoteDevice',
name: 'remoteDevice', name: 'RemoteDevice',
component: () => import('@/views/product/remoteDevice.vue'), component: () => import('@/views/product/remoteDevice.vue'),
meta: { meta: {
title: '低空远程识别设备', title: '低空远程识别设备',
}, },
}, },
{
path: '/product/detail',
name: 'ProductDetail',
component: () => import('@/views/product/detail.vue'),
meta: {
title: '产品详情',
},
},
// ============================================ 服务与支撑 ============================================ // ============================================ 服务与支撑 ============================================
{ {
path: '/services', path: '/services',
@ -41,7 +49,7 @@ const routes = [
}, },
{ {
path: '/news/detail', path: '/news/detail',
name: 'Detail', name: 'NewsDetail',
component: () => import('@/views/news/detail.vue'), component: () => import('@/views/news/detail.vue'),
meta: { meta: {
title: '新闻详情', title: '新闻详情',
@ -85,7 +93,7 @@ router.afterEach((to, from) => {
// 只有路径变化时才滚动到顶部 // 只有路径变化时才滚动到顶部
if (to.path !== from.path) { if (to.path !== from.path) {
requestAnimationFrame(() => { requestAnimationFrame(() => {
window.scrollTo({ top: 0, behavior: 'instant' }) window.scrollTo({top: 0, behavior: 'instant'})
}) })
} }
}) })

View File

@ -4,10 +4,7 @@
* @returns {number} 自适应后的尺寸 * @returns {number} 自适应后的尺寸
*/ */
export function fontSize(res) { export function fontSize(res) {
let clientWidth = let clientWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
window.innerWidth ||
document.documentElement.clientWidth ||
document.body.clientWidth
if (!clientWidth) return if (!clientWidth) return
let fontSize = clientWidth / 1920 let fontSize = clientWidth / 1920
return res * fontSize return res * fontSize
@ -34,3 +31,45 @@ export function randomBgColor(type = 'hex') {
.padStart(6, '0') .padStart(6, '0')
) )
} }
/**
* 根据 url 递归查找对应的 label
* @param {Array} tree - header 数组
* @param {String} path - 要匹配的 url
* @returns {String|undefined} 找到返回 label否则 undefined
*/
export function findLabelByUrl(tree, path) {
for (const node of tree) {
if (node.url === path) return node.label
if (node.hasChildren && node.children) {
const child = findLabelByUrl(node.children, path)
if (child) return child
}
}
}
/**
* get参数处理
* @param {*} params 参数
*/
export function tansParams(params) {
let result = ''
for (const propName of Object.keys(params)) {
const value = params[propName]
const part = `${encodeURIComponent(propName)}=`
if (value !== null && typeof value !== 'undefined') {
if (typeof value === 'object') {
for (const key of Object.keys(value)) {
if (value[key] !== null && typeof value[key] !== 'undefined') {
const params = `${propName}[${key}]`
const subPart = `${encodeURIComponent(params)}=`
result += `${subPart + encodeURIComponent(value[key])}&`
}
}
} else {
result += `${part + encodeURIComponent(value)}&`
}
}
}
return result
}

View File

@ -50,10 +50,7 @@ service.interceptors.response.use(
const {data, config} = response const {data, config} = response
// 处理二进制数据响应 // 处理二进制数据响应
if ( if (config.responseType === 'blob' || config.responseType === 'arraybuffer') {
config.responseType === 'blob' ||
config.responseType === 'arraybuffer'
) {
return data return data
} }
@ -90,15 +87,11 @@ function handleAuthError(config, response) {
const excludeUrls = ['/Token/Logout', '/Token/Access'] const excludeUrls = ['/Token/Logout', '/Token/Access']
if (!excludeUrls.includes(config.url)) { if (!excludeUrls.includes(config.url)) {
ElMessageBox.confirm( ElMessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', {
'登录状态已过期,您可以继续留在该页面,或者重新登录',
'系统提示',
{
confirmButtonText: '重新登录', confirmButtonText: '重新登录',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
} })
)
.then(() => { .then(() => {
removeToken() removeToken()
removeUserTenantInfo() removeUserTenantInfo()
@ -127,7 +120,7 @@ function handleNetworkError(message) {
ElMessage({ ElMessage({
message: errorMsg, message: errorMsg,
type: 'error', type: 'error',
duration: 5 * 1000, duration: 1000,
}) })
} }

0
src/views/edit/index.vue Normal file
View File

View File

@ -10,7 +10,7 @@ onMounted(() => {})
<div class="page"> <div class="page">
<div class="banner"> <div class="banner">
<video autoplay muted loop> <video autoplay muted loop>
<source src="/static/images/main/display.mp4" type="video/mp4"> <source src="/static/images/main/display.mp4" type="video/mp4" />
</video> </video>
<div class="banner-link"><span>进入演示系统</span></div> <div class="banner-link"><span>进入演示系统</span></div>
</div> </div>
@ -38,7 +38,7 @@ onMounted(() => {})
.page { .page {
.banner { .banner {
width: 100%; width: 100%;
height: auto; height: 100%;
position: relative; position: relative;
background-color: #333333; background-color: #333333;
&-link { &-link {
@ -65,7 +65,7 @@ onMounted(() => {})
color: $white; color: $white;
} }
} }
video{ video {
padding: 3px; padding: 3px;
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -11,7 +11,7 @@ onMounted(() => {})
</div> </div>
<div class="QR-dev"> <div class="QR-dev">
<img class="QR-img" :src="`./static/images/footer/mark.png`" alt="" /> <img class="QR-img" :src="`./static/images/footer/mark.png`" alt="" />
<div class="label">熊雨翔</div> <div class="label">市场联系人</div>
</div> </div>
</div> </div>
</template> </template>

View File

@ -9,7 +9,7 @@ const {navIndex} = storeToRefs(navStore)
// 响应式数据 // 响应式数据
const navList = ref([]) const navList = ref([])
const activeIndex = ref(null) const activeIndex = ref('/')
// 处理导航选择 // 处理导航选择
const handleSelect = (key) => { const handleSelect = (key) => {

View File

@ -5,9 +5,7 @@ import {useRoute, useRouter} from 'vue-router'
import {newsDetail} from './mock' import {newsDetail} from './mock'
const route = useRoute() const route = useRoute()
const detail = route.query const detail = route.query
detail.artical = newsDetail.find((item) => item.id == route.query.id).article detail.artical = newsDetail.find((item) => item.id == route.query.id).article
const router = useRouter() const router = useRouter()

View File

@ -0,0 +1,63 @@
export const advantages = `
<div>★ 提供业界领先的性价比解决方案。</div>
<div>★ 内置4G全网通无需外接网络即装即用。</div>
<div>★ 宽电压输入,轻松应对电压不稳等复杂情况。</div>
<div>★ 超低功耗设计,极大节约长期用电与运维成本。</div>
<div>★ 极致轻量,极大拓宽了安装位置与应用场景。</div>
<div>★ 灵活可调的侦测模式,满足从安防到巡检的全场景需求。</div>
<div>★ 具备升级能力,当前投资可平滑演进至更高专业层级。</div>
`
export const monitorSystemList = [
{
id: 1,
description: `
<div class="monitor">RGRID-Lite 是一款专为国标无人机远程识别设计的地面监测设备。它能够精准获取低空目标区域内无人机的实时位置、飞手位置、唯一SN识别码等关键信息并动态显示与记录无人机及飞手的移动轨迹。所有数据实时上传至后台系统支持长期存储与便捷回溯为空域监管提供完整的数据支撑。</div>
<div class="monitor">设备采用轻量化与一体化设计部署灵活可快速适配多种复杂安装环境。凭借超低功耗特性可搭配UPS不间断电源或太阳能供电系统实现长时间稳定运行。同时内置4G全网通模块无需依赖外部网络彻底解决供电与传输难题。</div>
<div class="monitor">RGRID-Lite 在具备卓越性能的同时,展现出优异的性价比,广泛适用于各类低空监管场景。设备支持功能定制与二次开发,可根据用户需求灵活扩展,是构建低成本、高效率无人机监管体系的理想之选。</div>
`,
},
{
id: 2,
description: `
<div class="monitor">RGRID-Ped 是一款遵循国标GB42590-2023的便携式无人机远程识别模块。它能够精准监测并获取目标空域内无人机的多项关键数据包括实时位置、飞手位置、唯一SN识别码、飞行型号、航速与高度等并实时推送至用户平台。</div>
<div class="monitor">该模块采用高度集成化设计,体积小巧、功耗极低,具备完善的接口与通信协议,可快速适配并嵌入各类无人机反制、监管或作业设备中,轻松应对有限的内部空间要求。同时,模块支持全方位的二次开发与功能定制,为各类集成应用提供可靠、灵活的低空感知核心。</div>
`,
},
{
id: 3,
description: `
<div class="monitor">RGRID-Mob 是一款符合国标 GB42590-2023 的便携式无人机远程识别设备专为机动巡检与快速部署场景设计。它可精准监测目标空域内无人机的实时位置、飞手位置、唯一SN识别码等关键信息并实时显示与记录无人机与飞手的动态轨迹。所有数据同步上传至后台支持长期存储与灵活调阅为空域执法与现场处置提供完整信息支撑。</div>
<div class="monitor">设备支持多终端协同管理,用户可通过移动端小程序实时查看数据,指挥中心亦能通过大屏系统统览全局。系统具备分级权限管理功能,支持多级账户与设备组网,实现权限分离与协同指挥。手机端集成一键导航功能,可快速定位飞手位置;指挥平台则全面监管辖区内所有设备状态与每架被侦测无人机的详细数据,真正实现“前端机动侦测—后端统一指挥”的一体化管控闭环。</div>
<div class="monitor">RGRID-Mob 重量轻、体积小可随身挂载便于野外作业与快速机动。内置4G数据传输模块开机即用无需复杂配对极大提升部署效率与操作便捷性是应对突发低空监管任务的理想移动侦测终端。</div>
`,
},
]
export const remoteDeviceList = [
{
id: 1,
description: `<div>多模态数据融合:直面不同侦测设备的数据壁垒,凭借自研融合算法,呈现深度可靠的全局态势。</div>
<div>体系化平台搭配:作为中枢神经,无缝对接与总览旗下各类专业平台,奠定一站式服务基石。</div>`,
},
{
id: 2,
description: ` <div>大量设备接入经验:具备广泛的设备兼容性,确保监管网络覆盖无死角。</div>
<div>SAAS化架构支持多租户权限管理满足不同区域、不同层级管理单位的独立运营与协同监管需求。</div>`,
},
{
id: 3,
description: `<div>大量行业内接入经验:预集成了众多厂商设备接口,极大降低了系统集成难度与成本,体现了卓越的性价比。</div>
<div>体系化平台搭配:与监管平台无缝联动,接收预警并执行指令,形成“侦-识-控”一体的完整闭环。</div>`,
},
{
id: 4,
description: `<div>多模态数据融合将飞行数据、视频流与AI识别结果深度融合输出可直接应用的业务洞察。</div>
<div>SAAS化架构支持多团队、多项目并行作业与数据隔离轻松管理大规模机队。</div>`,
},
{
id: 5,
description: ` <div>体系化平台搭配:与真实监管平台联动,是“一站式服务”中用于模拟、预测与优化的关键一环。</div>
<div>多模态数据融合:将真实地理信息、仿真数据与实时监管流融合,在虚拟空间中复现最真实的低空场景。</div>`,
},
]

View File

@ -0,0 +1,98 @@
<script setup>
import {ref, onMounted, computed} from 'vue'
import {useRoute, useRouter} from 'vue-router'
import {advantages, monitorSystemList, remoteDeviceList} from './description.js'
const route = useRoute()
const router = useRouter()
const detail = route.query
const showMonitor = computed(() => detail.type === 'monitorSystem')
onMounted(() => {})
const toBack = () => {
router.back()
}
</script>
<template>
<div class="page flex column a-c">
<div class="label">{{ detail.title }} {{ detail.subTitle }}</div>
<div class="content flex j-s">
<div class="img">
<img :src="`./static/images/${detail.imgUrl}`" alt="" />
</div>
<!-- 核心优势 -->
<div class="text" v-if="showMonitor">
<div class="title">核心优势</div>
<div v-html="advantages"></div>
</div>
<div class="text" v-if="!showMonitor">
<div v-html="remoteDeviceList[detail.id - 1].description"></div>
</div>
</div>
<!-- 介绍 -->
<div class="descripition" v-if="showMonitor">
<div v-html="monitorSystemList[detail.id - 1].description"></div>
</div>
<div class="back" @click="toBack">返回</div>
</div>
</template>
<style lang="scss" scoped>
:deep(.monitor) {
margin-bottom: 40px;
}
.label {
margin: 64px 0 20px 0;
font-family: 'PingFang SC';
font-weight: 500;
font-size: 32px;
font-weight: bold;
color: $black;
}
.time {
margin-bottom: 40px;
}
.content {
width: 1300px;
height: 550px;
margin-top: 40px;
margin-bottom: 40px;
.img {
img {
width: 550px;
height: 550px;
}
}
.text {
font-size: 24px;
line-height: 5ex;
.title {
font-size: 32px;
font-weight: bold;
margin-bottom: 10px;
}
}
}
.descripition {
width: 1000px;
font-size: 20px;
}
.back {
padding: 10px 40px;
background: #0389ff;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
border-radius: 16px;
margin-bottom: 60px;
font-size: 20px;
color: $white;
cursor: pointer;
}
</style>

View File

@ -1,11 +1,43 @@
<script setup> <script setup>
import {ref, onMounted} from 'vue' import {ref, onMounted, computed} from 'vue'
import Swiper from '@/components/Swiper/index.vue' import Swiper from '@/components/Swiper/index.vue'
import Banner from '@/components/Banner/index.vue' import Banner from '@/components/Banner/index.vue'
import Project from './project.vue'
import {findLabelByUrl} from '@/utils'
import {useNavStore} from '@/store/nav'
const navStore = useNavStore()
import {useRouter} from 'vue-router'
const router = useRouter()
const title = computed(() => findLabelByUrl(window.nav.header, navStore.navIndex))
onMounted(() => {})
const currentPage = ref(1) const currentPage = ref(1)
onMounted(() => {}) const swiperItem = ref([
{id: 1, title: 'RGRID-Lite', subTitle: '无人机Remote ID远程识别设备', imgUrl: 'product/detail/6.png'},
{id: 2, title: 'RGRID-Ped', subTitle: '无人机Remote ID远程识别模块', imgUrl: 'product/detail/1.png'},
{id: 3, title: 'RGRID-Mob', subTitle: '无人机Remote ID远程识别手持设备', imgUrl: 'product/detail/4.png'},
])
// 点击标题跳转详情页
function titleClick(item) {
console.log('title clicked:', item)
router.push({
path: '/product/detail',
query: {
type: 'monitorSystem',
id: item.id,
title: item.title,
subTitle: item.subTitle,
imgUrl: item.imgUrl,
},
})
}
</script> </script>
<template> <template>
@ -13,55 +45,46 @@ onMounted(() => {})
<Banner class="banner" img="banner/product.png" /> <Banner class="banner" img="banner/product.png" />
<Swiper <Swiper
id="one" id="one"
title="产品体系" :title="title"
v-model="currentPage" v-model="currentPage"
:data="[1, 2, 3, 4]" :data="swiperItem"
:page-size="2" :page-size="3"
:show-pagination="false" :show-pagination="false"
:auto-play="false" :auto-play="false"
:sourceHeight="400"
:source-gap="80"
> >
<template #default="{item, index, isActive}"> <template #default="{item, index, isActive}">
<div class="my-card" :class="{active: isActive}"> <div class="content" @click="titleClick(item)">
<h2>{{ item }}</h2> <div class="top">
</div> <div class="title">{{ item.title }}</div>
</template> <div class="sub-title">{{ item.subTitle }}</div>
</Swiper> </div>
<Swiper <div class="line"></div>
id="two" <img :src="`./static/images/${item.imgUrl}`" class="img" :class="{active: isActive}" />
title="软件产品"
v-model="currentPage"
:data="[1, 2, 3, 4]"
:page-size="2"
:show-pagination="false"
:auto-play="false"
>
<template #default="{item, index, isActive}">
<div class="my-card" :class="{active: isActive}">
<h2>{{ item }}</h2>
</div>
</template>
</Swiper>
<Swiper
id="three"
title="硬件产品"
v-model="currentPage"
:data="[1, 2, 3, 4]"
:page-size="2"
:show-pagination="false"
:auto-play="false"
>
<template #default="{item, index, isActive}">
<div class="my-card" :class="{active: isActive}">
<h2>{{ item }}</h2>
</div> </div>
</template> </template>
</Swiper> </Swiper>
<Project />
</div> </div>
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.my-card { .content {
background: #d9d9d9;
height: 100%; height: 100%;
.top {
background-color: #eee;
padding: 10px 0;
}
.line {
width: 100%;
height: 2px;
background-color: $black;
}
.img {
width: 300px;
height: 300px;
}
} }
</style> </style>

View File

@ -0,0 +1,95 @@
<script setup>
import Swiper from '@/components/Swiper/index.vue'
import {ref, onMounted} from 'vue'
onMounted(() => {})
// 资质证书
const certificateWidth = ref(1300)
const certificateHeight = ref(500)
const currentPage = ref(1)
const imgList = [
{
id: 1,
list: [
{id: 1, width: 290, height: 188, label: '智慧物流配送', img: 'product/1.png'},
{id: 2, width: 210, height: 280, label: '城市低空交通管理', img: 'product/5.png'},
],
},
{
id: 2,
list: [
{id: 2.1, width: 290, height: 188, label: '大型活动保障', img: 'product/2.png'},
{id: 2.2, width: 210, height: 280, label: '区域低空监管组网', img: 'product/6.png'},
],
},
{
id: 3,
list: [
{id: 3.1, width: 290, height: 188, label: '关键基础设施守护', img: 'product/3.png'},
{id: 3.2, width: 210, height: 280, label: '要地防控', img: 'product/7.png'},
],
},
{
id: 4,
list: [
{id: 4.1, width: 290, height: 188, label: '规模化无人机巡检', img: 'product/4.png'},
{id: 4.2, width: 210, height: 280, label: '移动式低空安防', img: 'product/8.png'},
],
},
]
</script>
<template>
<div class="page">
<Swiper
id="certificate"
title="应用案例"
v-model="currentPage"
:source-width="certificateWidth"
:source-height="certificateHeight"
:show-pagination="false"
:auto-play="false"
:showHover="false"
>
<template #default="{item, index, isActive}">
<div class="certificate flex j-s a-c" :class="{active: isActive}">
<div
v-for="(list, listIdx) in imgList"
:index="list.id"
class="flex j-c a-c wrap"
:class="{'last-row': listIdx === imgList.length - 1}"
>
<div v-for="(img, imgIndex) in list.list" :key="imgIndex">
<div class="label">{{ img.label }}</div>
<img
:style="{
width: $fontSize(img.width) + 'px',
height: $fontSize(img.height) + 'px',
margin: `5px ${$fontSize(10)}px`,
cursor: 'pointer',
}"
:src="`./static/images/${img.img}`"
/>
</div>
</div>
</div>
</template>
</Swiper>
</div>
</template>
<style lang="scss" scoped>
#certificate {
// margin-top: 60px;
.certificate {
margin-top: 40px;
width: 100%;
height: 100%;
.label {
font-size: 20px;
}
}
}
</style>

View File

@ -1,11 +1,45 @@
<script setup> <script setup>
import {ref, onMounted} from 'vue' import {ref, onMounted, computed} from 'vue'
import Swiper from '@/components/Swiper/index.vue' import Swiper from '@/components/Swiper/index.vue'
import Banner from '@/components/Banner/index.vue' import Banner from '@/components/Banner/index.vue'
import {findLabelByUrl} from '@/utils'
import {useNavStore} from '@/store/nav'
const navStore = useNavStore()
import {useRouter} from 'vue-router'
const router = useRouter()
const title = computed(() => findLabelByUrl(window.nav.header, navStore.navIndex))
const swiperWidth = ref(1300)
const swiperHeight = ref(500)
onMounted(() => {})
const currentPage = ref(1) const currentPage = ref(1)
onMounted(() => {}) const swiperItem = ref([
{id: 1, img: '', title: '低空全域运营中枢'},
{id: 2, img: '', title: '无人机精准识别与管控系统'},
{id: 3, img: '', title: '开放式反制协同指挥平台'},
{id: 4, img: '', title: '全自动智能巡检作业平台'},
{id: 5, img: '', title: '低空数字孪生与推演平台'},
])
// 点击标题跳转详情页
function titleClick(item) {
console.log('title clicked:', item)
router.push({
path: '/product/detail',
query: {
type: 'remoteDevice',
id: item.id,
title: item.title,
img: item.img,
},
})
}
</script> </script>
<template> <template>
@ -13,46 +47,23 @@ onMounted(() => {})
<Banner class="banner" img="banner/product.png" /> <Banner class="banner" img="banner/product.png" />
<Swiper <Swiper
id="one" id="one"
title="产品体系" :title="title"
v-model="currentPage" v-model="currentPage"
:data="[1, 2, 3, 4]"
:page-size="2"
:show-pagination="false" :show-pagination="false"
:auto-play="false" :auto-play="false"
:source-width="swiperWidth"
:source-height="swiperHeight"
:showHover="false"
> >
<template #default="{item, index, isActive}"> <template #default="{item, index, isActive}">
<div class="my-card" :class="{active: isActive}"> <div class="content flex j-s a-c wrap" @click="titleClick(item)">
<h2>{{ item }}</h2> <div v-for="list in swiperItem" :key="list.id" class="list">
<div class="top">
<div class="title">{{ list.title }}</div>
</div> </div>
</template> <div class="line"></div>
</Swiper> <div class="my-card" :class="{active: isActive}"></div>
<Swiper
id="two"
title="软件产品"
v-model="currentPage"
:data="[1, 2, 3, 4]"
:page-size="2"
:show-pagination="false"
:auto-play="false"
>
<template #default="{item, index, isActive}">
<div class="my-card" :class="{active: isActive}">
<h2>{{ item }}</h2>
</div> </div>
</template>
</Swiper>
<Swiper
id="three"
title="硬件产品"
v-model="currentPage"
:data="[1, 2, 3, 4]"
:page-size="2"
:show-pagination="false"
:auto-play="false"
>
<template #default="{item, index, isActive}">
<div class="my-card" :class="{active: isActive}">
<h2>{{ item }}</h2>
</div> </div>
</template> </template>
</Swiper> </Swiper>
@ -60,8 +71,21 @@ onMounted(() => {})
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.my-card { .content {
background: #d9d9d9;
height: 100%; height: 100%;
border: 1px solid red;
.top {
background-color: #eee;
padding: 10px 0;
}
.line {
width: 100%;
height: 2px;
background-color: $black;
}
.img {
width: 300px;
height: 300px;
}
} }
</style> </style>