邓洁 : 修改下拉框样式

This commit is contained in:
邓洁
2023-12-16 15:20:49 +08:00
parent ae7d15d22b
commit e8ac21d5be
2 changed files with 51 additions and 5 deletions

View File

@@ -14,6 +14,10 @@
<p>传感器类型</p>
<el-select
v-model="equipmentSetting.equipmentType"
:fit-input-width="true"
filterable
clearable
popper-class="dialog-dropdown"
placeholder="请选择设备类型"
>
<el-option
@@ -28,6 +32,10 @@
<p>设备选择</p>
<el-select
v-model="equipmentSetting.chooseEquipment"
:fit-input-width="true"
filterable
clearable
popper-class="dialog-dropdown"
placeholder="请选择设备类型"
>
<el-option
@@ -230,12 +238,12 @@ const equipment = {
}
}
:deep(.el-select) {
width: 284px;
//width: 284px;
//height: 51px;
border: transparent;
}
:deep(.el-input--suffix) {
width: 284px;
//width: 284px;
height: 51px;
background: rgba(7, 35, 72, 0.79);
border: 2px solid #0f82af;
@@ -294,7 +302,4 @@ const equipment = {
}
}
}
:deep(.el-select-dropdown__wrap) {
background: greenyellow !important;
}
</style>