From 904aecc6da218258a9de5e3a530295a7d21090ad Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 14 Jun 2022 14:49:38 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5BUG=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=EF=BC=8C=E5=BA=94=E7=94=A8=E8=B5=84=E6=BA=90=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E9=A1=B5=E5=BC=80=E5=8F=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/detailsAll/ApplicationDetails.vue | 61 ++-------
.../Algorithm/AlgorithmNavigation.vue | 10 +-
.../Application/ApplicationCommonProblem.vue | 123 ++++++++++++++++++
.../Application/ApplicationNavigation.vue | 36 ++---
4 files changed, 150 insertions(+), 80 deletions(-)
create mode 100644 front/src/views/detailsAll/components/Application/ApplicationCommonProblem.vue
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)
}
}