填报预览方式加载结束事件:
setTimeout(function(){
$(".fr-form-btn-group.fr-group-box").css({"line-height":$(".fr-form-btn-group.fr-group-box").height()+"px","text-align":"center"});
$(".fr-form-btn-group.fr-group-box > span").css({"margin":"0"});
;},10)
也可以给按钮设一个名字,比如"anniu":
然后这样:
setTimeout(function(){
$("[widgetname='ANNIU']").css({"line-height":$("[widgetname='ANNIU']").height()+"px","text-align":"center"});
$("[widgetname='ANNIU'] > span").css({"margin":"0"});
},10)
预览如下: