- 添加Three.js基础场景配置和核心功能模块 - 实现模型加载器、动画循环和交互选择器 - 添加温度、压力等仪表盘组件 - 配置Vite构建工具和ESLint规范 - 添加基础UI组件和布局系统 - 实现数据可视化图表组件 - 配置Nginx部署文件 - 添加钢铁厂设备数据模型
24 lines
456 B
Vue
24 lines
456 B
Vue
<script setup lang="ts">
|
|
import Layout from './components/Layout.vue';
|
|
import { RouterView } from 'vue-router';
|
|
</script>
|
|
|
|
<template>
|
|
<Layout>
|
|
<router-view v-slot="{ Component }">
|
|
<transition name="fade"> <component :is="Component" /> </transition>
|
|
</router-view>
|
|
</Layout>
|
|
</template>
|
|
<style scoped>
|
|
.fade-enter-active,
|
|
.fade-leave-active {
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
.fade-enter-from,
|
|
.fade-leave-to {
|
|
opacity: 0;
|
|
}
|
|
</style>
|