Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
East_L215
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
East_L215
Commits
56d69ff6
Commit
56d69ff6
authored
Apr 11, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev commit
parent
d0e39d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
play.component.ts
src/app/play/play.component.ts
+16
-4
No files found.
src/app/play/play.component.ts
View file @
56d69ff6
...
...
@@ -364,14 +364,26 @@ export class PlayComponent implements OnInit, OnDestroy {
})
this
.
subscribeMapUpEvent
(
`card-content-
${
index
}
`
,
()
=>
{
let
card
=
cardContent
if
(
card
.
canMove
){
if
(
card
Content
.
canMove
){
setTimeout
(()
=>
{
card
.
canMove
=
false
;
card
.
backToParent
()
card
Content
.
canMove
=
false
;
card
Content
.
backToParent
()
this
.
g_cartoon
.
getCartoonElement
(
`selected-card-hotzone`
).
hide
()
this
.
m_pickupCard
=
false
;
},
100
)
}
else
{
if
(
cardContent
.
parentID
&&
this
.
m_currentPickupCardID
){
let
pickupCard
=
this
.
g_cartoon
.
getCartoonElement
(
this
.
m_currentPickupCardID
)
if
(
cardContent
.
parentID
.
indexOf
(
"
hotzone
"
)
!=
-
1
&&
pickupCard
.
parentID
.
indexOf
(
"
hotzone
"
)
!=
-
1
){
let
temp
=
pickupCard
.
parentID
pickupCard
.
parentID
=
cardContent
.
parentID
cardContent
.
parentID
=
temp
cardContent
.
backToParent
()
}
}
}
this
.
g_enableMapUp
=
true
;
})
...
...
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