上次弄了个显示button的,但是后面没有透明,今天弄了透明的。得重写样式。看下效果:
代码如下:
id : 'bt_kt',
xtype : 'button',
text : ' <span class="bt_cls">勘探</span> ',
ui : 'normal',
cls : 'noBorder',
iconAlign : 'top',
iconCls : 'bt_kt',
iconMask : true,
handler : function onclick() {
}
/**按钮无背景***/
.noBorder{
background-color:transparent !important;
border:none !important;
background-image:none !important;
}