Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xytk_cs_001
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
xytk_cs_001
Commits
86044a57
Commit
86044a57
authored
Mar 11, 2021
by
xytk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
39b31330
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
form.component.html
form/src/app/form/form.component.html
+1
-1
Bottom.ts
play/assets/tmpGame/script/Bottom.ts
+6
-0
Scene.js
play/assets/tmpGame/script/Scene.js
+1
-0
No files found.
form/src/app/form/form.component.html
View file @
86044a57
...
...
@@ -39,7 +39,7 @@
</div>
<span
style=
"height: 30px; font-size: 18px;"
>
上传音频:
</span>
<app-audio-recorder
[
audioUrl
]="
item
.
audio_url
"
[
audioUrl
]="
option
.
audio_url
"
(
audioUploaded
)="
onAudioUploadSuccess2
($
event
,
'
audio_url
',
i
)"
></app-audio-recorder>
</div>
...
...
play/assets/tmpGame/script/Bottom.ts
View file @
86044a57
...
...
@@ -28,6 +28,12 @@ export default class NewClass extends cc.Component {
setAudioClip
(
ac
:
cc
.
AudioClip
){
this
.
text
.
getComponent
<
cc
.
AudioSource
>
(
cc
.
AudioSource
).
clip
=
ac
;
}
setText
(
text
:
string
){
this
.
text
.
getComponent
<
cc
.
Label
>
(
cc
.
Label
).
string
=
text
+
""
;
}
// start () {}
// update (dt) {}
...
...
play/assets/tmpGame/script/Scene.js
View file @
86044a57
...
...
@@ -143,6 +143,7 @@ cc.Class({
this
.
initData
();
this
.
initAudio
();
this
.
initView
();
this
.
bottomJs
.
setText
(
this
.
data
.
bottom_text
);
// this.initListener();
},
...
...
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