(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/script/ItemView.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, '3b00f8Ng61HYYF5ce/DVKCD', 'ItemView', __filename);
// script/ItemView.js

"use strict";

var ItemView = cc.Class({
    extends: cc.Component,
    properties: {
        testLabel1: cc.Label,
        testLabel2: cc.Label,
        testLabel3: cc.Label,
        testLabel4: cc.Label
    },

    onLoad: function onLoad() {
        this.itemIndex = 0;
    },
    reset: function reset() {},
    updateItem: function updateItem(itemId, ItemInfo) {
        cc.log("itemView updateItem.......");
        this.testLabel1.string = ItemInfo[0];
        this.testLabel2.string = ItemInfo[1];
        this.testLabel3.string = ItemInfo[2];
        this.testLabel4.string = ItemInfo[3];
    },

    //更新玩家头像
    setHead: function setHead() {
        cc.log("itemView setHead.......");
    }
});

window.lrs = window.lrs || {};
window.lrs.ItemView = ItemView;

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=ItemView.js.map
        