Layout 森查手风琴触摸项目空白

Layout 森查手风琴触摸项目空白,layout,sencha-touch,accordion,items,Layout,Sencha Touch,Accordion,Items,Im使用Mitchell Simoens git链接中Sencha Touch 1.0.1的手风琴布局: 我想在其中一个手风琴项目中放置一个模板。但是,尽管formPanel中的html显示,但当我向面板添加项目时,它将变为空白 请帮帮我 我的代码: var formp = new Ext.form.FormPanel({ scroll : "vertical", title : "List Test", // scrollable : true, items : [ {

Im使用Mitchell Simoens git链接中Sencha Touch 1.0.1的手风琴布局:

我想在其中一个手风琴项目中放置一个模板。但是,尽管formPanel中的html显示,但当我向面板添加项目时,它将变为空白

请帮帮我

我的代码:

var formp = new Ext.form.FormPanel({
scroll : "vertical",
title : "List Test",
//    scrollable : true,
items : [
    {
        xtype : 'textfield',
        label : 'hello',
        id : 'hello',
        name : 'hello'
    }
  ]
});
 var panel = new Ext.Panel({
        fullscreen : true,
        scroll     : "vertical",
        layout     : {
            type :  "accordion"
        },
                    minHeight : 300,
        items: [
            { xtype : "panel", title : "One Title",   html : "One"   },
            list,
            { xtype : "panel", title : "Three Title", html : "Three" },
            { xtype : "panel", title : "Four Title",  html : "Four"  },
            { xtype : "panel", title : "Five Title",  html : "Five"  },
            { xtype : "panel", title : "Six Title",   html : "Six"   }
        ]
    });

我已经更新了这个库来修复我在使用这个布局时遇到的一些问题,所以您可以检查这个库是否解决了您的问题

更新:

new Ext.Application({
    launch : function() {
        var panel = new Ext.Panel({
                fullscreen : true,
                scroll     : "vertical",
                layout     : {
                    type :  "accordion"
                },
                minHeight : 300,
                renderTo : Ext.getBody(),
                items: [
                    { xtype : "panel", title : "One Title",   html : "One"   },
                    { xtype : "panel", title : "Three Title", html : "Three" },
                    { xtype : "panel", title : "Four Title",  html : "Four"  },
                    { xtype : "panel", title : "Five Title",  html : "Five"  },
                    { xtype : "panel", title : "Six Title",   html : "Six"   }
                ]
            });
    }
});

很抱歉,我现在没有,但我只有更新的库,我已将其存储以供将来参考:),如果此库不起作用,您可以尝试此库,然后我可以尝试找出问题我已将我的库与上述代码一起使用,并且它正确显示了项目,您是否仍有问题?是的。。我正在使用sencha 1.1中的最新版本。。但是它仍然有你应该使用这个库的问题,我已经修改了它来解决一些问题