Commit 34f48c32 authored by 邱旭's avatar 邱旭

1

parent 436f3fbe
......@@ -4,7 +4,7 @@
<e:Image source="redbombalert文案_png" y="0" x="86"/>
<e:Label id="tips" text="今日还有2个红包在其他关卡等你哦~" y="79" textColor="0xffe9c0" x="0"/>
</e:Group>
<e:Group id="btn" x="196" y="900" visible="false">
<e:Group id="btn" y="865" horizontalCenter="0" visible="false">
<e:Image source="redAlert_btn_png" y="0" x="0"/>
<e:Label id="btnLabel" text="愉快收下" y="30" size="38" stroke="2" strokeColor="0x2f7df9" fontFamily="FZY3JW" x="103"/>
</e:Group>
......
......@@ -15,7 +15,7 @@ export default class RedBombAlertPanel extends Panel {
async start(data) {
super.start();
const times = getRedBombTimes();
const times = getRedBombTimes() - 1;
this['tips'].text = `今日还有${times}个红包在其他关卡等你哦~`;
if(times <= 0) {
this['tips'].text = `当日红包任务达成,明日再来~`;
......
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