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
1d9048ad
Commit
1d9048ad
authored
Oct 16, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9a3eb009
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
MapScene.ts
egret/src/mapScene/MapScene.ts
+6
-7
advert.json
mock/happyclear/advert.json
+3
-3
No files found.
egret/src/mapScene/MapScene.ts
View file @
1d9048ad
...
@@ -102,14 +102,13 @@ export default class MapScene extends Scene {
...
@@ -102,14 +102,13 @@ export default class MapScene extends Scene {
noticeAdvert
=
{
enable
:
false
}
noticeAdvert
=
{
enable
:
false
}
}
}
// if(oldTimerStr2 != nowTimerStr2 && noticeAdvert && noticeAdvert.enable) {
if
(
noticeAdvert
&&
noticeAdvert
.
enable
)
{
if
(
!
adTag
)
{
if
(
!
adTag
)
{
panels
.
push
(
'ad'
);
panels
.
push
(
'ad'
);
adTag
=
true
;
adTag
=
true
;
}
// localStorage.setItem('nowTimer2Str' + window['CFG'].consumerId, nowTimerStr2);
}
}
// localStorage.setItem('nowTimer2Str' + window['CFG'].consumerId, nowTimerStr2);
// }
const
{
signInfoVO
}
=
DataManager
.
ins
.
getData
(
'getSignInfo'
);
const
{
signInfoVO
}
=
DataManager
.
ins
.
getData
(
'getSignInfo'
);
if
(
signInfoVO
.
continueDay
<
7
)
{
if
(
signInfoVO
.
continueDay
<
7
)
{
...
...
mock/happyclear/advert.json
View file @
1d9048ad
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"timestamp"
:
1566199822308
,
"timestamp"
:
1566199822308
,
"data"
:{
"data"
:{
"popupAdvert"
:{
"popupAdvert"
:{
"enable"
:
true
,
"enable"
:
0
,
"advertList"
:[
"advertList"
:[
{
{
"img"
:
"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg"
,
"img"
:
"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg"
,
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
]
]
},
},
"noticeAdvert"
:{
"noticeAdvert"
:{
"enable"
:
true
,
"enable"
:
0
,
"advertList"
:[
"advertList"
:[
{
{
"img"
:
"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg"
,
"img"
:
"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg"
,
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
]
]
},
},
"mapAdvert"
:{
"mapAdvert"
:{
"enable"
:
false
,
"enable"
:
0
,
"advertList"
:[
"advertList"
:[
{
{
"img"
:
"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg"
,
"img"
:
"http://yun.dui88.com/images/201909/lsh4tdkp5n.jpg"
,
...
...
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