Commit 788993b4 authored by wildfirecode13's avatar wildfirecode13

update

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