From 7f4bfc710f752e63bd0bcb4acac497ca5232a09a Mon Sep 17 00:00:00 2001 From: wangyilin <1454641981@qq.com> Date: Mon, 23 Sep 2024 17:17:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/projectManager/index/index.scss | 28 +++++++++ .../src/pages/projectManager/index/index.vue | 58 +++++++++++++------ collect_information/types/global.d.ts | 7 +++ 3 files changed, 76 insertions(+), 17 deletions(-) diff --git a/collect_information/src/pages/projectManager/index/index.scss b/collect_information/src/pages/projectManager/index/index.scss index c8b0249..6ff8ef3 100644 --- a/collect_information/src/pages/projectManager/index/index.scss +++ b/collect_information/src/pages/projectManager/index/index.scss @@ -4,6 +4,7 @@ display: flex; padding: 20px 0 0 50px; overflow: hidden; + height: 70rpx; .swiperDemoIndex{ width: 15px; height: 45px; @@ -13,4 +14,31 @@ margin-right: 15px; } } +.subModule { + display: flex; + align-items: center; + flex-wrap: wrap; + margin-right: -3px; + margin-left: -1px; + .subModuleItem { + width: 33%; + height: 180rpx; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding-bottom: 10rpx; + border: 1px solid #ccc; + border-left: 0; + margin-top: -1px; + .subModuleIndex { + width: 65rpx; + height: 65rpx; + image { + width: 100%; + height: 100%; + } + } + } +} diff --git a/collect_information/src/pages/projectManager/index/index.vue b/collect_information/src/pages/projectManager/index/index.vue index 43cb8bc..0c9a9a0 100644 --- a/collect_information/src/pages/projectManager/index/index.vue +++ b/collect_information/src/pages/projectManager/index/index.vue @@ -3,41 +3,65 @@ - - + - 请选择 - - - - - - - - - + + + + + + + + {{item.name}} + + diff --git a/collect_information/types/global.d.ts b/collect_information/types/global.d.ts index 8a62d44..9a263b5 100644 --- a/collect_information/types/global.d.ts +++ b/collect_information/types/global.d.ts @@ -76,3 +76,10 @@ interface BaseEnum> { label: string; extData: E; } + + + interface IconFontProps { + fontClass?: string, + size?: number, + type?: 'class' | 'svg' +}