style: 优化部分样式,保持一致性

This commit is contained in:
zhuoqinglian
2026-01-20 15:35:41 +08:00
parent 2948ed091c
commit e0b4431064
8 changed files with 17 additions and 10 deletions
@@ -395,7 +395,10 @@ export default {
// 获取设备状态
fetchDeviceStatus(agentId) {
// 开启表格等待状态,处理动态加载表头导致鼠标所在行的hover事件无法移除的问题
this.loading = true;
Api.device.getDeviceStatus(agentId, ({ data }) => {
this.loading = false;
if (data.code === 0) {
try {
// 解析后端返回的设备状态JSON
+4 -4
View File
@@ -5,12 +5,12 @@
<div style="
display: flex;
align-items: center;
margin-top: 15px;
margin-left: 10px;
margin-top: 11px;
margin-left: 11px;
gap: 10px;
">
<img loading="lazy" alt="" src="@/assets/xiaozhi-logo.png" style="width: 45px; height: 45px" />
<img loading="lazy" alt="" :src="xiaozhiAiIcon" style="height: 18px" />
<img loading="lazy" alt="" src="@/assets/xiaozhi-logo.png" style="width: 42px; height: 42px" />
<img loading="lazy" alt="" :src="xiaozhiAiIcon" style="height: 20px" />
</div>
</el-header>
<div class="login-person">