From 329fa4906238d52f637b9efbb59a48eb2257125c Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Wed, 30 Nov 2022 17:04:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AtlasResources.vue | 2 +- front/src/views/demandCenter/index.vue | 171 ++++++++++++------ .../components/AbilityApplication.vue | 5 + 3 files changed, 119 insertions(+), 59 deletions(-) diff --git a/front/src/views/abilityStatistics/components/AtlasResources.vue b/front/src/views/abilityStatistics/components/AtlasResources.vue index 9992ac31..811dcf42 100644 --- a/front/src/views/abilityStatistics/components/AtlasResources.vue +++ b/front/src/views/abilityStatistics/components/AtlasResources.vue @@ -687,7 +687,7 @@ } } } - .item:nth-child(2n) { + .item:nth-(2n) { margin-left: 0.4rem; } } diff --git a/front/src/views/demandCenter/index.vue b/front/src/views/demandCenter/index.vue index 6553066d..9e7c7910 100644 --- a/front/src/views/demandCenter/index.vue +++ b/front/src/views/demandCenter/index.vue @@ -4,7 +4,11 @@
- + {{ item.title }} @@ -14,31 +18,45 @@
- + - + @@ -72,10 +90,8 @@ const whoShow1 = ref(whoShow) const selectedKeys = ref(['0']) - - const menuList = [ -{ + { key: '0', title: '全部需求', num: '0', @@ -124,7 +140,7 @@ const handleClick = (item) => { detailsType.value = '应用资源' } else if (item.key === '5') { detailsType.value = '知识库' - }else{ + } else { detailsType.value = '' } pageNum.value = 1 @@ -151,7 +167,6 @@ const getApplyList = () => { } const showDetail = (item) => { - router.push({ path: '/demandDetails', query: { @@ -176,7 +191,6 @@ onMounted(() => { list.value = res.data.data.list total.value = res.data.data.total }) - })