index尚可
This commit is contained in:
parent
a765d68a1d
commit
edf29056a9
|
|
@ -10,9 +10,6 @@ export default defineAppConfig({
|
|||
available: true
|
||||
},
|
||||
ui: {
|
||||
container: {
|
||||
base: 'w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8'
|
||||
},
|
||||
colors: {
|
||||
primary: 'blue',
|
||||
neutral: 'neutral'
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
}
|
||||
|
||||
:root {
|
||||
/*--ui-primary: var(--ui-color-primary-400);*/
|
||||
|
||||
--ui-container: var(--container-max-width);
|
||||
|
||||
::selection {
|
||||
|
|
@ -18,6 +20,8 @@
|
|||
|
||||
|
||||
.dark {
|
||||
/*--ui-primary: var(--ui-color-primary-700);*/
|
||||
|
||||
::selection {
|
||||
color: #ffffff;
|
||||
background-color: #474747;
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ const items = computed<NavigationMenuItem[]>(() => [
|
|||
to: 'https://github.com/nuxt/ui/releases',
|
||||
target: '_blank'
|
||||
}, {
|
||||
label: '13888555777',
|
||||
to: 'https://github.com/nuxt/ui/releases',
|
||||
label: '后台管理',
|
||||
to: 'https://ele.ccttiot.com/login',
|
||||
target: '_blank'
|
||||
}
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ const items = computed<NavigationMenuItem[]>(() => [
|
|||
<IndexLogo class="h-6 w-auto"/>
|
||||
</template>
|
||||
|
||||
<UNavigationMenu :items="items"/>
|
||||
<UNavigationMenu :items="items" color="primary"/>
|
||||
|
||||
<template #right>
|
||||
<ColorModeButton/>
|
||||
|
|
@ -68,6 +68,7 @@ const items = computed<NavigationMenuItem[]>(() => [
|
|||
<UNavigationMenu
|
||||
:items="items"
|
||||
class="-mx-2.5"
|
||||
color="primary"
|
||||
orientation="vertical"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,105 +1,89 @@
|
|||
<template>
|
||||
<footer class="bg-white dark:bg-gray-900 text-gray-900 dark:text-white py-12 transition-colors duration-300">
|
||||
<footer class="bg-default py-12">
|
||||
<div class="container mx-auto px-4">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-8">
|
||||
|
||||
<!-- 解决方案 -->
|
||||
<div class="text-center md:text-left">
|
||||
<h3 class="text-lg font-semibold mb-4 text-gray-800 dark:text-gray-100">解决方案</h3>
|
||||
<h3 class="text-lg font-semibold mb-4 text-default">解决方案</h3>
|
||||
<ul class="space-y-2">
|
||||
<li
|
||||
v-for="item in solutions" :key="item"
|
||||
class="text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 transition-colors duration-200 cursor-pointer">
|
||||
<a class="block py-1" href="#">{{ item }}</a>
|
||||
class="text-muted hover:text-primary transition-colors cursor-pointer">
|
||||
<a href="#">{{ item }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 行业方案 -->
|
||||
<div class="text-center md:text-left">
|
||||
<h3 class="text-lg font-semibold mb-4 text-gray-800 dark:text-gray-100">行业方案</h3>
|
||||
<h3 class="text-lg font-semibold mb-4 text-default">行业方案</h3>
|
||||
<ul class="space-y-2">
|
||||
<li
|
||||
v-for="item in industrySolutions" :key="item"
|
||||
class="text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 transition-colors duration-200 cursor-pointer">
|
||||
<a class="block py-1" href="#">{{ item }}</a>
|
||||
class="text-muted hover:text-primary transition-colors cursor-pointer">
|
||||
<a href="#">{{ item }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 软件开发 -->
|
||||
<div class="text-center md:text-left">
|
||||
<h3 class="text-lg font-semibold mb-4 text-gray-800 dark:text-gray-100">软件开发</h3>
|
||||
<h3 class="text-lg font-semibold mb-4 text-default">软件开发</h3>
|
||||
<ul class="space-y-2">
|
||||
<li
|
||||
v-for="item in softwareDevelopment" :key="item"
|
||||
class="text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 transition-colors duration-200 cursor-pointer">
|
||||
<a class="block py-1" href="#">{{ item }}</a>
|
||||
class="text-muted hover:text-primary transition-colors cursor-pointer">
|
||||
<a href="#">{{ item }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 智能硬件 -->
|
||||
<div class="text-center md:text-left">
|
||||
<h3 class="text-lg font-semibold mb-4 text-gray-800 dark:text-gray-100">智能硬件</h3>
|
||||
<h3 class="text-lg font-semibold mb-4 text-default">智能硬件</h3>
|
||||
<ul class="space-y-2">
|
||||
<li
|
||||
v-for="item in smartHardware" :key="item"
|
||||
class="text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 transition-colors duration-200 cursor-pointer">
|
||||
<a class="block py-1" href="#">{{ item }}</a>
|
||||
class="text-muted hover:text-primary transition-colors cursor-pointer">
|
||||
<a href="#">{{ item }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 联系我们 -->
|
||||
<div class="text-center md:text-left">
|
||||
<h3 class="text-lg font-semibold mb-4 text-gray-800 dark:text-gray-100">联系我们</h3>
|
||||
<div class="space-y-3 text-gray-600 dark:text-gray-300">
|
||||
<h3 class="text-lg font-semibold mb-4 text-default">联系我们</h3>
|
||||
<div class="space-y-3 text-muted">
|
||||
<div class="flex items-center justify-center md:justify-start space-x-2 group">
|
||||
<svg
|
||||
class="w-4 h-4 text-gray-500 dark:text-gray-400 group-hover:text-blue-500 dark:group-hover:text-blue-400 transition-colors"
|
||||
fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path
|
||||
d="M3 5a2 极 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"
|
||||
stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
|
||||
</svg>
|
||||
<a
|
||||
class="group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors"
|
||||
href="tel:0755-85225123">客服电话:0755-85225123</a>
|
||||
<UIcon
|
||||
class="w-4 h-4 text-muted group-hover:text-primary transition-colors"
|
||||
name="i-heroicons-phone-20-solid"/>
|
||||
<a class="group-hover:text-primary transition-colors" href="tel:0755-85225123">
|
||||
客服电话:0755-85225123
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex items-center justify-center md:justify-start space-x-2 group">
|
||||
<svg
|
||||
class="w-4 h-4 text-gray-500 dark:text-gray-400 group极hover:text-blue-500 dark:group-hover:text-blue-400 transition-colors"
|
||||
fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path
|
||||
d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.极-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 极 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 极 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"
|
||||
stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
|
||||
</svg>
|
||||
<a
|
||||
class="group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors"
|
||||
href="tel:18123752516">商务合作:18123752516</a>
|
||||
<UIcon
|
||||
class="w-4 h-4 text-muted group-hover:text-primary transition-colors"
|
||||
name="i-heroicons-users-20-solid"/>
|
||||
<a class="group-hover:text-primary transition-colors" href="tel:18123752516">
|
||||
商务合作: 18123752516
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex items-center justify-center md:justify-start space-x-2 group">
|
||||
<svg
|
||||
class="w-4 h-4 text-gray-500 dark:text-gray-400 group-hover:text-blue-500 dark:group-hover:text-blue-400 transition-colors"
|
||||
fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path
|
||||
d="M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
|
||||
stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
|
||||
</svg>
|
||||
<a
|
||||
class="group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors"
|
||||
href="mailto:yuxi@yuxiit.com">反馈建议邮箱:yuxi@yuxiit.com</a>
|
||||
<UIcon
|
||||
class="w-4 h-4 text-muted group极hover:text-primary transition-colors"
|
||||
name="i-heroicons-envelope-20-solid"/>
|
||||
<a class="group-hover:text-primary transition-colors" href="mailto:yuxi@yuxiit.com">
|
||||
反馈建议邮箱:yuxi@yuxiit.com
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <!– 底部版权信息 –>-->
|
||||
<!-- <div-->
|
||||
<!-- class="border-t border-gray-300 dark:border-gray-700 mt-8 pt-8 text-center text-gray-500 dark:text-gray-400 transition-colors duration-300">-->
|
||||
<!-- <p>© 2024 玉犀科技. 保留所有权利.</p>-->
|
||||
<!-- </div>-->
|
||||
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
|
|
@ -131,23 +115,4 @@ const smartHardware = [
|
|||
'物联网智能硬件',
|
||||
'物联网IOT云平台'
|
||||
]
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
/* 响应式调整 */
|
||||
@media (max-width: 768px) {
|
||||
.grid {
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.grid {
|
||||
gap: 4rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</script>
|
||||
|
|
@ -1,121 +1,119 @@
|
|||
<template>
|
||||
<div class=" bg-white dark:bg-gray-900 py-12">
|
||||
<div class="bg-default py-12">
|
||||
<div class="container mx-auto px-4 max-w-6xl">
|
||||
<!-- 页面标题 -->
|
||||
<div class="text-center mb-12">
|
||||
<h1 class="text-3xl lg:text-4xl font-bold text-gray-900 dark:text-white mb-2">
|
||||
<h1 class="text-3xl lg:text-4xl font-bold text-default mb-2">
|
||||
开发资讯
|
||||
</h1>
|
||||
<p class="text-lg text-gray-600 dark:text-gray-400">NEWS</p>
|
||||
<p class="text-lg text-muted">NEWS</p>
|
||||
</div>
|
||||
|
||||
<!-- 三栏资讯布局 -->
|
||||
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
||||
|
||||
<!-- 解决方案栏目 -->
|
||||
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
|
||||
<div class="p-6 border-b border-gray-100 dark:border-gray-600">
|
||||
<h2 class="text-xl font-semibold text-gray-900 dark:text-white">解决方案</h2>
|
||||
<div class="bg-default border border-divider rounded-lg shadow-sm">
|
||||
<div class="p-6 border-b border-divider">
|
||||
<h2 class="text-xl font-semibold text-default">解决方案</h2>
|
||||
</div>
|
||||
<div class="p-6 space-y-6">
|
||||
<div class="group cursor-pointer">
|
||||
<h3 class="text-lg font-medium text-gray-900 dark:text-white group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors mb-2 line-clamp-2">
|
||||
玉犀景区SaaS平台 打造专业景区共享出行综合解决方案
|
||||
<h3 class="text-lg font-medium text-default group-hover:text-primary transition-colors mb-2 line-clamp-2">
|
||||
创特景区SaaS平台 打造专业景区共享出行综合解决方案
|
||||
</h3>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">2025-07-08 12:40</p>
|
||||
<p class="text-sm text-muted">2025-07-08 12:40</p>
|
||||
</div>
|
||||
<div class="group cursor-pointer">
|
||||
<h3 class="text-lg font-medium text-gray-900 dark:text-white group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors mb-2">
|
||||
<h3 class="text-lg font-medium text-default group-hover:text-primary transition-colors mb-2">
|
||||
为什么说景区共享代步车的未来发展空间巨大?
|
||||
</h3>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">2023-05-08 11:25</p>
|
||||
<p class="text-sm text-muted">2023-05-08 11:25</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 开发知识栏目 -->
|
||||
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
|
||||
<div class="p-6 border-b border-gray-100 dark:border-gray-600">
|
||||
<h2 class="text-xl font-semibold text-gray-900 dark:text-white">开发知识</h2>
|
||||
<div class="bg-default border border-divider rounded-lg shadow-sm">
|
||||
<div class="p-6 border-b border-divider">
|
||||
<h2 class="text-xl font-semibold text-default">开发知识</h2>
|
||||
</div>
|
||||
<div class="p-6 space-y-6">
|
||||
<div class="group cursor-pointer">
|
||||
<h3 class="text-lg font-medium text-gray-900 dark:text-white group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors mb-2">
|
||||
<h3 class="text-lg font-medium text-default group-hover:text-primary transition-colors mb-2">
|
||||
共享电动车为何能在共享经济中独树一帜?
|
||||
</h3>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">2023-06-29 12:26</p>
|
||||
<p class="text-sm text-muted">2023-06-29 12:26</p>
|
||||
</div>
|
||||
<div class="group cursor-pointer">
|
||||
<h3 class="text-lg font-medium text-gray-900 dark:text-white group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors mb-2">
|
||||
<h3 class="text-lg font-medium text-default group-hover:text-primary transition-colors mb-2">
|
||||
景区共享智能代步车运营方案有哪些?
|
||||
</h3>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">2023-05-10 10:23</p>
|
||||
<p class="text-sm text-muted">2023-05-10 10:23</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 行业动态栏目 -->
|
||||
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
|
||||
<div class="p-6 border-b border-gray-100 dark:border-gray-600">
|
||||
<h2 class="text-xl font-semibold text-gray-900 dark:text-white">行业动态</h2>
|
||||
<div class="bg-default border border-divider rounded-lg shadow-sm">
|
||||
<div class="p-6 border-b border-divider">
|
||||
<h2 class="text-xl font-semibold text-default">行业动态</h2>
|
||||
</div>
|
||||
<div class="p-6 space-y-6">
|
||||
<div class="group cursor-pointer">
|
||||
<h3 class="text-lg font-medium text-gray-900 dark:text-white group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors mb-2">
|
||||
<h3 class="text-lg font-medium text-default group-hover:text-primary transition-colors mb-2">
|
||||
景区共享电动代步车如何引领景区发展趋势?
|
||||
</h3>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">2024-12-11 23:53</p>
|
||||
<p class="text-sm text-muted">2024-12-11 23:53</p>
|
||||
</div>
|
||||
<div class="group cursor-pointer">
|
||||
<h3 class="text-lg font-medium text-gray-900 dark:text-white group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors mb-2">
|
||||
<h3 class="text-lg font-medium text-default group-hover:text-primary transition-colors mb-2">
|
||||
景区共享观光代步车为何如此火爆?
|
||||
</h3>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">2023-07-13 15:42</p>
|
||||
<p class="text-sm text-muted">2023-07-13 15:42</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!--<script setup>-->
|
||||
<!--// 可以添加数据获取和交互逻辑-->
|
||||
<!--const articles = {-->
|
||||
<!-- solutions: [-->
|
||||
<!-- {-->
|
||||
<!-- title: "玉犀景区SaaS平台 打造专业景区共享出行综合解决方案",-->
|
||||
<!-- date: "2025-07-08 12:40"-->
|
||||
<!-- },-->
|
||||
<!-- {-->
|
||||
<!-- title: "为什么说景区共享代步车的未来发展空间巨大?",-->
|
||||
<!-- date: "2023-05-08 11:25"-->
|
||||
<!-- }-->
|
||||
<!-- ],-->
|
||||
<!-- knowledge: [-->
|
||||
<!-- {-->
|
||||
<!-- title: "共享电动车为何能在共享经济中独树一帜?",-->
|
||||
<!-- date: "2023-06-29 12:26"-->
|
||||
<!-- },-->
|
||||
<!-- {-->
|
||||
<!-- title: "景区共享智能代步车运营方案有哪些?",-->
|
||||
<!-- date: "2023-05-10 10:23"-->
|
||||
<!-- }-->
|
||||
<!-- ],-->
|
||||
<!-- trends: [-->
|
||||
<!-- {-->
|
||||
<!-- title: "景区共享电动代步车如何引领景区发展趋势?",-->
|
||||
<!-- date: "2024-12-11 23:53"-->
|
||||
<!-- },-->
|
||||
<!-- {-->
|
||||
<!-- title: "景区共享观光代步车为何如此火爆?",-->
|
||||
<!-- date: "2023-07-13 15:42"-->
|
||||
<!-- }-->
|
||||
<!-- ]-->
|
||||
<!--}-->
|
||||
<!--</script>-->
|
||||
<script setup>
|
||||
// 数据定义
|
||||
const articles = {
|
||||
solutions: [
|
||||
{
|
||||
title: "创特景区SaaS平台 打造专业景区共享出行综合解决方案",
|
||||
date: "2025-07-08 12:40"
|
||||
},
|
||||
{
|
||||
title: "为什么说景区共享代步车的未来发展空间巨大?",
|
||||
date: "2023-05-08 11:25"
|
||||
}
|
||||
],
|
||||
knowledge: [
|
||||
{
|
||||
title: "共享电动车为何能在共享经济中独树一帜?",
|
||||
date: "极 2023-06-29 12:26"
|
||||
},
|
||||
{
|
||||
title: "景区共享智能代步车运营方案有哪些?",
|
||||
date: "2023-05-10 10:23"
|
||||
}
|
||||
],
|
||||
trends: [
|
||||
{
|
||||
title: "景区共享电动代步车如何引领景区发展趋势?",
|
||||
date: "2024-12-11 23:53"
|
||||
},
|
||||
{
|
||||
title: "景区共享观光代步车为何如此火爆?",
|
||||
date: "2023-07-13 15:42"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.line-clamp-2 {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<!-- 内容区域 -->
|
||||
<div class="text-center lg:text-left">
|
||||
<h1 class="text-4xl lg:text-6xl font-black text-gray-900 dark:text-white mb-6 leading-tight">
|
||||
玉犀共享电动车
|
||||
创特共享电动车
|
||||
<span class="block text-yellow-600 dark:text-yellow-400">整体解决方案提供商</span>
|
||||
</h1>
|
||||
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
<div class="relative">
|
||||
<div class="relative z-10">
|
||||
<img alt="车" src="https://api.ccttiot.com/smartmeter/img/static/u1FoIt3IRUOer3uGOOTI">
|
||||
|
||||
|
||||
<div
|
||||
class="absolute top-10 left-10 w-20 h-20 bg-yellow-400 dark:bg-yellow-600 rounded-full opacity-20 animate-pulse"/>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user