由于
这样的下拉框必须加载from模块,所以改了一下layUI的另外一种下拉
.L-select-item{
width: 100px;
position: relative;
}
.Lselect{
display: flex;
justify-content: space-between;
align-items: center;
width: 175px;
}
.L-edge{
border-color: transparent;
}
.L-select-item .L-edge{
position: absolute;
right: 10px;
margin-top: -3px;
top: 50%;
border-width: 6px;
border-top-color: #C2C2C2;
border-style: solid;
}
.L-select-item .Linput{
cursor: pointer;
min-height: 100%;
}
<link rel="stylesheet" href="./layui-v2.7.2/layui/css/layui.css">
<script src="./layui-v2.7.2//layui/layui.js"></script>
&