摘要: 接着上一篇的登陆页面,来一个最简单的注册页面,几乎包含了常用的fieldExt.application({ id:'itKingApp', launch:function(){ var formPanel=Ext.create('Ext.form.Panel',{ id:'formPanel1', scrollable:'vertical', style:{ 'padding':'1px' }, items:[{ xtype:'fieldset', title:'用户注册&# 阅读全文
posted @ 2013-10-09 16:08 IT小金 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 现在来说说sencha touch中的表单,举个简单的login的例子,相关的说明我都放在了注释中,看下面代码Ext.application({ id:'itKingApp', launch:function(){ var formPanel=Ext.create('Ext.form.Panel',{ id:'formPanel1', // 表示是否可以滑动,vertical=上下滑动 horizontal=左右滑动 both=上下左右都可以 flase=不滑动 scrollable:'vertical', width:' 阅读全文
posted @ 2013-10-09 13:51 IT小金 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 还是直接上代码,都是基本的几个容器控件,没什么还说的Ext.application({ name:'itkingApp', launch:function(){ var view =Ext.create('Ext.NavigationView',{ items:[ { title:'title1', html:'one' }] }); var panel=Ext.create('Ext.Panel',{ title:'title2', html:'two' }); var panel 阅读全文
posted @ 2013-10-09 10:27 IT小金 阅读(152) 评论(0) 推荐(0) 编辑