feat: 新增钢铁厂数字孪生平台基础架构和功能模块
- 添加Three.js基础场景配置和核心功能模块 - 实现模型加载器、动画循环和交互选择器 - 添加温度、压力等仪表盘组件 - 配置Vite构建工具和ESLint规范 - 添加基础UI组件和布局系统 - 实现数据可视化图表组件 - 配置Nginx部署文件 - 添加钢铁厂设备数据模型
This commit is contained in:
19
apps/steelmill/src/pages/components/Header.vue
Normal file
19
apps/steelmill/src/pages/components/Header.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user