diff --git a/dsLightRag/static/Menhu/ai-resource-workshop.html b/dsLightRag/static/Menhu/ai-resource-workshop.html index 1968b2e7..c3caf486 100644 --- a/dsLightRag/static/Menhu/ai-resource-workshop.html +++ b/dsLightRag/static/Menhu/ai-resource-workshop.html @@ -89,6 +89,66 @@ 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 { display: grid;