Commit 7e64d160 authored by wildfirecode13's avatar wildfirecode13

u

parent f948a3fd
......@@ -8,10 +8,7 @@
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "StartScene"
},
{
"keys": "assist_bg.png,assist_okbtn.png",
"name": "assist"
},
{
"keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png",
"name": "common"
......
This diff is collapsed.
......@@ -8,10 +8,7 @@ export const ResJson = {
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "StartScene"
},
{
"keys": "assist_bg.png,assist_okbtn.png",
"name": "assist"
},
{
"keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png",
"name": "common"
......
......@@ -258,44 +258,7 @@ export const SkinJson ={
}
]
},
{
"name": "assist",
"x": 67,
"y": 319,
"type": "container",
"children": [
{
"name": "assist_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "assist_bg.png"
}
},
{
"name": "assist_name",
"x": 248,
"y": 331,
"type": "text",
"props": {
"text": "提现成功",
"size": 30,
"fillColor": "#5889ce",
"textAlpha": 1
}
},
{
"name": "assist_okbtn",
"x": 126,
"y": 724,
"type": "sprite",
"props": {
"source": "assist_okbtn.png"
}
}
]
},
{
"name": "prize",
"x": 78,
......
......@@ -10,11 +10,11 @@ export class AssistPanel extends Panel {
}
//两个按钮都是关闭作用
get closeBtns() {
return [getObject(this, 'draw_closebtn'), getObject(this, 'draw_okbtn')];
return [getObject(this, 'assist_close')];
}
get groupNames() { return ["draw"] }
get skinName() { return "draw" }
get groupNames() { return ["assist"] }
get skinName() { return "assist" }
async start(data) {
......
import { showPanel } from "../../module/ctrls";
import { Scene } from "../../module/views/Scene";
import Marquee from "../common/Marquee";
import getObject from "../getObject";
import { AssistPanel } from "../panels/assist";
import { sendWebNet, WebNetName } from "../WebNet";
export class ShareScene extends Scene {
onClick_share_assist(){
showPanel(AssistPanel)
}
get groupNames() { return ["share"] }
get skinName() { return "share" }
......@@ -32,9 +40,12 @@ export class ShareScene extends Scene {
initEvents() {
super.initEvents();
getObject(this,'share_assist').addEventListener(FYGE.MouseEvent.CLICK, this.onClick_share_assist, this);
}
removeEvents() {
super.removeEvents();
getObject(this,'share_assist').removeEventListener(FYGE.MouseEvent.CLICK, this.onClick_share_assist, this);
}
......
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