From 4b94332ae6255c906493d4a7f0583f3dd95f220d Mon Sep 17 00:00:00 2001 From: wangyilin <1454641981@qq.com> Date: Thu, 7 Nov 2024 15:02:27 +0800 Subject: [PATCH] =?UTF-8?q?police=20=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/police/index/index.scss | 78 ++++++++++------ .../src/pages/police/index/index.scss.bak | 47 ++++++++++ .../src/pages/police/index/index.vue | 88 ++++++++++++++++--- .../src/pages/police/index/index.vue.bak | 57 ++++++++++++ .../types/pages/police/index.ts | 13 +++ 5 files changed, 245 insertions(+), 38 deletions(-) create mode 100644 collect_information/src/pages/police/index/index.scss.bak create mode 100644 collect_information/src/pages/police/index/index.vue.bak create mode 100644 collect_information/types/pages/police/index.ts diff --git a/collect_information/src/pages/police/index/index.scss b/collect_information/src/pages/police/index/index.scss index 650fcb5..5308805 100644 --- a/collect_information/src/pages/police/index/index.scss +++ b/collect_information/src/pages/police/index/index.scss @@ -1,47 +1,73 @@ +.nameTitle { + position: absolute; + top: 277rpx; + left: 55px; + height: 125rpx; + background-color: #fff; + width: 650rpx; + border-radius: 12rpx; + box-shadow: 0px 10px 10px -4px #e3e3e3; + display: flex; + justify-content: space-between; + align-items: center; + + .itemSchool { + border-right: solid 1.5rpx #dadada; + display: flex; + flex-direction: column; + align-items: center; + width: 25%; + font-size: 24px + } + + .itemSchool text:nth-child(1) { + margin-bottom: 10rpx; + color: #898a8a; + margin-left: -8px; + } +} .swiperDemoItem { color: #3886d0; display: flex; padding: 20px 0 0 50px; overflow: hidden; height: 70rpx; + margin-top: 70px; .swiperDemoIndex { width: 15px; height: 45px; background-image: linear-gradient(to bottom, #5d9cf9, #317ad9); - //background: rgb(); border-radius: 20px; margin-right: 15px; } } - -.subModule { - display: flex; - align-items: center; - flex-wrap: wrap; - margin-right: -3px; - margin-left: -1px; - - .subModuleItem { - width: 33%; - height: 180rpx; +.Module { + background-color: #fff; + overflow: hidden; + .subModule { 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%; + flex-wrap: wrap; + .subModuleItem { + width: 246rpx; + height: 140rpx; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding-bottom: 10rpx; + .subModuleIndex { + width: 45rpx; + height: 45rpx; + image { + width: 100%; + height: 100%; + } } } } + } + + diff --git a/collect_information/src/pages/police/index/index.scss.bak b/collect_information/src/pages/police/index/index.scss.bak new file mode 100644 index 0000000..650fcb5 --- /dev/null +++ b/collect_information/src/pages/police/index/index.scss.bak @@ -0,0 +1,47 @@ +.swiperDemoItem { + color: #3886d0; + display: flex; + padding: 20px 0 0 50px; + overflow: hidden; + height: 70rpx; + + .swiperDemoIndex { + width: 15px; + height: 45px; + background-image: linear-gradient(to bottom, #5d9cf9, #317ad9); + //background: rgb(); + border-radius: 20px; + 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/police/index/index.vue b/collect_information/src/pages/police/index/index.vue index 9c1ef37..5c706b6 100644 --- a/collect_information/src/pages/police/index/index.vue +++ b/collect_information/src/pages/police/index/index.vue @@ -2,56 +2,120 @@ - + + 1123 + + + 单位数量 + {{numberStatistics.enterprisesUnitCount}} + + + 服务项目 + + {{numberStatistics.serviceProjectCount}} + + + + 有保安证人员 + {{numberStatistics.securityUserCount}} + + + 无保安证人员 + {{numberStatistics.noCardSecurityUserCount}} + + 请选择 - - - + + + - {{ item.name }} + {{item.name}} + + diff --git a/collect_information/src/pages/police/index/index.vue.bak b/collect_information/src/pages/police/index/index.vue.bak new file mode 100644 index 0000000..9c1ef37 --- /dev/null +++ b/collect_information/src/pages/police/index/index.vue.bak @@ -0,0 +1,57 @@ + + diff --git a/collect_information/types/pages/police/index.ts b/collect_information/types/pages/police/index.ts new file mode 100644 index 0000000..802c4de --- /dev/null +++ b/collect_information/types/pages/police/index.ts @@ -0,0 +1,13 @@ +export interface DataStatisticsRes { + /*企事业单位数量 */ + enterprisesUnitCount: number; + + /*服务项目数量 */ + serviceProjectCount: number; + + /*保安人员数量 */ + securityUserCount: number; + + /*无证保安人员数量 */ + noCardSecurityUserCount: number; +}