优化小程序

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": [
"getLocation"
]
],
"lazyCodeLoading":"requiredComponents"
}

View File

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

View File

@ -1,4 +1,4 @@
<!--components/bar-chart/index.wxml-->
<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 File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}
}

View File

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

View File

@ -1,7 +1,8 @@
{
"usingComponents": {
"van-tabbar": "@vant/weapp/tabbar",
"van-tabbar-item": "@vant/weapp/tabbar-item"
},
"navigationStyle":"custom"
}
"usingComponents": {
"van-tabbar": "@vant/weapp/tabbar",
"van-tabbar-item": "@vant/weapp/tabbar-item"
},
"navigationStyle": "custom",
"backgroundColor": "#191d28"
}