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 {