移动端设置 下拉框背景:
找到下拉框控件,添加初始化后事件
setTimeout(function() {
var dateEditor = document.getElementById("P_ORGNAME").firstChild;
dateEditor.style.border = "solid";
dateEditor.style.border.width = "2px";
dateEditor.style.border.color = "#ffffff";
dateEditor.style.borderRadius = "10px";
dateEditor.style.backgroundColor = "#262626";
dateEditor.firstElementChild.style.color = "#ffffff";
}, 500)
ps:控件名称必须大写 P_ORGNAME
PC端:
移动端: