Commit 8197e620 authored by wildfirecode's avatar wildfirecode

1

parent 4cc6e06a
......@@ -4,6 +4,7 @@ import { IntroType } from "./IntroScene";
import { DataManager } from "../libs/tw/manager/DataManager";
import getsubmitUrl from "./getsubmitUrl";
import join_1_index from "./interfaces/join_1_index";
import { NetManager } from "../libs/tw/manager/NetManager";
export enum DreamSceneType {
IN_PROGRESS=0,
RESUBMIT=1,
......@@ -25,7 +26,7 @@ export default class DreamScene extends Scene {
this['resubmitBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP,this.ontap_resubmitBtn,this);
this['lab1'].addEventListener(egret.TouchEvent.TOUCH_TAP,this.ontap_lab1,this);
this['lab1'].once(egret.TouchEvent.TOUCH_TAP,this.ontap_lab1,this);
this['nametxt'].text = yyh_join1_dreamDetail.name;
this['phone'].text = yyh_join1_dreamDetail.tel;
......@@ -37,7 +38,9 @@ export default class DreamScene extends Scene {
}
ontap_lab1(){
SceneCtrl.instance.change('MainScene');
NetManager.ins.yyh_join1_index(async (success) => {
SceneCtrl.instance.change('MainScene');
});
}
ontap_resubmitBtn(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment