优化设备配置流程,重构用户增删改查及信息下发逻辑

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-03-11 11:04:29 +08:00
co-authored by Claude Opus 4.6
parent 05b388020b
commit f89f0f9531
10 changed files with 204 additions and 155 deletions
@@ -55,7 +55,8 @@
}
.only,
.input {
.input,
.inputUnit {
width: 100%;
height: 104rpx;
display: flex;
@@ -64,14 +65,16 @@
}
.only>view:nth-of-type(1),
.input>view:nth-of-type(1) {
.input>view:nth-of-type(1),
.inputUnit>view:nth-of-type(1) {
color: #333333;
height: 104rpx;
font-size: 32rpx;
line-height: 104rpx;
}
.only>view:nth-of-type(2) {
.only>view:nth-of-type(2),
.inputUnit>view:nth-of-type(2) {
flex: 1;
width: 0;
height: 104rpx;
@@ -84,7 +87,8 @@
border: 1rpx solid #E6E6EA;
}
.only>view:nth-of-type(2)>view:nth-of-type(1) {
.only>view:nth-of-type(2)>view:nth-of-type(1),
.inputUnit>view:nth-of-type(2)>view:nth-of-type(1) {
flex: 1;
width: 0;
color: #252535;
@@ -94,7 +98,8 @@
line-height: 100rpx;
}
.only>view:nth-of-type(2)>view:nth-of-type(2) {
.only>view:nth-of-type(2)>view:nth-of-type(2),
.inputUnit>view:nth-of-type(2)>view:nth-of-type(2) {
color: #77849E;
height: 28rpx;
font-size: 28rpx;
@@ -110,7 +115,8 @@
border: 1rpx solid #E6E6EA;
}
.input>view:nth-of-type(2) input {
.input>view:nth-of-type(2) input,
.inputUnit>view:nth-of-type(2)>view:nth-of-type(1) input {
width: 100%;
height: 100%;
color: #252535;
@@ -118,6 +124,10 @@
font-weight: 500;
}
.inputUnit>view:nth-of-type(2) {
}
.searchBtn {
color: #FFFFFF;
width: 120rpx;