https://help.finereport.com/doc-view-2287.html
这个里面你参考下呢
JS实现控件融入背景.frm
下拉框的编辑前事件:
setTimeout(function(){
$(".fr-combo-list-item").css(
"background-color","red"
)
},10)
--------------悬浮改变子选项的颜色----------------
放入编辑前事件:
setTimeout(function() {
$(".fr-combo-list-item").css(
"background-color", "red"
);
$(".fr-combo-list-item").hover(function() {
$(".fr-combo-list-item.fr-combo-selected").css(
"background-color", "black"
)
}, function() {
$(".fr-combo-list-item.fr-combo-selected").css(
"background-color", "red"
)
})
}, 10)
模板如下:
test.frm