2025-09-29 14:45:33 +08:00
|
|
|
<script lang="ts" setup>
|
2025-10-16 09:38:26 +08:00
|
|
|
import {useHead} from "#app";
|
|
|
|
|
import {pageConfig} from "~/data/indexData";
|
|
|
|
|
|
|
|
|
|
// 使用 Nuxt 3 的 useHead 来管理头部资源
|
|
|
|
|
useHead({
|
|
|
|
|
link: [
|
|
|
|
|
{rel: 'stylesheet', href: '/css/bootstrap.min.css'},
|
|
|
|
|
{rel: 'stylesheet', href: '/css/main2.css'},
|
|
|
|
|
{rel: 'stylesheet', href: '/css/main.css'},
|
|
|
|
|
{rel: 'stylesheet', href: '/css/yuxi2019.css'},
|
|
|
|
|
{rel: 'shortcut icon', href: pageConfig.favicon}
|
|
|
|
|
],
|
|
|
|
|
script: [
|
|
|
|
|
|
|
|
|
|
{src: '/js/index.js'},
|
|
|
|
|
{src: '/js/gopcOm.js'},
|
|
|
|
|
{
|
|
|
|
|
innerHTML: `
|
|
|
|
|
var _hmt = _hmt || [];
|
|
|
|
|
(function() {
|
|
|
|
|
var protocol = window.location.protocol === 'https:' ? 'https://' : 'http://';
|
|
|
|
|
var hm = document.createElement("script");
|
|
|
|
|
hm.src = protocol + "hm.baidu.com/h.js?${pageConfig.baiduAnalytics}";
|
|
|
|
|
var s = document.getElementsByTagName("script")[0];
|
|
|
|
|
s.parentNode.insertBefore(hm, s);
|
|
|
|
|
})();
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
})
|
2025-09-29 14:45:33 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2025-10-08 16:10:12 +08:00
|
|
|
<div>
|
|
|
|
|
<!-- 使用正确的导航组件 -->
|
2025-10-08 18:04:49 +08:00
|
|
|
|
2025-09-30 16:56:40 +08:00
|
|
|
|
2025-10-08 14:37:58 +08:00
|
|
|
<!-- <YuxiCarousel/>-->
|
2025-10-08 16:10:12 +08:00
|
|
|
<!-- <IndexCarousel/>-->
|
|
|
|
|
<Index/>
|
2025-10-08 14:37:58 +08:00
|
|
|
|
2025-10-08 16:10:12 +08:00
|
|
|
<!-- <!– s–>-->
|
|
|
|
|
<!-- <IndexItem2/>-->
|
|
|
|
|
<!-- <IndexItem3/>-->
|
|
|
|
|
<!-- <IndexItem4/>-->
|
|
|
|
|
<!-- <IndexItem5/>-->
|
|
|
|
|
</div>
|
2025-09-29 14:45:33 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
|
|
</style>
|