Commit 5e3d19bc authored by wildfirecode's avatar wildfirecode

1

parent b19c448b
......@@ -12,7 +12,7 @@ export default class Toast2 extends ComponentBase {
toastLabel:eui.Label;
start() {
this.touchEnabled=false;
this.touchChildren=false;
// this.touchChildren=false;
this.toastLabel.textFlow = (new HtmlTextParser).parser('<u>继续闯关赢好礼</u>');
this.toastLabel.addEventListener(egret.TouchEvent.TOUCH_TAP,()=>{
if(SceneCtrl.instance.currentScene instanceof MainScene){
......
......@@ -18,4 +18,5 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Label text="闯关成功即可获得现金券、\n游戏道具等更多好礼哦~" y="477.24" anchorOffsetX="0" width="578.54" anchorOffsetY="0" height="81.52" horizontalCenter="0" textAlign="center" verticalAlign="middle" textColor="0xf54501" size="25" lineSpacing="15"/>
</e:Skin>
\ 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