jdgl.view.ftview  Jdgl.view.Ftview
jdgl.store.ftstore Jdgl.store.Ftstore
要规范。

解决方案 »

  1.   

    已经解决了
    Ext.define('jdgl.view.Center',{
    extend:'Ext.panel.Panel',
    id:'content-panel',
    region:'center',
    bodyCls:'main_bg',
    border:false,
    title:'房态图',
    layout: 'fit',
    initComponent:function(){
    Ext.apply(this,{
    items:[{
    xtype:'dataview',
    tpl:[
    '<tpl for=".">',
            '<div class="button1 green" id="hdiv1"><div class="shine1"></div>',
              '{caption}',
            '</div>',
        '</tpl>'
    ],
    itemSelector: 'div.thumb-wrap',
    store:Ext.create('Ext.data.Store',{
    fields: ['src','caption'],
    data: [
            {caption:'1-101房' },
            {caption:'1-102房' },
            {caption:'1-103房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' },
            {caption:'1-104房' }
        ]
    }),
    emptyText: 'No images available'
    }]
    });
    this.callParent(arguments);
    }
    });