From 8f1230375c82c627a4270420de757d2f402fd8b5 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Tue, 16 Aug 2022 14:10:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/countryCardView.vue | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardView.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardView.vue index 4c91a6b97..e7ecf4f4c 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardView.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/countryCardView.vue @@ -186,7 +186,6 @@ }) } if (content && content.length > 0) { - console.log(content) content.forEach((res, index) => { this.contentList[index + 1] = { name: res.lableName } this.contentList[index + 1].list = [] @@ -228,7 +227,15 @@ } postAction(this.list, query).then((res) => { if (res.success) { - this.queryCountryList = res.result || [] + this.queryCountryList = [] + applyMarkets.split(',').forEach(val => { + res.result.forEach(ol => { + if (val == ol.applyMarket) { + this.queryCountryList.push(ol) + } + }) + }) + // this.queryCountryList = res.result || [] this.isTrue = false this.$nextTick(() => { this.clientWidth = 340 * (this.queryCountryList.length + 1) + 'px' @@ -350,13 +357,13 @@ border-bottom: 1px #d9d9d9 solid; .content-box-box-img { - width: 70%; + width: 238px; height: 100%; } .content-box-box-text { display: inline-block; - width: 30%; + width: calc(100% - 238px); text-align: center; font-size: 18px; font-weight: 500; @@ -380,13 +387,13 @@ cursor: pointer; .content-box-box-img { - width: 70%; + width: 238px; height: 100%; } .content-box-box-text { display: inline-block; - width: 30%; + width: calc(100% - 238px); text-align: center; font-size: 18px; font-weight: 500;