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
34f48c32
Commit
34f48c32
authored
Dec 19, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
436f3fbe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
RedBombAlertSkin.exml
egret/resource/skins/RedBombAlertSkin.exml
+1
-1
RedBombAlertPanel.ts
egret/src/panels/RedBombAlertPanel.ts
+1
-1
No files found.
egret/resource/skins/RedBombAlertSkin.exml
View file @
34f48c32
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<e:Image
source=
"redbombalert文案_png"
y=
"0"
x=
"86"
/>
<e:Image
source=
"redbombalert文案_png"
y=
"0"
x=
"86"
/>
<e:Label
id=
"tips"
text=
"今日还有2个红包在其他关卡等你哦~"
y=
"79"
textColor=
"0xffe9c0"
x=
"0"
/>
<e:Label
id=
"tips"
text=
"今日还有2个红包在其他关卡等你哦~"
y=
"79"
textColor=
"0xffe9c0"
x=
"0"
/>
</e:Group>
</e:Group>
<e:Group
id=
"btn"
x=
"196"
y=
"90
0"
visible=
"false"
>
<e:Group
id=
"btn"
y=
"865"
horizontalCenter=
"
0"
visible=
"false"
>
<e:Image
source=
"redAlert_btn_png"
y=
"0"
x=
"0"
/>
<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:Label
id=
"btnLabel"
text=
"愉快收下"
y=
"30"
size=
"38"
stroke=
"2"
strokeColor=
"0x2f7df9"
fontFamily=
"FZY3JW"
x=
"103"
/>
</e:Group>
</e:Group>
...
...
egret/src/panels/RedBombAlertPanel.ts
View file @
34f48c32
...
@@ -15,7 +15,7 @@ export default class RedBombAlertPanel extends Panel {
...
@@ -15,7 +15,7 @@ export default class RedBombAlertPanel extends Panel {
async
start
(
data
)
{
async
start
(
data
)
{
super
.
start
();
super
.
start
();
const
times
=
getRedBombTimes
();
const
times
=
getRedBombTimes
()
-
1
;
this
[
'tips'
].
text
=
`今日还有
${
times
}
个红包在其他关卡等你哦~`
;
this
[
'tips'
].
text
=
`今日还有
${
times
}
个红包在其他关卡等你哦~`
;
if
(
times
<=
0
)
{
if
(
times
<=
0
)
{
this
[
'tips'
].
text
=
`当日红包任务达成,明日再来~`
;
this
[
'tips'
].
text
=
`当日红包任务达成,明日再来~`
;
...
...
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