Extjs文本域布局

岁酱吖の 提交于 2020-03-19 16:49:10

3 月,跳不动了?>>>

{
                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
                        ]
                    }
                ]
            }

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!