Commit 6c834fb4 authored by lujinlei's avatar lujinlei

-a

parent fba8d250
...@@ -15,12 +15,13 @@ export class ShareHintPanel extends FYGE.Sprite { ...@@ -15,12 +15,13 @@ export class ShareHintPanel extends FYGE.Sprite {
super() super()
this.initUi(); this.initUi();
} }
initUi() { initUi() {
let btn = this.addChild(Tools.getRect(750,1624,0x000000)) let btn = this.addChild(Tools.getRect(750,1624,0x000000))
btn.alpha = 0.7; btn.alpha = 0.7;
let bg = this.addChild(Tools.getSprite('share.png')) let bg = this.addChild(Tools.getSprite('share.png'))
bg.position.set(250,180+layers.stageOffsetY) bg.position.set(200,180+layers.stageOffsetY)
bg.mouseChildren = false; bg.mouseChildren = false;
bg.mouseEnable = false; bg.mouseEnable = false;
bg.addChild(Tools.getText('点击分享',30,"#ffffff")).position.set(120,240) bg.addChild(Tools.getText('点击分享',30,"#ffffff")).position.set(120,240)
......
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