Commit befec1b2 authored by wildfirecode13's avatar wildfirecode13

u

parent d5bb9553
{"code":null,"data":500000,"message":null,"success":true}
\ No newline at end of file
{"code":null,"data":2500,"message":null,"success":true}
\ No newline at end of file
......@@ -4,7 +4,7 @@
"alreadyOpenAccount": false,
"assistFriendNum": 1,
"canWithdraw": false,
"experienceAmount": 1000,
"experienceAmount": 2500,
"maxExperienceAmount": 2500,
"millionShares": null,
"otherExperienceAmount": 1,
......
export const MAX_MONEY=100*10000;
export const MONEY_PERCENT=0.1;
\ No newline at end of file
export const MONEY_PERCENT=0.1;
export const WEIXIN_URL = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzg5NTMyMTg3Nw==&scene=124#wechat_redirect';
\ No newline at end of file
......@@ -2,8 +2,13 @@ import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import centerTextField from "../common/centerTextField";
import getObject from "../common/getObject";
import { WEIXIN_URL } from "../datas";
export class ShareFailPanel extends Panel {
share_success_btn(){
location.href=WEIXIN_URL
}
initUi() {
super.initUi();
var skin = RES.getSkinDataByName(this.skinName);
......@@ -24,4 +29,13 @@ export class ShareFailPanel extends Panel {
async start(data) {
super.start();
}
initEvents(){
super.initEvents();
getObject(this,'share_fail_btn').addEventListener(FYGE.MouseEvent.CLICK,this.share_success_btn,this);
}
removeEvents(){
super.removeEvents();
getObject(this,'share_fail_btn').removeEventListener(FYGE.MouseEvent.CLICK,this.share_success_btn,this);
}
}
\ No newline at end of file
......@@ -2,8 +2,13 @@ import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import centerTextField from "../common/centerTextField";
import getObject from "../common/getObject";
import { WEIXIN_URL } from "../datas";
export class ShareSuccessPanel extends Panel {
share_success_btn(){
location.href=WEIXIN_URL
}
initUi() {
super.initUi();
var skin = RES.getSkinDataByName(this.skinName);
......@@ -24,4 +29,13 @@ export class ShareSuccessPanel extends Panel {
super.start();
}
initEvents(){
super.initEvents();
getObject(this,'share_success_btn').addEventListener(FYGE.MouseEvent.CLICK,this.share_success_btn,this);
}
removeEvents(){
super.removeEvents();
getObject(this,'share_success_btn').removeEventListener(FYGE.MouseEvent.CLICK,this.share_success_btn,this);
}
}
\ No newline at end of file
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