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
Show 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,7 +7,7 @@ import wait from "../../libs/new_tc/wait";
...
@@ -7,7 +7,7 @@ import wait from "../../libs/new_tc/wait";
export
default
class
AdSmallComp
extends
ComponentBase
{
export
default
class
AdSmallComp
extends
ComponentBase
{
start
(
data
?)
{
start
(
data
?)
{
this
.
visible
=
false
;
this
.
visible
=
false
;
let
result
;
let
result
;
// this.touchEnabled = this.touchChildren = false;
// this.touchEnabled = this.touchChildren = false;
super
.
start
(
data
);
super
.
start
(
data
);
...
@@ -28,10 +28,10 @@ export default class AdSmallComp extends ComponentBase {
...
@@ -28,10 +28,10 @@ export default class AdSmallComp extends ComponentBase {
});
});
this
[
'img'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
[
'img'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
if
(
data
.
logid
)
if
(
data
.
logid
)
NetManager
.
ins
.
clickLog
(
getlogItem
(
data
.
logid
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
data
.
logid
));
wait
(
50
).
then
(()
=>
{
wait
(
50
).
then
(()
=>
{
window
.
location
.
href
=
result
.
url
;
if
(
result
.
url
!=
0
)
window
.
location
.
href
=
result
.
url
;
});
});
},
this
);
},
this
);
}
}
...
...
egret/src/mapScene/MapScene.ts
View file @
cb1a1f61
...
@@ -735,6 +735,7 @@ export default class MapScene extends Scene {
...
@@ -735,6 +735,7 @@ export default class MapScene extends Scene {
this
[
'adBtn'
].
source
=
result
.
img
;
this
[
'adBtn'
].
source
=
result
.
img
;
this
[
'adBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
[
'adBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
32
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
32
));
if
(
result
.
url
!=
0
)
window
.
location
.
href
=
result
.
url
;
window
.
location
.
href
=
result
.
url
;
},
this
);
},
this
);
}
}
...
...
egret/src/something/uis/GameGuide.ts
View file @
cb1a1f61
...
@@ -281,7 +281,8 @@ const chapterFuns = {
...
@@ -281,7 +281,8 @@ const chapterFuns = {
[
63
,
72
],
[
63
,
72
],
],
],
msg
:
[
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