Commit 788993b4 authored by wildfirecode13's avatar wildfirecode13

update

parent e403a9cc
This diff is collapsed.
......@@ -1030,7 +1030,7 @@ export const SkinJson ={
},
{
"name": "index_sumIncomeTips",
"x": 123,
"x": 193,
"y": 560,
"type": "text",
"props": {
......@@ -1054,7 +1054,7 @@ export const SkinJson ={
},
{
"name": "index_sevenDayAnnualizationTips",
"x": 563,
"x": 469,
"y": 560,
"type": "text",
"props": {
......
......@@ -24,8 +24,13 @@ const checkUpdateShare = () => {
}
export class IndexScene extends Scene {
page:FYGE.ScrollPage;
onclick_index_drawBtn(){
showPanel(DrawPanel);
}
page:FYGE.ScrollPage;
initUi() {
super.initUi();
......@@ -36,6 +41,7 @@ export class IndexScene extends Scene {
this.page.view.addChild(getObject(this,'index_wrapper'));
getObject(this,'index_millionSharesTips').visible=false;
getObject(this,'index_drawGrayBtn').visible=false;
getObject(this.page,'index_task1').visible=false;
// getObject(this.page,'task2new').visible=false;
......@@ -108,12 +114,14 @@ export class IndexScene extends Scene {
initEvents() {
super.initEvents();
watchPageVisibility(this.onPageVisibilityChange)
watchPageVisibility(this.onPageVisibilityChange);
getObject(this,'index_drawBtn').addEventListener(FYGE.MouseEvent.CLICK,this.onclick_index_drawBtn,this)
}
removeEvents() {
super.removeEvents();
unwatchPageVisibility(this.onPageVisibilityChange)
getObject(this,'index_drawBtn').removeEventListener(FYGE.MouseEvent.CLICK,this.onclick_index_drawBtn,this)
}
get groupNames() { return ["index"] }
......
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