设备状态枚举更新

This commit is contained in:
白菜
2025-11-01 13:04:26 +08:00
parent 6149cba24e
commit e7bc43008f
3 changed files with 22 additions and 6 deletions

View File

@ -5,13 +5,13 @@
<uni-row>
<uni-col :span="10" :offset='1'>
<uni-section title="业态列表" titleFontSize="14px">
<uni-data-select :clear="false" :value="siteType" :localdata="siteTypeOptions"
<uni-data-select :clear="false" :value="siteType" wrap :localdata="siteTypeOptions"
@change="selectedSiteType"></uni-data-select>
</uni-section>
</uni-col>
<uni-col :span="10" :offset='2'>
<uni-section title="可选清单" titleFontSize="14px">
<uni-data-select ref="siteListSelect" :clear="false" :value="siteId"
<uni-data-select ref="siteListSelect" :clear="false" :value="siteId" wrap
:localdata="siteType ===1 ? siteList : []" @change="selectedSite"></uni-data-select>
</uni-section>
</uni-col>
@ -397,6 +397,19 @@
margin-top: 40rpx;
}
::v-deep {
.uni-select__input-box {
width: 100%;
}
.uni-select__selector-empty,
.uni-select__selector-item {
line-height: 18px;
padding-top: 5px;
padding-bottom: 5px;
}
}
.grid-item-box {
flex: 1;
/* #ifndef APP-NVUE */