1、清理仓库

This commit is contained in:
贝密游戏
2017-12-21 23:04:13 +08:00
parent eeb1c9e07b
commit b52d442381
1317 changed files with 138642 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
// Learn cc.Class:
// - [Chinese] http://www.cocos.com/docs/creator/scripting/class.html
// - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/class/index.html
// Learn Attribute:
// - [Chinese] http://www.cocos.com/docs/creator/scripting/reference/attributes.html
// - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/reference/attributes/index.html
// Learn life-cycle callbacks:
// - [Chinese] http://www.cocos.com/docs/creator/scripting/life-cycle-callbacks.html
// - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/life-cycle-callbacks/index.html
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
title_feedback: {
default: null,
type: cc.Node
},
title_reply: {
default: null,
type: cc.Node
},
},
// LIFE-CYCLE CALLBACKS:
onLoad : function() {
this.title_feedback.active = true ;
this.title_reply.active = false ;
/**
* 从远程加载数据,如果加载数据失败,则显示提示消息,并注册拖动刷新事件
*/
},
onFeedBack:function(){
this.title_feedback.active = true ;
this.title_reply.active = false ;
},
onReply:function(){
this.title_feedback.active = false ;
this.title_reply.active = true ;
}
// update (dt) {},
});