Extjs中TextField中显示图标

现看实现效果:

image

 

实现代码:

{
                    width:500,
                    height : 25,
                    fieldLabel : '过滤条件',
                    itemId : 'queryText',
                    labelAlign : 'right',
                    allowBlank:true,
                    maxLength:10,
                    fieldStyle:{
                        background: '#fff url(../css/icons/zoom.png) no-repeat 5px center ', 
                        paddingLeft: '25px',
                    },
                    emptyText:'人员编号/身份证号码/姓名',
                },
posted @ 2015-02-11 17:11  正正杂说  阅读(343)  评论(0编辑  收藏  举报