From cd067cfcc1506f2893cfb92290f50363b3605982 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Fri, 26 Aug 2022 10:49:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=8B=E8=83=BD=E5=9C=BA=E6=99=AF-=E5=85=B8?= =?UTF-8?q?=E5=9E=8B=E8=B5=8B=E8=83=BD=E5=9C=BA=E6=99=AF=EF=BC=9B=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/components/CanAssignCase.vue | 8 ++------ front/src/views/home/integrationServices.vue | 4 +++- front/src/views/home/integrationServicesDetails.vue | 10 +++++++--- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/front/src/views/home/components/CanAssignCase.vue b/front/src/views/home/components/CanAssignCase.vue index c7fcf37c..49d2567d 100644 --- a/front/src/views/home/components/CanAssignCase.vue +++ b/front/src/views/home/components/CanAssignCase.vue @@ -5,7 +5,7 @@ class="caseBox" v-for="(item, index) in caseList" :key="index" - @click="toView('details', item)" + @click="toView(item)" > {}, }, - resourceTotal: { - type: String, - default: '0', - }, selectCardsname: { type: String, default: '组件服务', @@ -47,7 +43,7 @@ console.log(caseList.value, 'caseList.value') }) onBeforeUnmount(() => {}) - function toView(type, item) { + function toView(item) { router.push({ path: '/integrationServicesDetails', query: { diff --git a/front/src/views/home/integrationServices.vue b/front/src/views/home/integrationServices.vue index 0bc4bb03..c13d4d42 100644 --- a/front/src/views/home/integrationServices.vue +++ b/front/src/views/home/integrationServices.vue @@ -12,7 +12,9 @@ @click="changeCards(index)" :class="{ sel: index == number }" > - {{ item.name }} + + {{ item.name === '赋能场景' ? '典型赋能场景' : '打包模式' }} +
diff --git a/front/src/views/home/integrationServicesDetails.vue b/front/src/views/home/integrationServicesDetails.vue index 6fd62544..70b37fed 100644 --- a/front/src/views/home/integrationServicesDetails.vue +++ b/front/src/views/home/integrationServicesDetails.vue @@ -30,7 +30,8 @@
-
+
+
v.attrType === '使用步骤').attrValue ) || [] + bgImg.value = + fuseAttrList.find((v) => v.attrType === '服务图片').attrValue || '' let areaObj = { attrType: '应用领域', attrValue: '', @@ -537,8 +541,8 @@ .bg { height: 3rem; width: 3rem; - background: url('~@/assets/home/rhfw_square.png') no-repeat; - background-size: 100%; + // background: url('~@/assets/home/rhfw_square.png') no-repeat; + // background-size: 100%; margin-top: 0.3rem; } .cjtd {