Files
maintenance_system/src/views/securitySurveillance/index.vue
tcy 31c1732af5 feat: 优化UI组件样式和交互逻辑
- 为对话框添加背景图片并调整布局
- 修改视频监控组件的小视频切换逻辑
- 调整天气卡片样式增加内边距和背景
- 修复视频监控组件展开/收起状态判断
- 为安全监控页面添加顶部间距
2025-09-23 10:50:47 +08:00

58 lines
2.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="security-surveillance">
<el-row style="display: flex;align-items: center;">
<el-col :span="12">
<TitleComponent title="安防监控管理" subtitle="实时监控、历史录像查询与视频管理" />
</el-col>
<!-- 关键给内层 el-col 套上 el-row -->
<el-col :span="12" style="text-align: right;">
<el-row :gutter="16" justify="end"> <!-- gutter 可选单位px控制列间距 -->
<el-col :span="6" :push="3">
<el-input placeholder="搜索逆变器..." prefix-icon="search" />
</el-col>
<el-col :span="6" :push="3">
<el-select placeholder="请选择逆变器状态">
<el-option label="所有状态" value="0"></el-option>
</el-select>
</el-col>
<el-col :span="6">
<el-button type="primary">刷新数据<el-icon>
<Refresh />
</el-icon>
</el-button>
</el-col>
</el-row> <!-- 闭合内层 el-row -->
</el-col>
</el-row>
<el-row style="margin-top: 20px;">
<Top />
</el-row>
<el-row style="margin-top: 20px;" :gutter="25">
<el-col :span="18">
<Spjk />
</el-col>
<el-col :span="6">
<Spgl />
</el-col>
</el-row>
<el-row style="margin-top: 20px;">
<el-col>
<Sbzt />
</el-col>
</el-row>
</div>
</template>
<style scoped>
.security-surveillance {
padding: 20px;
background-color: #F2F8FC;
}
</style>
<script setup>
import TitleComponent from "@/components/TitleComponent";
import Top from "./components/top"
import Spjk from "./components/spjk"
import Spgl from "./components/spgl";
import Sbzt from "./components/sbzt";
</script>