替换日期控件的图标后,有些谷歌浏览器预览的时候显示不出来,是我的语句不兼容吗?有没有其他的写法能替代?setTimeout(function() { //设置按钮边控 $("div").css({ "border": "1px solid #1AB394" }); $("div").css({ "border": "1px solid #1AB394" }); //设置下拉、下拉复选、日期控件圆角 $('.fr-trigger-text').css('border-radius', '8px 0 0 8px'); $('.fr-trigger-btn-up').css('border-radius', '0 8px 8px 0'); $('.fr-trigger-btn-up').css('background', 'none'); $('.fr-trigger-text').css('border', 'none'); $('.fr-trigger-text').css('border-left', '1px solid #1AB394'); $('.fr-trigger-text').css('border-top', '1px solid #1AB394'); $('.fr-trigger-text').css('border-bottom', '1px solid #1AB394'); $('.fr-trigger-btn-up').css('border-top', '1px solid #1AB394'); $('.fr-trigger-btn-up').css('border-bottom', '1px solid #1AB394'); $('.fr-trigger-btn-up').css('border-right', '1px solid #1AB394'); $('.fr-date-trigger-center').css('padding-left', '16px'); $('.fr-trigger-btn-up').css('background', '#ffffff'); //设置下拉框与下拉复选框下拉三角的颜色 $('.fr-trigger-center').css('width', '0px'); $('.fr-trigger-center').css('height', '0px'); $('.fr-trigger-center').css('margin', '0 2 0 0'); $('.fr-trigger-center').css('background', '#F2F2F2'); $('.fr-trigger-center').css('border-top', '6px solid #1AB436'); $('.fr-trigger-center').css('border-left', '6px solid #F2F2F2'); $('.fr-trigger-center').css('border-bottom', '6px solid #F2F2F2'); $('.fr-trigger-center').css('border-right', '6px solid #F2F2F2'); //更换日期 控件 图标 $('.fr-date-trigger-center').css('width', '0'); $('.fr-date-trigger-center').css('heifht', '0'); $('.fr-date-trigger-center').css('padding-left', '16px'); $('.fr-date-trigger-center').css('background', "url('/webroot/decision/view/report?id=__ImageCache__76B341ECE2E18F5DE659BBE05DB923B3&cache=true&op=fr_attach&cmd=ah_image') no-repeat 0 0");}, 10)