diff --git a/front/src/assets/detailsAll/kfzj_sybg.png b/front/src/assets/detailsAll/kfzj_sybg.png new file mode 100644 index 00000000..da73cecb Binary files /dev/null and b/front/src/assets/detailsAll/kfzj_sybg.png differ diff --git a/front/src/views/detailsAll/DeveloperComponents.vue b/front/src/views/detailsAll/DeveloperComponents.vue new file mode 100644 index 00000000..57f35c2b --- /dev/null +++ b/front/src/views/detailsAll/DeveloperComponents.vue @@ -0,0 +1,161 @@ + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperApplicationCase.vue b/front/src/views/detailsAll/components/Developer/DeveloperApplicationCase.vue new file mode 100644 index 00000000..02ded303 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperApplicationCase.vue @@ -0,0 +1,307 @@ + + + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperApplicationScenarios.vue b/front/src/views/detailsAll/components/Developer/DeveloperApplicationScenarios.vue new file mode 100644 index 00000000..d53f8073 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperApplicationScenarios.vue @@ -0,0 +1,276 @@ + + + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperCommonProblem.vue b/front/src/views/detailsAll/components/Developer/DeveloperCommonProblem.vue new file mode 100644 index 00000000..967a2296 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperCommonProblem.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperFunctionIntorduction.vue b/front/src/views/detailsAll/components/Developer/DeveloperFunctionIntorduction.vue new file mode 100644 index 00000000..03d712d7 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperFunctionIntorduction.vue @@ -0,0 +1,253 @@ + + + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue new file mode 100644 index 00000000..05b817f9 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue @@ -0,0 +1,163 @@ + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue new file mode 100644 index 00000000..7f845960 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue @@ -0,0 +1,265 @@ + + + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperPresentation.vue b/front/src/views/detailsAll/components/Developer/DeveloperPresentation.vue new file mode 100644 index 00000000..0f8ecd52 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperPresentation.vue @@ -0,0 +1,116 @@ + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue b/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue new file mode 100644 index 00000000..8c2d1832 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue @@ -0,0 +1,199 @@ + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue new file mode 100644 index 00000000..35b4286d --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue @@ -0,0 +1,155 @@ + + + + diff --git a/front/src/views/home/details.vue b/front/src/views/home/details.vue index f273607c..3f3e2f06 100644 --- a/front/src/views/home/details.vue +++ b/front/src/views/home/details.vue @@ -16,6 +16,12 @@ + + @@ -28,6 +34,7 @@ import HomeFooter from '@/views/newHome/components/Footer' import AlgorithmDetails from '@/views/detailsAll/AlgorithmDetails' import ApplicationDetails from '@/views/detailsAll/ApplicationDetails' + import DeveloperComponents from '@/views/detailsAll/DeveloperComponents' import { selectOne } from '@/api/home' import { useRouter } from 'vue-router' export default defineComponent({ @@ -39,6 +46,7 @@ HomeFooter, AlgorithmDetails, ApplicationDetails, + DeveloperComponents, }, setup() { const formState = reactive({ @@ -78,12 +86,35 @@ const router = useRouter() const id = router.currentRoute.value.query.id const obj = JSON.parse(window.sessionStorage.getItem('preview')) - let showView = ref('algorithm-details') + let showView = ref('developer-components') const init = () => { if (id) { selectOne(id).then((res) => { if (res.data.data.type == '组件服务') { - showView.value = 'algorithm-details' + let detection = res.data.data.infoList.filter( + (item) => item.attrType === '组件类型' + )[0] + if (detection) { + res.data.data.infoList.map((item) => { + if (item.attrType == '组件类型') { + switch (item.attrValue) { + case '智能算法': + showView.value = 'algorithm-details' + break + case '开发组件': + showView.value = 'development-of-component' + break + case '业务组件': + showView.value = 'business-details' + break + default: + break + } + } + }) + } else { + showView.value = 'algorithm-details' + } } else { showView.value = 'application-details' }