Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sun_cocos1
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
sun_cocos1
Commits
4236af29
Commit
4236af29
authored
Nov 25, 2020
by
tttal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试龙骨动画上传
parent
d83d5584
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
form.component.html
form/src/app/form/form.component.html
+5
-1
form.component.ts
form/src/app/form/form.component.ts
+6
-1
index.fire
play/assets/template/scene/index.fire
+2
-2
No files found.
form/src/app/form/form.component.html
View file @
4236af29
...
...
@@ -31,7 +31,11 @@
<span>
正确的选项(将随机排列左右):
</span>
<input
type=
"text"
nz-input
[(
ngModel
)]="
item
.
text2
"
(
blur
)="
save
()"
>
</div>
<app-upload-dragon-bone
[
btnName
]="[['配置骨骼动画']]"
[
animaNames
]="[[['
normal
']]]"
[
skeJsonData
]=
option
.
optionDragonBone
.
skeJsonData
[
texJsonData
]=
option
.
optionDragonBone
.
texJsonData
[
texPngData
]=
option
.
optionDragonBone
.
texPngData
(
save
)="
saveAnima
($
event
,
option
.
optionDragonBone
)"
(
refreshEmitter
)="
refresh
()"
>
</app-upload-dragon-bone>
<div
style=
"margin-top: 5px"
>
<span>
音频:
</span>
<app-audio-recorder
[
audioUrl
]="
item
.
audio_url
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
audio_url
')"
>
...
...
form/src/app/form/form.component.ts
View file @
4236af29
...
...
@@ -17,7 +17,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
constructor
(
private
appRef
:
ApplicationRef
,
private
changeDetectorRef
:
ChangeDetectorRef
)
{
}
saveAnima
(
event
,
group
)
{
group
.
skeJsonData
=
event
.
skeJsonData
;
group
.
texJsonData
=
event
.
texJsonData
;
group
.
texPngData
=
event
.
texPngData
;
this
.
save
();
}
createShell
()
{
this
.
item
.
wordList
.
push
({
word
:
''
,
...
...
play/assets/template/scene/index.fire
View file @
4236af29
...
...
@@ -90,7 +90,7 @@
"__id__": 14
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 68
...
...
@@ -189,7 +189,7 @@
"array": [
0,
0,
51
7.9642880229961
,
51
0.0889628290344
,
0,
0,
0,
...
...
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