- 添加Three.js基础场景配置和核心功能模块 - 实现模型加载器、动画循环和交互选择器 - 添加温度、压力等仪表盘组件 - 配置Vite构建工具和ESLint规范 - 添加基础UI组件和布局系统 - 实现数据可视化图表组件 - 配置Nginx部署文件 - 添加钢铁厂设备数据模型
20 lines
436 B
Vue
20 lines
436 B
Vue
<template>
|
|
<div class="header">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
<style lang="scss" scoped>
|
|
.header {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 1rem;
|
|
font-size: 0.4rem;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
background: url(@/assets/images/top.png) no-repeat;
|
|
background-image: image-set(url(@/assets/images/top.png) 1x, url(@/assets/images/top@2x.png) 2x);
|
|
background-size: 100% 1rem;
|
|
}
|
|
</style>
|