From 09b40f5f1e76a83b5697aed0e36b3091757d388d Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Fri, 9 May 2025 15:48:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B7=20UI(=E5=86=85=E5=AE=B9):=20?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E6=95=B4=E4=BD=93ui=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8C=E6=94=B9=E6=88=90=E7=81=B0=E8=89=B2=E8=83=8C=E6=99=AF?= =?UTF-8?q?=EF=BC=8C=E5=8D=A1=E7=89=87=E5=BC=8F=E5=B8=83=E5=B1=80=20-=20?= =?UTF-8?q?=E7=BB=99=E5=A1=91=E5=A3=B3=E6=96=AD=E8=B7=AF=E5=99=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=91=8A=E8=AD=A6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/assets/styles/index.scss | 34 + src/layout/components/AppMain.vue | 2 +- src/views/apiSecret/index.vue | 95 +- src/views/document/index.vue | 4 +- src/views/iot/alarm/record/index.vue | 4 + src/views/iot/alarm/type/index.vue | 90 +- src/views/iot/alarm/waringRecord/index.vue | 4 + src/views/iot/batch/index.vue | 93 +- src/views/iot/device/index.vue | 7 +- src/views/iot/device/profile/info.vue | 7 +- src/views/iot/library/index.vue | 5 +- src/views/iot/model/index.vue | 5 +- src/views/iot/modelScries/index.vue | 6 +- src/views/iot/ota/index.vue | 95 +- src/views/iot/project/index.vue | 6 +- src/views/iot/project/profileV2/details.vue | 237 +- src/views/iot/statistics/chain/index.vue | 29 +- src/views/iot/statistics/compared/index.vue | 36 +- src/views/iot/statistics/energy/index.vue | 46 +- src/views/iot/vendor/index.vue | 76 +- src/views/iot/video/camera/index.vue | 129 +- src/views/iot/video/gbsScreen/index.vue | 62 +- src/views/iot/video/site/index.vue | 111 +- src/views/power/examine/index.vue | 85 +- src/views/power/maintenance/index.vue | 5 +- src/views/power/mywork/index.vue | 129 +- src/views/profile/Contract/index.vue | 87 +- src/views/profile/DeviceDetailsView/index.vue | 3 +- src/views/profile/DeviceDetailsView/info.vue | 7 +- src/views/system/attribute/index.vue | 5 +- src/views/system/config/index.vue | 112 +- src/views/system/dept/index.vue | 62 +- src/views/system/dict/index.vue | 95 +- src/views/system/menu/index.vue | 74 +- src/views/system/notice/index.vue | 65 +- src/views/system/oneself/index.vue | 71 +- src/views/system/post/index.vue | 71 +- src/views/system/regionalism/index.vue | 44 +- src/views/system/role/index.vue | 120 +- src/views/system/tenant/index.vue | 6 +- src/views/system/tenant/registered/index.vue | 54 +- src/views/system/uplog/index.vue | 52 +- src/views/system/user/index.vue | 193 +- src/views/tenant/alarm/record.vue | 6 +- src/views/tenant/alarm/warning.vue | 6 +- src/views/tenant/device/index.vue | 4 + src/views/tenant/project/index.vue | 30 +- src/views/tool/build/index.vue | 41 +- src/views/tool/gen/index.vue | 139 +- yarn.lock | 15653 ++++++++-------- 51 files changed, 9096 insertions(+), 9308 deletions(-) diff --git a/package.json b/package.json index 7f9a3c09..0605af82 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "crypto-js": "^4.1.1", "debounce": "^1.2.1", "echarts": "^5.3.3", - "element-ui": "2.14.1", + "element-ui": "2.15.14", "file-saver": "2.0.4", "fuse.js": "6.4.3", "highlight.js": "9.18.5", diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 44706b63..529090b4 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -134,6 +134,40 @@ aside { .pagination-container { margin-top: 30px; } +//卡片式布局 +.main-search-card{ + padding: 20px; + padding-bottom: 0; + background-color: #fff; + margin-bottom: 20px; + border-radius: 8px; + border: 1px solid #e6ebf5; +} + +.main-content-card{ + min-height: 100%; + width: 100%; + padding: 20px; + background-color: #fff; + border-radius: 8px; + border: 1px solid #e6ebf5; +} +//项目卡片 +.main-project-card{ + padding: 20px !important; + background-color: #fff; + margin-bottom: 20px; + border-radius: 8px; + border: 1px solid #e6ebf5; +} +//设备详情卡片 +.main-device-card{ + padding: 20px !important; + background-color: #fff; + border-radius: 8px; + border: 1px solid #e6ebf5; +} + .text-center { text-align: center diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index a5eb548b..86316907 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -31,7 +31,7 @@ export default { overflow: auto; height: calc(100vh - 84px); min-height: calc(100vh - 84px); - //background: #F0F2F5; + background: #F0F2F5; } .fixed-header + .app-main { diff --git a/src/views/apiSecret/index.vue b/src/views/apiSecret/index.vue index 568c3644..9ecc42cc 100644 --- a/src/views/apiSecret/index.vue +++ b/src/views/apiSecret/index.vue @@ -1,17 +1,18 @@