From 61c2e839038e684119d03bccb24a4b7133c8a141 Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期五, 09 八月 2024 14:58:42 +0800 Subject: [PATCH] fix: 修改bug --- src/views/dmx/IntelligentAgent/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/dmx/IntelligentAgent/index.vue b/src/views/dmx/IntelligentAgent/index.vue index 295dbd1..f775fb0 100644 --- a/src/views/dmx/IntelligentAgent/index.vue +++ b/src/views/dmx/IntelligentAgent/index.vue @@ -15,7 +15,7 @@ <a-divider style="margin: 10px 0" /> <a-row justify="space-between"> <a-col :span="24"> - <div style="display: flex; flex-wrap: wrap"> + <a-spin :loading="loading" style="display: flex; flex-wrap: wrap" :style="{height: documentHeight + 'px'}"> <!-- <div--> <!-- class="card-wrap"--> <!-- style="cursor: pointer"--> @@ -56,11 +56,11 @@ :key="item.id" > <a-card :bordered="false" hoverable> - <a-avatar :style="{ backgroundColor: '#3370ff' }"> + <a-avatar :style="{ backgroundColor: '#5b99da' }"> <img :style="{ width: '100%' }" alt="dessert" - src="https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/a20012a2d4d5b9db43dfc6a01fe508c0.png~tplv-uwbnlip3yd-webp.webp" + :src="item.icon || 'https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/a20012a2d4d5b9db43dfc6a01fe508c0.png~tplv-uwbnlip3yd-webp.webp'" /> </a-avatar> <a-switch @@ -113,7 +113,7 @@ </div> </a-card> </div> - </div> + </a-spin> </a-col> </a-row> </a-card> @@ -130,7 +130,7 @@ const { loading, setLoading } = useLoading(true); import EventBus from '@/utils/EventBus'; import AgentConfig from "@/views/dmx/IntelligentAgent/components/agentConfig.vue"; - + let documentHeight = window.innerHeight - 360 let count = 5; const activeKey = ref(1); const addAgents = ref(); -- Gitblit v1.8.0