Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
ls_gramophone_2
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
ls_gramophone_2
Commits
f1a1d594
Commit
f1a1d594
authored
Jan 06, 2023
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
279f0a69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ls_gramophone_2.ts
assets/ls_gramophone_2/scene/ls_gramophone_2.ts
+4
-1
No files found.
assets/ls_gramophone_2/scene/ls_gramophone_2.ts
View file @
f1a1d594
...
...
@@ -113,6 +113,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
_changStr
[
idx
].
push
(
null
);
});
});
this
.
isPlayBgAudio
=
true
;
}
private
initDown
()
{
let
g_down
=
cc
.
find
(
"
g_down
"
,
this
.
node
);
...
...
@@ -377,7 +378,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
record_stop
.
off
(
'
click
'
);
record_start
.
on
(
'
click
'
,
()
=>
{
this
.
playLocalAudio
(
'
btn
'
);
this
.
stopBgAudio
();
mask
.
active
=
true
;
// icon_record.getComponent(dragonBones.ArmatureDisplay).timeScale = 1;
...
...
@@ -447,6 +448,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
log
(
'
idx:
'
+
idx
);
if
(
window
[
'
courseware
'
])
{
this
.
playBgAudio
();
window
[
'
courseware
'
].
stopTest
((
res
)
=>
{
this
.
log
(
'
--------录音返回结果 stopTest ------------
'
);
this
.
log
(
'
res
'
+
res
);
...
...
@@ -487,6 +489,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
onHomeworkFinish
(
send
);
});
}
else
{
this
.
playBgAudio
();
if
(
idx
!==
-
1
)
{
let
g_middle
=
cc
.
find
(
"
g_middle
"
,
this
.
node
);
...
...
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