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
33518ae0
Commit
33518ae0
authored
May 13, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
635fcb38
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
4 deletions
+20
-4
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+7
-0
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-0
RedBombAlertPanel.ts
egret/src/panels/RedBombAlertPanel.ts
+2
-1
snpmAdStatic.ts
egret/src/statics/snpmAdStatic.ts
+3
-3
award.json
mock/happyclear/award.json
+7
-0
No files found.
egret/libs/tw/manager/NetManager.ts
View file @
33518ae0
...
@@ -898,6 +898,13 @@ export class NetManager extends ABNetManager {
...
@@ -898,6 +898,13 @@ export class NetManager extends ABNetManager {
}
}
public
hc_redBombAward
(
callback
:
Function
):
void
{
public
hc_redBombAward
(
callback
:
Function
):
void
{
if
(
!
window
[
'detect'
]
||!
window
[
'_device_session_id'
]){
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
e
){
}
}
const
net
:
INetData
=
{
const
net
:
INetData
=
{
name
:
'hc_redBombAward'
,
name
:
'hc_redBombAward'
,
uri
:
window
[
'duiba'
]
+
'/customActivity/happyclear/redBomb/award'
,
uri
:
window
[
'duiba'
]
+
'/customActivity/happyclear/redBomb/award'
,
...
...
egret/src/mainScene/MainScene.ts
View file @
33518ae0
...
@@ -4889,6 +4889,7 @@ export default class MainScene extends Scene {
...
@@ -4889,6 +4889,7 @@ export default class MainScene extends Scene {
console
.
warn
(
error
)
console
.
warn
(
error
)
}
}
let
taskType
=
Utils
.
getRequestByKey
(
'taskType'
);
let
taskType
=
Utils
.
getRequestByKey
(
'taskType'
);
console
.
log
(
'哪里来的submit'
);
NetManager
.
ins
.
hc_submit
((
s
,
data
)
=>
{
NetManager
.
ins
.
hc_submit
((
s
,
data
)
=>
{
if
(
s
)
{
if
(
s
)
{
wait
(
200
).
then
(()
=>
{
wait
(
200
).
then
(()
=>
{
...
...
egret/src/panels/RedBombAlertPanel.ts
View file @
33518ae0
...
@@ -156,7 +156,8 @@ export default class RedBombAlertPanel extends Panel {
...
@@ -156,7 +156,8 @@ export default class RedBombAlertPanel extends Panel {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
numsgroup
.
visible
=
isShow
;
this
.
numsgroup
.
visible
=
isShow
;
},
1700
);
},
1700
);
mv
.
setImage
(
"img_5085"
,
img
);
// for(var mvkey=0;mvkey<mv.)
mv
.
setImage
(
"815207F0-919C-4796-A09E-21868AF337CB"
,
img
);
},
100
)
},
100
)
});
});
}
}
...
...
egret/src/statics/snpmAdStatic.ts
View file @
33518ae0
...
@@ -14,7 +14,7 @@ export class snpmAdStatic{
...
@@ -14,7 +14,7 @@ export class snpmAdStatic{
pageid
:
"aNVgWFAAaA"
,
pageid
:
"aNVgWFAAaA"
,
modid
:
"bingoMapIndex"
,
modid
:
"bingoMapIndex"
,
eleid
:
"bingoIndexAd"
,
eleid
:
"bingoIndexAd"
,
targeturl
:
adata
[
'apsClickUrl'
]
||
''
//
targeturl:adata['apsClickUrl']||''
}
}
params
[
'sapmodid'
]
=
'bingoMapIndex'
;
params
[
'sapmodid'
]
=
'bingoMapIndex'
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
...
@@ -25,7 +25,7 @@ export class snpmAdStatic{
...
@@ -25,7 +25,7 @@ export class snpmAdStatic{
pageid
:
"aNVgWFAAaA"
,
pageid
:
"aNVgWFAAaA"
,
modid
:
"bingoDialog"
,
modid
:
"bingoDialog"
,
eleid
:
"bingoGroupAd"
,
eleid
:
"bingoGroupAd"
,
targeturl
:
adata
[
'apsClickUrl'
]
||
''
//
targeturl:adata['apsClickUrl']||''
}
}
params
[
'sapmodid'
]
=
'bingoDialog'
;
params
[
'sapmodid'
]
=
'bingoDialog'
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
...
@@ -36,7 +36,7 @@ export class snpmAdStatic{
...
@@ -36,7 +36,7 @@ export class snpmAdStatic{
pageid
:
"aNVgWFAAaA"
,
pageid
:
"aNVgWFAAaA"
,
modid
:
"bingoDialog"
,
modid
:
"bingoDialog"
,
eleid
:
"bingoLevelAd"
,
eleid
:
"bingoLevelAd"
,
targeturl
:
adata
[
'apsClickUrl'
]
||
''
//
targeturl:adata['apsClickUrl']||''
}
}
params
[
'sapmodid'
]
=
'bingoDialog'
;
params
[
'sapmodid'
]
=
'bingoDialog'
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
...
...
mock/happyclear/award.json
View file @
33518ae0
...
@@ -4,6 +4,13 @@
...
@@ -4,6 +4,13 @@
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"timestamp"
:
1579512019430
,
"timestamp"
:
1579512019430
,
"data"
:
{
"data"
:
{
"option"
:{
"img"
:
"//yun.dui88.com/images/202002/cskn0xnuov.png"
,
"categoryType"
:
7
,
"num"
:
"33"
,
"propType"
:
null
,
"realValue"
:
null
},
"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