0

在 sencha touch 2 上切换生产模式后,滚动似乎在 android 2 3 5 设备上几乎死机,但在 iphone/ipad 上一切正常,有什么想法吗?我正在使用 Ext.NestedList

滚动:'垂直',全屏:真,

谢谢

Ext.define('front.view.Main', {
extend: 'Ext.data.Model',
require: ["Ext.data.proxy.SQL", "Ext.field.Search", "Ext.NestedList", "Ext.data.Store"],
config: {
    fields: ['text'],
    scrollable: {
        direction: 'vertical'
    }

},
listeners:{
    intialize:function(){
    }
 }
 });

 treestore = Ext.create("Ext.NestedList", {
    fullscreen: true,
    scrollable: {
            direction: 'vertical'
        },
    updateTitleText :false,
    useTitleAsBackText: false,
    defaultBackButtonText : null,
    backText: '<div class="backtext"></div>',
    tabBarPosition: 'bottom',
    useToolbar:true,
    id: 'mainPanel',
    /*listConfig:{
        itemTpl:'<div class="nav-element"><span style="" class="txt">{name}</span><span class="calc">'+f_count+'</span></div>'
    },*/
    title: '<div class="titleimg"></div>',
    displayField: 'title',
    store: {
        storeId:'ms',
        type: 'tree',
        id: 'ListCard',
        fields: [
            'title','code','name','c_count',
            {name: 'leaf', defaultValue: true}
        ],

        root: {
            leaf: false
        },
        proxy: {
            type: 'jsonp',
            url: 'http://now-yakutsk.stairwaysoft.net/frontmodel/catlist.php?f_count='+f_count,
            reader: {
                type: 'json',
                rootProperty: 'cat'
            }
        }
    },
4

0 回答 0