Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
f563bd33
Commit
f563bd33
authored
Nov 08, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b9b8a82a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
redbomb_noprize.svga
egret/resource/assets/svgas/redbomb_noprize.svga
+0
-0
redbomb_prize.svga
egret/resource/assets/svgas/redbomb_prize.svga
+0
-0
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-1
RedBombAlertPanel.ts
egret/src/panels/RedBombAlertPanel.ts
+2
-2
No files found.
egret/resource/assets/svgas/redbomb_noprize.svga
0 → 100644
View file @
f563bd33
File added
egret/resource/assets/svgas/redbomb_prize.svga
0 → 100644
View file @
f563bd33
File added
egret/src/mapScene/MapScene.ts
View file @
f563bd33
...
...
@@ -112,7 +112,7 @@ export default class MapScene extends Scene {
async
start
(
data
?)
{
super
.
start
();
//
PanelCtrl.instance.show('RedBombAlert');
PanelCtrl
.
instance
.
show
(
'RedBombAlert'
);
// NetManager.ins.hc_submit(()=>{
// // const submitData = DataManager.ins.getData('hc_submit').data;
// // PanelCtrl.instance.show(ModuleTypes.PRIZE_PANEL,{ level:1, option: submitData.option })
...
...
egret/src/panels/RedBombAlertPanel.ts
View file @
f563bd33
...
...
@@ -13,8 +13,8 @@ export default class RedBombAlertPanel extends Panel {
this
.
showlog
();
const
times
=
getRedBombTimes
();
this
[
'tips'
].
text
=
`今日还有
${
times
-
1
}
个红包在其他关卡等你哦~`
;
if
(
times
<=
1
)
{
this
[
'tips'
].
text
=
`今日还有
${
times
}
个红包在其他关卡等你哦~`
;
if
(
times
<=
0
)
{
this
[
'tips'
].
text
=
`当日红包任务达成,明日再来~`
;
}
this
[
'group'
].
alpha
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment