feat(站点概览): 添加状态和告警自定义弹窗组件
refactor(样式): 重构弹窗样式并分离状态和告警样式 style: 调整页面间距和布局
This commit is contained in:
@ -5,7 +5,8 @@
|
||||
<TitleComponent title="XXX电站·逆变器综合监控" subtitle="实时监控X台逆变器运行状态、发电趋势及环境信息" />
|
||||
</el-col>
|
||||
<!-- 外层col:控制整体宽度并右对齐,同时作为flex容器 -->
|
||||
<el-col :span="12" style="display: flex; justify-content: flex-end; align-items: center;">
|
||||
<el-col :span="12"
|
||||
style="display: flex; justify-content: flex-end; align-items: center;margin-bottom: 20px;">
|
||||
<!-- 子col1:输入框容器 -->
|
||||
<el-col :span="8">
|
||||
<el-input placeholder="请输入逆变器...">
|
||||
@ -32,7 +33,7 @@
|
||||
</el-col>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row style="display: flex; gap: 30px;" class="card">
|
||||
<el-row style="display: flex; gap: 30px;margin: 20px 0;" class="card">
|
||||
<el-col style="flex: 1;" class="item">
|
||||
<div class="box" style="height: 100%;display: flex;">
|
||||
<div class="left"
|
||||
@ -161,7 +162,7 @@
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-row style="margin: 20px 0;">
|
||||
<el-col :span="15">
|
||||
<el-row style="display: flex;flex-direction: column;height: 100%;">
|
||||
<div>
|
||||
@ -177,7 +178,7 @@
|
||||
<QiXiang />
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20"> <!-- gutter:列之间的间距(单位px),控制垂直/水平间距 -->
|
||||
<el-row style="margin: 20px 0;"> <!-- gutter:列之间的间距(单位px),控制垂直/水平间距 -->
|
||||
<!-- 标题列:占满12列(栅格系统默认12列) -->
|
||||
<el-col> <!-- span=12 表示占满一行宽度 -->
|
||||
<TitleComponent title="逆变器运行状态" :fontLevel="2" />
|
||||
|
||||
Reference in New Issue
Block a user