feat(站点概览): 添加状态和告警自定义弹窗组件

refactor(样式): 重构弹窗样式并分离状态和告警样式
style: 调整页面间距和布局
This commit is contained in:
tcy
2025-09-22 19:47:06 +08:00
parent c027533d4f
commit 6d960a1fc7
8 changed files with 353 additions and 120 deletions

16
src/assets/styles/1.html Normal file
View File

@ -0,0 +1,16 @@
<div class="card">
<div id="content">
</div>
</div>
<script type="text/javascript">
// 定义每个状态对应的图片URL
const titleList = ['运行正常', '运行异常', '未运行']
let titleHtml = ""
titleList.forEach((title, index) => {
titleHtml += `我是标题${title}<br>`
})
document.getElementById('content').innerHTML = titleHtml
</script>