bug修复和体验优化

This commit is contained in:
liub
2025-09-16 15:05:41 +08:00
parent 1c61f32cc8
commit a407fb7f7a
2 changed files with 37 additions and 19 deletions

View File

@ -108,6 +108,13 @@ function initData(item) {
return;
}
deviceid = item.data.deviceId;
detailData.value=[];
lastData.value.code="";
lastData.value.name="";
lastData.value.unitName="";
lastData.value.position="";
request({
url: '/api/device/getDeviceUser/' + item.data.deviceId,
method: 'get'
@ -163,12 +170,12 @@ watch(
color: rgba(56, 64, 79, 1);
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: 400;
line-height: 18px;
letter-spacing: 0px;
text-align: left;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: 400;
line-height: 18px;
letter-spacing: 0px;
text-align: left;
}
.row .item .lable {
@ -211,19 +218,23 @@ text-align: left;
height: 21px;
letter-spacing: 0px;
text-align: left;
margin-left: -7px;
}
.list .itemRow{
.list .itemRow {
color: rgba(56, 64, 79, 1);
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: 400;
line-height: 18px;
letter-spacing: 0px;
text-align: left;
margin-bottom: 13px;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: 400;
line-height: 18px;
letter-spacing: 0px;
text-align: left;
margin-bottom: 13px;
}
.list .itemRow:last-child {
margin-bottom: 0px;
}
.itemChild.marginBottom {
margin-bottom: 12px;
@ -231,7 +242,7 @@ margin-bottom: 13px;
.list .childContent {
width: 100%;
height: auto;
border-left: 1px solid rgba(0, 198, 250, 0.2);
border-left: 2px solid rgba(0, 198, 250, 0.2);
box-sizing: border-box;
padding: 6px 20px;
}
@ -241,6 +252,8 @@ margin-bottom: 13px;
background: rgba(247, 248, 252, 1);
width: 100%;
height: auto;
box-sizing: border-box;
padding: 10px;
}
.fleft {