diff --git a/front/src/views/detailsAll/ApplicationDetails.vue b/front/src/views/detailsAll/ApplicationDetails.vue
index a9bcfe8f..9f2ec87e 100644
--- a/front/src/views/detailsAll/ApplicationDetails.vue
+++ b/front/src/views/detailsAll/ApplicationDetails.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-08 11:32:22
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-06-14 10:41:48
+ * @LastEditTime: 2022-06-14 14:47:39
* @Description: 应用详情页
-->
@@ -23,75 +23,36 @@
id="application-presentation"
class="scrollBox"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
+ >
+
+
diff --git a/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue b/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue
index b4846a29..3eb3483e 100644
--- a/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue
+++ b/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-08 14:54:01
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-06-14 11:31:07
+ * @LastEditTime: 2022-06-14 14:45:44
* @Description: 应用详情页导航
-->
@@ -64,19 +64,12 @@
props.dataList.infoList.map((item) => {
if (
item.attrType === '算法优势' ||
- item.attrType === '应用场景' ||
- item.attrType === '应用案例' ||
- item.attrType === '常见问题'
+ item.attrType === '常见问题' ||
+ item.attrType === '使用能力'
) {
list.value.push(item.attrType)
} else if (item.attrType === '算法介绍视频') {
list.value.push('算法展示')
- } else if (item.attrType === '试用地址') {
- list.value.push('算法试用')
- } else if (item.attrType === '计费标准信息') {
- list.value.push('计费标准')
- } else if (item.attrType === '技术文档') {
- list.value.push('使用方式')
}
})
navList.value.forEach((item) => {
@@ -103,31 +96,28 @@
list.value = []
val.infoList.map((item) => {
if (
- item.attrType === '算法优势' ||
- item.attrType === '应用场景' ||
- item.attrType === '应用案例' ||
- item.attrType === '常见问题'
+ item.attrType === '功能介绍' ||
+ item.attrType === '常见问题' ||
+ item.attrType === '使用能力'
) {
list.value.push(item.attrType)
} else if (item.attrType === '应用展示视频') {
list.value.push('应用展示')
- } else if (item.attrType === '试用地址') {
- list.value.push('算法试用')
- } else if (item.attrType === '计费标准信息') {
- list.value.push('计费标准')
- } else if (item.attrType === '技术文档') {
- list.value.push('使用方式')
}
})
+ list.value.push('部署与安全')
+ list.value.push('归属部门与服务商')
navList.value.forEach((item) => {
console.log(item)
if (list.value.indexOf(item.name) > -1) {
item.show = true
}
})
- select.value = navList.value.filter(
- (item) => item.name === list.value[0]
- )[0].key
+ if (list.value.length > 0) {
+ select.value = navList.value.filter(
+ (item) => item.name === list.value[0]
+ )[0].key
+ }
console.log('11111111111111111111111111', list.value, navList.value)
}
}