xtype: 'filefield',
buttonOnly: true,//只显示file的button
width: 69,
buttonText: '<i class="fas fa-file-import" style="color:#919191;margin-right:3px;margin-left:-6px;font-size:16px;"></i><font style="color:#606060;">导入</font>',//button上显示的内容
editable: false,
listeners: {
//修改button的样式
afterrender: function (file, fn) {
file.button.setStyle({
backgroundColor: '#f6f6f6',
borderColor: '#e4e4e4'
})
}
},