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
579aac78
Commit
579aac78
authored
Feb 03, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
33027dfe
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
redrainbg.jpg
egret/resource/assets/redrainbg.jpg
+0
-0
RedBombAlertSkin.exml
egret/resource/skins/RedBombAlertSkin.exml
+1
-1
RedBombTips2Skin.exml
egret/resource/skins/RedBombTips2Skin.exml
+1
-1
RedBombAlertPanel.ts
egret/src/panels/RedBombAlertPanel.ts
+2
-2
award.json
mock/happyclear/award.json
+1
-1
No files found.
egret/resource/assets/redrainbg.jpg
View replaced file @
33027dfe
View file @
579aac78
133 KB
|
W:
|
H:
262 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/RedBombAlertSkin.exml
View file @
579aac78
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"RedBombAlertSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"RedBombAlertSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Group
id=
"group"
y=
"470"
horizontalCenter=
"0"
>
<e:Group
id=
"group"
y=
"470"
horizontalCenter=
"0"
>
<e:Image
source=
"redbombalert文案_png"
y=
"0"
x=
"86
"
/>
<e:Image
source=
"redbombalert文案_png"
y=
"0"
horizontalCenter=
"0
"
/>
<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"
y=
"985"
horizontalCenter=
"0"
visible=
"false"
>
<e:Group
id=
"btn"
y=
"985"
horizontalCenter=
"0"
visible=
"false"
>
...
...
egret/resource/skins/RedBombTips2Skin.exml
View file @
579aac78
...
@@ -5,6 +5,6 @@
...
@@ -5,6 +5,6 @@
<e:Image
source=
"redbagtips_elexx_png"
x=
"210"
y=
"50"
/>
<e:Image
source=
"redbagtips_elexx_png"
x=
"210"
y=
"50"
/>
<e:Group
id=
"btn"
y=
"693.31"
horizontalCenter=
"0"
>
<e:Group
id=
"btn"
y=
"693.31"
horizontalCenter=
"0"
>
<e:Image
source=
"redbagtips按钮_png"
y=
"0"
x=
"0"
/>
<e:Image
source=
"redbagtips按钮_png"
y=
"0"
x=
"0"
/>
<e:Label
text=
"
找红包
"
verticalCenter=
"-3.5"
horizontalCenter=
"0"
size=
"38"
strokeColor=
"0x0389ff"
stroke=
"2"
fontFamily=
"FZY3JW"
/>
<e:Label
text=
"
开启作战
"
verticalCenter=
"-3.5"
horizontalCenter=
"0"
size=
"38"
strokeColor=
"0x0389ff"
stroke=
"2"
fontFamily=
"FZY3JW"
/>
</e:Group>
</e:Group>
</e:Skin>
</e:Skin>
\ No newline at end of file
egret/src/panels/RedBombAlertPanel.ts
View file @
579aac78
...
@@ -53,7 +53,7 @@ export default class RedBombAlertPanel extends Panel {
...
@@ -53,7 +53,7 @@ export default class RedBombAlertPanel extends Panel {
this
.
addChild
(
mv
);
this
.
addChild
(
mv
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
btn
.
visible
=
true
;
this
.
btn
.
visible
=
true
;
this
.
btnLabel
.
text
=
'
我知道了
'
;
this
.
btnLabel
.
text
=
'
继续闯关
'
;
NetManager
.
ins
.
showLog
(
getlogItem
(
76
));
NetManager
.
ins
.
showLog
(
getlogItem
(
76
));
this
.
btn
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
.
btn
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
76
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
76
));
...
@@ -77,7 +77,7 @@ export default class RedBombAlertPanel extends Panel {
...
@@ -77,7 +77,7 @@ export default class RedBombAlertPanel extends Panel {
this
.
addChildAt
(
mv
,
1
);
this
.
addChildAt
(
mv
,
1
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
btn
.
visible
=
true
;
this
.
btn
.
visible
=
true
;
this
.
btnLabel
.
text
=
'
愉快
收下'
;
this
.
btnLabel
.
text
=
'
开心
收下'
;
NetManager
.
ins
.
showLog
(
getlogItem
(
75
));
NetManager
.
ins
.
showLog
(
getlogItem
(
75
));
this
.
btn
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
.
btn
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
75
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
75
));
...
...
mock/happyclear/award.json
View file @
579aac78
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"timestamp"
:
1579512019430
,
"timestamp"
:
1579512019430
,
"data"
:
{
"data"
:
{
"option"
:
null
,
"option"
:
{
"img"
:
"//yun.duiba.com.cn/images/201607/73htz55ih9.jpg"
}
,
"orderNum"
:
null
,
"orderNum"
:
null
,
"remainAwardTimes"
:
0
"remainAwardTimes"
:
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