急急!!如何给Ext.panel增加一个背景图片??

解决方案 »

  1.   


    自己已解决:如下:
    var stampUserName='未签章';JDAN.FactureManage.fileStampPanel = function(){  JDAN.FactureManage.fileStampPanel.superclass.constructor.call(this, {
            title: '签章信息',
    height:120,
            iconCls: 'icn2Mam',
    bodyStyle:'background-image:url(../FactureManage/Images/stampbgimage.gif)',
    html: '<center><font size=6 color=white style="FONT-FAMILY: 隶书">'+stampUserName+'</font></center>',
    tbar:[{
                text:'签章',
                tooltip:'文件确认签章',
                scope : this,
                iconCls: 'icnRefresh',
                handler : this.onBtnStamp
            }]
      })
    };
    Ext.extend(JDAN.FactureManage.fileStampPanel, Ext.Panel, {
        onBtnStamp:function(){
         Ext.MessageBox.alert('提示','对图片进行签章确认!');
        }
    });