From c0c79d9b58705a3c8c13ea9f23b1dd0f724a04af Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期一, 19 十月 2020 19:14:52 +0800 Subject: [PATCH] 搜索集群节点样式更新 --- src/components/cardWindow.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/cardWindow.vue b/src/components/cardWindow.vue index d862113..55f810d 100644 --- a/src/components/cardWindow.vue +++ b/src/components/cardWindow.vue @@ -5,10 +5,8 @@ v-for="(item, index) in CardList.details" :closeButton="true" @closebuttonclick="closeWindow(index)" - @update:height="resizeHeight" - @update:width="resizeWidth" :key="index" - style="background:white; height:475px" + style="background:white; " :left="center.x + index * 10" :top="center.y + index * 10" :resizable="true" @@ -20,6 +18,7 @@ :maxHeight="7000" :height="defaultHeight" :width="defaultWidth" + ref="hscw" > <div v-if="item.list.length == 1" style="height: calc(100% - 50px)"> <model-card :data="item.list[0]"></model-card> @@ -49,6 +48,7 @@ </div> </template> <script> +import bus from '@/plugin/bus' import ModelCard from '@/components/subComponents/ModelCard' export default { name: 'cardWindow', @@ -107,6 +107,8 @@ } }, async nextPage(dataInfo, index) { + console.log(this) + debugger let id = dataInfo[0].id let res = this.CardList.getBehindEle(id) if (res) { @@ -157,6 +159,7 @@ // driver.execute_script("arguments[0].scrollIntoView();", target) }, async upPage(dataInfo, index) { + console.log('涓婁竴椤�') let id = dataInfo[0].id let res = this.CardList.getFrontEle(id) if (res) { -- Gitblit v1.8.0