Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
video_letter_card
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
video_letter_card
Commits
f2b7773e
Commit
f2b7773e
authored
Jun 27, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
505cbc5b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
video_letter_card.js
assets/video_letter_card/scene/video_letter_card.js
+17
-12
No files found.
assets/video_letter_card/scene/video_letter_card.js
View file @
f2b7773e
...
@@ -607,7 +607,7 @@ cc.Class({
...
@@ -607,7 +607,7 @@ cc.Class({
}
}
},
},
showTipRemoveCard
()
{
showTipRemoveCard
(
cb
)
{
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
if
(
middleLayer
)
{
if
(
middleLayer
)
{
const
script
=
middleLayer
.
getComponent
(
'
middleLayer
'
);
const
script
=
middleLayer
.
getComponent
(
'
middleLayer
'
);
...
@@ -619,7 +619,8 @@ cc.Class({
...
@@ -619,7 +619,8 @@ cc.Class({
this
.
videoNode
.
active
=
true
;
this
.
videoNode
.
active
=
true
;
this
.
videoNode
.
zIndex
=
20
;
this
.
videoNode
.
zIndex
=
20
;
this
.
startTesting
();
// this.startTesting();
cb
();
})
})
}
}
...
@@ -631,8 +632,6 @@ cc.Class({
...
@@ -631,8 +632,6 @@ cc.Class({
script
.
closeTipAnim
()
script
.
closeTipAnim
()
}
}
})
})
}
else
{
}
}
},
},
...
@@ -1408,8 +1407,8 @@ cc.Class({
...
@@ -1408,8 +1407,8 @@ cc.Class({
if
(
!
this
.
isFristPlayEnd
)
{
if
(
!
this
.
isFristPlayEnd
)
{
//首次结束
//首次结束
this
.
showTipRemoveCard
();
//
this.showTipRemoveCard();
this
.
startTesting
();
this
.
isFristPlayEnd
=
true
;
this
.
isFristPlayEnd
=
true
;
}
}
// this.showVideoBtn();
// this.showVideoBtn();
...
@@ -2297,12 +2296,18 @@ cc.Class({
...
@@ -2297,12 +2296,18 @@ cc.Class({
}
}
await
asyncDelay
(
0.3
);
// await asyncDelay(0.3);
this
.
showTipRemoveCard
(()
=>
{
this
.
showCurQues
();
this
.
showCurQues
();
this
.
showCurQuesLetter
();
this
.
showCurQuesLetter
();
this
.
needEmitBubbleArr
=
[];
this
.
needEmitBubbleArr
=
[];
this
.
isCanCheck
=
true
;
this
.
isCanCheck
=
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