From 9da362e96e12969bc8d3ff53ce18f5d027cb556f Mon Sep 17 00:00:00 2001 From: lVAL Date: Thu, 29 Oct 2020 09:18:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BD=E8=B5=9B=E5=A4=87?= =?UTF-8?q?=E6=88=98=E7=89=88=20=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Exhibition/index.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/Exhibition/index.vue b/src/views/Exhibition/index.vue index 565e9f5..c68f144 100644 --- a/src/views/Exhibition/index.vue +++ b/src/views/Exhibition/index.vue @@ -46,6 +46,11 @@ export default { name: "城轨设计平台", href: "https://joylink.club/cbtc/design" }, + { + platform: "", + name: "国赛备战版", + href: "https://joylink.club/cbtc/login?project=drts" + }, { platform: "电力电厂", name: "太仆寺旗锅炉DCS系统", @@ -61,10 +66,11 @@ export default { }, methods: { objectSpanMethod({ rowIndex, columnIndex }) { + const sum = 3; if (columnIndex === 0) { - if (rowIndex < 2) { - if (rowIndex % 2 == 0) { - return { rowspan: 2, colspan: 1 }; + if (rowIndex < sum) { + if (rowIndex % sum == 0) { + return { rowspan: sum, colspan: 1 }; } else { return { rowspan: 0, colspan: 0 }; }