优化小程序

dev_xd
lj7788@126.com 2025-08-06 11:36:47 +08:00
parent 9f80012423
commit 116389af2f
8 changed files with 257 additions and 246 deletions

View File

@ -118,5 +118,6 @@
}, },
"requiredPrivateInfos": [ "requiredPrivateInfos": [
"getLocation" "getLocation"
] ],
"lazyCodeLoading":"requiredComponents"
} }

View File

@ -14,7 +14,6 @@ page {
background: #191d28; background: #191d28;
color: #ffffff; color: #ffffff;
font-size: 30rpx; font-size: 30rpx;
height: 100vh;
} }
/* 自定义顶部样式 */ /* 自定义顶部样式 */

View File

@ -1,4 +1,4 @@
<!--components/bar-chart/index.wxml--> <!--components/bar-chart/index.wxml-->
<view class="chart_canvas" style="height:{{height+'rpx'}}"> <view class="chart_canvas" style="height:{{height+'rpx'}}">
<ec-canvas id="{{ chartId }}" ec="{{ ec }}" force-use-old-canvas="true"></ec-canvas> <ec-canvas id="{{ chartId }}" ec="{{ ec }}"></ec-canvas>
</view> </view>

View File

@ -1,7 +1,4 @@
/* newComponents/select-person/index.wxss */ /* newComponents/select-person/index.wxss */
page {
height: 100%
}
.rectifier_add_to { .rectifier_add_to {
width: 100rpx; width: 100rpx;

View File

@ -1,7 +1,5 @@
/* newComponents/select-person/index.wxss */ /* newComponents/select-person/index.wxss */
page {
height: 100%
}
.rectifier_add_to { .rectifier_add_to {
width: 100rpx; width: 100rpx;

View File

@ -1,8 +1,6 @@
/* newComponents/select-person/index.wxss */ /* newComponents/select-person/index.wxss */
page{
height:100% .rectifier_add_to {
}
.rectifier_add_to{
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
margin: auto; margin: auto;
@ -14,21 +12,24 @@ page{
font-weight: bold; font-weight: bold;
border-radius: 5rpx; border-radius: 5rpx;
} }
.rectifier_max{
.rectifier_max {
width: 100%; width: 100%;
background: #232a44; background: #232a44;
border-radius: 15rpx; border-radius: 15rpx;
position: relative; position: relative;
height: 100%; height: 100%;
} }
.rectifier_title{
.rectifier_title {
position: relative; position: relative;
background: #27304f; background: #27304f;
border-radius: 15rpx; border-radius: 15rpx;
text-align: center; text-align: center;
padding:20rpx 15rpx; padding: 20rpx 15rpx;
} }
.rectifier_close{
.rectifier_close {
position: absolute; position: absolute;
width: 50rpx; width: 50rpx;
height: 50rpx; height: 50rpx;
@ -37,14 +38,17 @@ page{
line-height: 60rpx; line-height: 60rpx;
text-align: center; text-align: center;
} }
.rectifier_list{
padding:20rpx 40rpx; .rectifier_list {
padding: 20rpx 40rpx;
} }
.rectifier_list_height{
.rectifier_list_height {
height: 990rpx; height: 990rpx;
overflow: auto; overflow: auto;
} }
.rectifier_list_for{
.rectifier_list_for {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 16rpx 15rpx; padding: 16rpx 15rpx;
@ -52,44 +56,53 @@ page{
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.rectifier_list_radio{
.rectifier_list_radio {
width: 70rpx; width: 70rpx;
} }
.rectifier_list_radio_circle{
.rectifier_list_radio_circle {
width: 30rpx; width: 30rpx;
height: 30rpx; height: 30rpx;
border-radius: 50%; border-radius: 50%;
border: 1px solid #6576a2; border: 1px solid #6576a2;
} }
.rectifier_list_radio_circle.active{
.rectifier_list_radio_circle.active {
background: #8262f3; background: #8262f3;
border: 1px solid #8262f3; border: 1px solid #8262f3;
} }
.rectifier_list_name{
.rectifier_list_name {
padding-left: 10rpx; padding-left: 10rpx;
color: #8499d0; color: #8499d0;
} }
.rectifier_list_name.active{
.rectifier_list_name.active {
color: #ffffff; color: #ffffff;
} }
.rectifier_btn{
.rectifier_btn {
display: flex; display: flex;
align-items: center; align-items: center;
background: #27304f; background: #27304f;
border-radius: 0 0 15rpx 15rpx; border-radius: 0 0 15rpx 15rpx;
} }
.rectifier_btn view{
.rectifier_btn view {
width: 50%; width: 50%;
text-align: center; text-align: center;
height: 80rpx; height: 80rpx;
line-height: 80rpx; line-height: 80rpx;
color:#6874a4; color: #6874a4;
} }
.rectifier_btn view:last-child{
.rectifier_btn view:last-child {
border-left: 1px solid #6874a4; border-left: 1px solid #6874a4;
color: #ffffff; color: #ffffff;
} }
.rectifier_list-group_for{
.rectifier_list-group_for {
height: 65rpx; height: 65rpx;
background-color: #9898987d; background-color: #9898987d;
line-height: 65rpx; line-height: 65rpx;
@ -99,7 +112,8 @@ page{
border-radius: 5px; border-radius: 5px;
font-weight: 500; font-weight: 500;
} }
.rectifier_list-group_for:not(:first-child){
.rectifier_list-group_for:not(:first-child) {
margin-top: 15px; margin-top: 15px;
} }

View File

@ -9,5 +9,6 @@
"ec-canvas": "../../ec-canvas/ec-canvas", "ec-canvas": "../../ec-canvas/ec-canvas",
"van-notice-bar": "@vant/weapp/notice-bar" "van-notice-bar": "@vant/weapp/notice-bar"
}, },
"navigationStyle":"custom" "navigationStyle":"custom",
"backgroundColor":"#191d28"
} }

View File

@ -3,5 +3,6 @@
"van-tabbar": "@vant/weapp/tabbar", "van-tabbar": "@vant/weapp/tabbar",
"van-tabbar-item": "@vant/weapp/tabbar-item" "van-tabbar-item": "@vant/weapp/tabbar-item"
}, },
"navigationStyle":"custom" "navigationStyle": "custom",
} "backgroundColor": "#191d28"
}