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
cb1a1f61
Commit
cb1a1f61
authored
Apr 28, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole
into dev
parents
516eedb9
b395da78
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
AdSmallComp.ts
egret/src/mapScene/AdSmallComp.ts
+5
-5
MapScene.ts
egret/src/mapScene/MapScene.ts
+2
-1
GameGuide.ts
egret/src/something/uis/GameGuide.ts
+2
-1
No files found.
egret/src/mapScene/AdSmallComp.ts
View file @
cb1a1f61
...
...
@@ -7,13 +7,13 @@ import wait from "../../libs/new_tc/wait";
export
default
class
AdSmallComp
extends
ComponentBase
{
start
(
data
?)
{
this
.
visible
=
false
;
this
.
visible
=
false
;
let
result
;
// this.touchEnabled = this.touchChildren = false;
super
.
start
(
data
);
NetManager
.
ins
.
hc_advert
(()
=>
{
const
{
data
}
=
DataManager
.
ins
.
getData
(
'hc_advert'
);
let
{
popupAdvert
}
=
data
;
let
{
popupAdvert
}
=
data
;
if
(
popupAdvert
==
null
)
popupAdvert
=
{
enable
:
false
,
advertList
:
[]
}
this
.
visible
=
popupAdvert
.
enable
;
...
...
@@ -28,10 +28,10 @@ export default class AdSmallComp extends ComponentBase {
});
this
[
'img'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
if
(
data
.
logid
)
if
(
data
.
logid
)
NetManager
.
ins
.
clickLog
(
getlogItem
(
data
.
logid
));
wait
(
50
).
then
(()
=>
{
window
.
location
.
href
=
result
.
url
;
wait
(
50
).
then
(()
=>
{
if
(
result
.
url
!=
0
)
window
.
location
.
href
=
result
.
url
;
});
},
this
);
}
...
...
egret/src/mapScene/MapScene.ts
View file @
cb1a1f61
...
...
@@ -735,7 +735,8 @@ export default class MapScene extends Scene {
this
[
'adBtn'
].
source
=
result
.
img
;
this
[
'adBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
32
));
window
.
location
.
href
=
result
.
url
;
if
(
result
.
url
!=
0
)
window
.
location
.
href
=
result
.
url
;
},
this
);
}
}
...
...
egret/src/something/uis/GameGuide.ts
View file @
cb1a1f61
...
...
@@ -281,7 +281,8 @@ const chapterFuns = {
[
63
,
72
],
],
msg
:
[
"将两个特效互相拖动即可直
\n
接触发组合特效,组合特效的效
\n
果视组合的两个特效类型而定"
"拖动两个特效即可触发
\n
组合特效"
// "将两个特效互相拖动即可直\n接触发组合特效,组合特效的效\n果视组合的两个特效类型而定"
// "五个相同动物形成一字型即可合成魔力花特效",
// "拖动魔力花特效即可直接触发"
]
...
...
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