12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- cc.Class({
- extends: cc.Component,
- properties: {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- helloWorld: {
- default: null,
- type: cc.Sprite
- }
- },
-
- onLoad () {
- setViewTouch(
- this.helloWorld,
- null,
- function(event) {
- cc.log("helloWorld");
-
- cc.wangronghui.navigator.goBack();
- },
- null,
- this
- );
- },
- navigateButtonClicked(){
- let parameter = {};
- parameter.title = 'wang ronghui';
- cc.wangronghui.navigator.navigate('index_scene', parameter);
-
- },
- start () {
- },
-
- });
|