From 116389af2ff165e31ed1e7938ab61d97a9ede3fe Mon Sep 17 00:00:00 2001 From: "lj7788@126.com" Date: Wed, 6 Aug 2025 11:36:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-ui-app/miniprogram/app.json | 3 +- yanzhu-ui-app/miniprogram/app.wxss | 1 - .../components/safety-bar-chart/index.wxml | 2 +- .../components/select-group-person/index.wxss | 147 +++++++------ .../select-group-position/index.wxss | 138 ++++++------ .../components/select-roles/index.wxss | 196 ++++++++++-------- .../pageage/project_info/index.json | 3 +- .../pageage/project_more/index.json | 13 +- 8 files changed, 257 insertions(+), 246 deletions(-) diff --git a/yanzhu-ui-app/miniprogram/app.json b/yanzhu-ui-app/miniprogram/app.json index c153daff..e73e5993 100644 --- a/yanzhu-ui-app/miniprogram/app.json +++ b/yanzhu-ui-app/miniprogram/app.json @@ -118,5 +118,6 @@ }, "requiredPrivateInfos": [ "getLocation" - ] + ], + "lazyCodeLoading":"requiredComponents" } \ No newline at end of file diff --git a/yanzhu-ui-app/miniprogram/app.wxss b/yanzhu-ui-app/miniprogram/app.wxss index 825addee..ad8f1f40 100644 --- a/yanzhu-ui-app/miniprogram/app.wxss +++ b/yanzhu-ui-app/miniprogram/app.wxss @@ -14,7 +14,6 @@ page { background: #191d28; color: #ffffff; font-size: 30rpx; - height: 100vh; } /* 自定义顶部样式 */ diff --git a/yanzhu-ui-app/miniprogram/components/safety-bar-chart/index.wxml b/yanzhu-ui-app/miniprogram/components/safety-bar-chart/index.wxml index 0b02ab36..60009e2a 100644 --- a/yanzhu-ui-app/miniprogram/components/safety-bar-chart/index.wxml +++ b/yanzhu-ui-app/miniprogram/components/safety-bar-chart/index.wxml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/yanzhu-ui-app/miniprogram/components/select-group-person/index.wxss b/yanzhu-ui-app/miniprogram/components/select-group-person/index.wxss index 45e797ca..297ed2b1 100644 --- a/yanzhu-ui-app/miniprogram/components/select-group-person/index.wxss +++ b/yanzhu-ui-app/miniprogram/components/select-group-person/index.wxss @@ -1,133 +1,130 @@ /* newComponents/select-person/index.wxss */ -page { - height: 100% -} .rectifier_add_to { - width: 100rpx; - height: 100rpx; - margin: auto; - background: #252d41; - text-align: center; - line-height: 110rpx; - font-size: 50rpx; - color: #57668f; - font-weight: bold; - border-radius: 5rpx; + width: 100rpx; + height: 100rpx; + margin: auto; + background: #252d41; + text-align: center; + line-height: 110rpx; + font-size: 50rpx; + color: #57668f; + font-weight: bold; + border-radius: 5rpx; } .rectifier_max { - width: 100%; - background: #232a44; - border-radius: 15rpx; - position: relative; - height: 100%; + width: 100%; + background: #232a44; + border-radius: 15rpx; + position: relative; + height: 100%; } .rectifier_title { - position: relative; - background: #27304f; - border-radius: 15rpx; - text-align: center; - padding: 20rpx 15rpx; + position: relative; + background: #27304f; + border-radius: 15rpx; + text-align: center; + padding: 20rpx 15rpx; } .rectifier_close { - position: absolute; - width: 50rpx; - height: 50rpx; - right: 20rpx; - top: 12rpx; - line-height: 60rpx; - text-align: center; + position: absolute; + width: 50rpx; + height: 50rpx; + right: 20rpx; + top: 12rpx; + line-height: 60rpx; + text-align: center; } .rectifier_list { - padding: 20rpx 40rpx; + padding: 20rpx 40rpx; } .rectifier_list_height { - height: 990rpx; - overflow: auto; + height: 990rpx; + overflow: auto; } .rectifier_list_for { - display: flex; - align-items: center; - padding: 16rpx 15rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + display: flex; + align-items: center; + padding: 16rpx 15rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .rectifier_list_radio { - width: 70rpx; + width: 70rpx; } .rectifier_list_radio_circle { - width: 30rpx; - height: 30rpx; - border-radius: 50%; - border: 1px solid #6576a2; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 1px solid #6576a2; } .rectifier_list_radio_circle.active { - background: #8262f3; - border: 1px solid #8262f3; + background: #8262f3; + border: 1px solid #8262f3; } .rectifier_list_name { - padding-left: 10rpx; - color: #8499d0; + padding-left: 10rpx; + color: #8499d0; } .rectifier_list_name.active { - color: #ffffff; + color: #ffffff; } .rectifier_btn { - display: flex; - align-items: center; - background: #27304f; - border-radius: 0 0 15rpx 15rpx; + display: flex; + align-items: center; + background: #27304f; + border-radius: 0 0 15rpx 15rpx; } .rectifier_btn view { - width: 50%; - text-align: center; - height: 80rpx; - line-height: 80rpx; - color: #6874a4; + width: 50%; + text-align: center; + height: 80rpx; + line-height: 80rpx; + color: #6874a4; } .rectifier_btn view:last-child { - border-left: 1px solid #6874a4; - color: #ffffff; + border-left: 1px solid #6874a4; + color: #ffffff; } .rectifier_list-group_for { - height: 65rpx; - background-color: #9898987d; - line-height: 65rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - border-radius: 5px; - font-weight: 500; + height: 65rpx; + background-color: #9898987d; + line-height: 65rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + border-radius: 5px; + font-weight: 500; } .rectifier_list-group_for:not(:first-child) { - margin-top: 15px; + margin-top: 15px; } .inspect_input_fill_in { - height: 90rpx; - background: #212737; - border-radius: 10rpx; - padding: 0 30rpx; + height: 90rpx; + background: #212737; + border-radius: 10rpx; + padding: 0 30rpx; } .modify_eharts_title_1 { - padding-left: 45rpx; - background: url("http://fileimg.makalu.cc/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/40rpx; + padding-left: 45rpx; + background: url("http://fileimg.makalu.cc/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/40rpx; } \ No newline at end of file diff --git a/yanzhu-ui-app/miniprogram/components/select-group-position/index.wxss b/yanzhu-ui-app/miniprogram/components/select-group-position/index.wxss index 78ea1509..7b000863 100644 --- a/yanzhu-ui-app/miniprogram/components/select-group-position/index.wxss +++ b/yanzhu-ui-app/miniprogram/components/select-group-position/index.wxss @@ -1,122 +1,120 @@ /* newComponents/select-person/index.wxss */ -page { - height: 100% -} + .rectifier_add_to { - width: 100rpx; - height: 100rpx; - margin: auto; - background: #252d41; - text-align: center; - line-height: 110rpx; - font-size: 50rpx; - color: #57668f; - font-weight: bold; - border-radius: 5rpx; + width: 100rpx; + height: 100rpx; + margin: auto; + background: #252d41; + text-align: center; + line-height: 110rpx; + font-size: 50rpx; + color: #57668f; + font-weight: bold; + border-radius: 5rpx; } .rectifier_max { - width: 100%; - background: #232a44; - border-radius: 15rpx; - position: relative; - height: 100%; + width: 100%; + background: #232a44; + border-radius: 15rpx; + position: relative; + height: 100%; } .rectifier_title { - position: relative; - background: #27304f; - border-radius: 15rpx; - text-align: center; - padding: 20rpx 15rpx; + position: relative; + background: #27304f; + border-radius: 15rpx; + text-align: center; + padding: 20rpx 15rpx; } .rectifier_close { - position: absolute; - width: 50rpx; - height: 50rpx; - right: 20rpx; - top: 12rpx; - line-height: 60rpx; - text-align: center; + position: absolute; + width: 50rpx; + height: 50rpx; + right: 20rpx; + top: 12rpx; + line-height: 60rpx; + text-align: center; } .rectifier_list { - padding: 20rpx 40rpx; + padding: 20rpx 40rpx; } .rectifier_list_height { - height: 990rpx; - overflow: auto; + height: 990rpx; + overflow: auto; } .rectifier_list_for { - display: flex; - align-items: center; - padding: 18rpx 15rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + display: flex; + align-items: center; + padding: 18rpx 15rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .rectifier_list_radio { - width: 70rpx; + width: 70rpx; } .rectifier_list_radio_circle { - width: 30rpx; - height: 30rpx; - border-radius: 50%; - border: 1px solid #6576a2; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 1px solid #6576a2; } .rectifier_list_radio_circle.active { - background: #8262f3; - border: 1px solid #8262f3; + background: #8262f3; + border: 1px solid #8262f3; } .rectifier_list_name { - padding-left: 10rpx; - color: #6576a2; + padding-left: 10rpx; + color: #6576a2; } .rectifier_list_name.active { - color: #ffffff; + color: #ffffff; } .rectifier_btn { - display: flex; - align-items: center; - background: #27304f; - border-radius: 0 0 15rpx 15rpx; + display: flex; + align-items: center; + background: #27304f; + border-radius: 0 0 15rpx 15rpx; } .rectifier_btn view { - width: 50%; - text-align: center; - height: 80rpx; - line-height: 80rpx; - color: #6874a4; + width: 50%; + text-align: center; + height: 80rpx; + line-height: 80rpx; + color: #6874a4; } .rectifier_btn view:last-child { - border-left: 1px solid #6874a4; - color: #ffffff; + border-left: 1px solid #6874a4; + color: #ffffff; } .rectifier_list-group_for { - height: 65rpx; - background-color: #879ff97d; - line-height: 65rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + height: 65rpx; + background-color: #879ff97d; + line-height: 65rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .inspect_input_fill_in { - height: 90rpx; - background: #212737; - border-radius: 10rpx; - padding: 0 30rpx; + height: 90rpx; + background: #212737; + border-radius: 10rpx; + padding: 0 30rpx; } \ No newline at end of file diff --git a/yanzhu-ui-app/miniprogram/components/select-roles/index.wxss b/yanzhu-ui-app/miniprogram/components/select-roles/index.wxss index 5266111f..297ed2b1 100644 --- a/yanzhu-ui-app/miniprogram/components/select-roles/index.wxss +++ b/yanzhu-ui-app/miniprogram/components/select-roles/index.wxss @@ -1,116 +1,130 @@ /* newComponents/select-person/index.wxss */ -page{ - height:100% + +.rectifier_add_to { + width: 100rpx; + height: 100rpx; + margin: auto; + background: #252d41; + text-align: center; + line-height: 110rpx; + font-size: 50rpx; + color: #57668f; + font-weight: bold; + border-radius: 5rpx; } -.rectifier_add_to{ - width: 100rpx; - height: 100rpx; - margin: auto; - background: #252d41; - text-align: center; - line-height: 110rpx; - font-size: 50rpx; - color: #57668f; - font-weight: bold; - border-radius: 5rpx; + +.rectifier_max { + width: 100%; + background: #232a44; + border-radius: 15rpx; + position: relative; + height: 100%; } -.rectifier_max{ - width: 100%; - background: #232a44; - border-radius: 15rpx; - position: relative; - height: 100%; + +.rectifier_title { + position: relative; + background: #27304f; + border-radius: 15rpx; + text-align: center; + padding: 20rpx 15rpx; } -.rectifier_title{ - position: relative; - background: #27304f; - border-radius: 15rpx; - text-align: center; - padding:20rpx 15rpx; + +.rectifier_close { + position: absolute; + width: 50rpx; + height: 50rpx; + right: 20rpx; + top: 12rpx; + line-height: 60rpx; + text-align: center; } -.rectifier_close{ - position: absolute; - width: 50rpx; - height: 50rpx; - right: 20rpx; - top: 12rpx; - line-height: 60rpx; - text-align: center; + +.rectifier_list { + padding: 20rpx 40rpx; } -.rectifier_list{ - padding:20rpx 40rpx; + +.rectifier_list_height { + height: 990rpx; + overflow: auto; } -.rectifier_list_height{ - height: 990rpx; - overflow: auto; + +.rectifier_list_for { + display: flex; + align-items: center; + padding: 16rpx 15rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } -.rectifier_list_for{ - display: flex; - align-items: center; - padding: 16rpx 15rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + +.rectifier_list_radio { + width: 70rpx; } -.rectifier_list_radio{ - width: 70rpx; + +.rectifier_list_radio_circle { + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 1px solid #6576a2; } -.rectifier_list_radio_circle{ - width: 30rpx; - height: 30rpx; - border-radius: 50%; - border: 1px solid #6576a2; + +.rectifier_list_radio_circle.active { + background: #8262f3; + border: 1px solid #8262f3; } -.rectifier_list_radio_circle.active{ - background: #8262f3; - border: 1px solid #8262f3; + +.rectifier_list_name { + padding-left: 10rpx; + color: #8499d0; } -.rectifier_list_name{ - padding-left: 10rpx; - color: #8499d0; + +.rectifier_list_name.active { + color: #ffffff; } -.rectifier_list_name.active{ - color: #ffffff; + +.rectifier_btn { + display: flex; + align-items: center; + background: #27304f; + border-radius: 0 0 15rpx 15rpx; } -.rectifier_btn{ - display: flex; - align-items: center; - background: #27304f; - border-radius: 0 0 15rpx 15rpx; + +.rectifier_btn view { + width: 50%; + text-align: center; + height: 80rpx; + line-height: 80rpx; + color: #6874a4; } -.rectifier_btn view{ - width: 50%; - text-align: center; - height: 80rpx; - line-height: 80rpx; - color:#6874a4; + +.rectifier_btn view:last-child { + border-left: 1px solid #6874a4; + color: #ffffff; } -.rectifier_btn view:last-child{ - border-left: 1px solid #6874a4; - color: #ffffff; + +.rectifier_list-group_for { + height: 65rpx; + background-color: #9898987d; + line-height: 65rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + border-radius: 5px; + font-weight: 500; } -.rectifier_list-group_for{ - height: 65rpx; - background-color: #9898987d; - line-height: 65rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - border-radius: 5px; - font-weight: 500; -} -.rectifier_list-group_for:not(:first-child){ - margin-top: 15px; + +.rectifier_list-group_for:not(:first-child) { + margin-top: 15px; } .inspect_input_fill_in { - height: 90rpx; - background: #212737; - border-radius: 10rpx; - padding: 0 30rpx; + height: 90rpx; + background: #212737; + border-radius: 10rpx; + padding: 0 30rpx; } .modify_eharts_title_1 { padding-left: 45rpx; background: url("http://fileimg.makalu.cc/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/40rpx; -} +} \ No newline at end of file diff --git a/yanzhu-ui-app/miniprogram/pageage/project_info/index.json b/yanzhu-ui-app/miniprogram/pageage/project_info/index.json index 34a987bf..14fe2b16 100644 --- a/yanzhu-ui-app/miniprogram/pageage/project_info/index.json +++ b/yanzhu-ui-app/miniprogram/pageage/project_info/index.json @@ -9,5 +9,6 @@ "ec-canvas": "../../ec-canvas/ec-canvas", "van-notice-bar": "@vant/weapp/notice-bar" }, - "navigationStyle":"custom" + "navigationStyle":"custom", + "backgroundColor":"#191d28" } \ No newline at end of file diff --git a/yanzhu-ui-app/miniprogram/pageage/project_more/index.json b/yanzhu-ui-app/miniprogram/pageage/project_more/index.json index 45980386..605bf0b1 100644 --- a/yanzhu-ui-app/miniprogram/pageage/project_more/index.json +++ b/yanzhu-ui-app/miniprogram/pageage/project_more/index.json @@ -1,7 +1,8 @@ { - "usingComponents": { - "van-tabbar": "@vant/weapp/tabbar", - "van-tabbar-item": "@vant/weapp/tabbar-item" - }, - "navigationStyle":"custom" - } \ No newline at end of file + "usingComponents": { + "van-tabbar": "@vant/weapp/tabbar", + "van-tabbar-item": "@vant/weapp/tabbar-item" + }, + "navigationStyle": "custom", + "backgroundColor": "#191d28" +} \ No newline at end of file