This commit is contained in:
2025-09-03 09:16:09 +08:00
parent fdad866e2d
commit 5e9242bada

View File

@@ -89,6 +89,66 @@
font-weight: 500; font-weight: 500;
} }
/* 修复下拉框样式 */
select.layui-select {
display: block;
width: 100%;
height: 38px;
padding: 0 10px;
border: 1px solid #e6e6e6;
background-color: #fff;
border-radius: 2px;
cursor: pointer;
appearance: none;
position: relative;
}
select.layui-select:focus {
border-color: #009688;
outline: none;
}
/* 添加下拉箭头 */
.form-group {
position: relative;
}
.form-group::after {
content: '\e61a';
font-family: layui-icon !important;
position: absolute;
right: 10px;
top: 40%; /* 从50%改为40%,使箭头向上移动 */
transform: translateY(-50%);
pointer-events: none;
color: #666;
}
/* 搜索框不需要下拉箭头 */
.search-box {
position: relative;
}
.search-box::after {
display: none; /* 隐藏搜索框的下拉箭头 */
}
/* 确保filter-group中的下拉框有箭头 */
.filter-group {
position: relative;
}
.filter-group::after {
content: '\e61a';
font-family: layui-icon !important;
position: absolute;
right: 10px;
top: 40%;
transform: translateY(-50%);
pointer-events: none;
color: #666;
}
/* 资源卡片样式 */ /* 资源卡片样式 */
.resources-grid { .resources-grid {
display: grid; display: grid;