{
layout: 'column',
items: [
{
layout: 'form',
items:[{
xtype:'textarea',
id:'textarea',
labelWidth: 100,
fieldLabel: '批量导入',
style:"margin-top:10px;",
width: 150,
height:200
}]//左侧文本域
},{
layout: 'form',
items:[
{
labelWidth: 100,
width: 250,
height:150,
style:"margin-top:10px;margin-left:-25px;border:0;background:transparent;",
xtype:'textarea',
readOnly: true,
value : '请按以下格式输入或者从Excel中粘贴过来:\n321424235676581\n343454536578652\n756456345576574\n546567678798073\n343553664578544\n872398424324545\n然后点击“导入”\n最多导入100个串码'
},//右侧上固定文本域
{
width: 50,
height: 30,
xtype: 'button',
text: '导入',
style:"margin-left:50px;margin-top:15px;",
handler: function () {
}
}//右侧下button
]
}
]
}
来源:oschina
链接:https://my.oschina.net/u/4048873/blog/3198188