Ext.define('App.view.Login',{
extend:'Ext.form.Panel',
alias:'widget.login',
requires:['Ext.field.Text'],
/*fullscreen:true,*/
initialize:function(){
/*this.callParent();*/
var txt={
xtype:'textfield',
name:'name',
placeHolder:'用户名'
};
var pwd={
xtype:'passwordfield',
name:'password',
placeHolder:'密码'
};
this.add([
txt,
pw......
阅读全文