Commit 5de85225 authored by liujiaxin's avatar liujiaxin

feat: init

parent 4e17a6b5
<div class="model-content"> <div class="model-content">
<div style="padding: 10px;"> <div style="padding: 10px;">
<div style="margin-top: 5px">
<span>开头音频: </span>
<app-audio-recorder
[audioUrl]="item.begin_audio"
(audioUploaded)="onAudioUploadSuccess($event, 'begin_audio')"
></app-audio-recorder>
</div>
<div style="margin-top: 5px">
<span>背景循环音频: </span>
<app-audio-recorder
[audioUrl]="item.playing_audio"
(audioUploaded)="onAudioUploadSuccess($event, 'playing_audio')"
></app-audio-recorder>
</div>
<div style="margin-top: 5px">
<span>结尾音频: </span>
<app-audio-recorder
[audioUrl]="item.end_audio"
(audioUploaded)="onAudioUploadSuccess($event, 'end_audio')"
></app-audio-recorder>
</div>
<h2>热区配置:</h2> <h2>热区配置:</h2>
<app-custom-hot-zone <app-custom-hot-zone
[bgItem]="item.bgItem" [bgItem]="item.bgItem"
......
...@@ -10,21 +10,22 @@ import { JsonPipe } from '@angular/common'; ...@@ -10,21 +10,22 @@ import { JsonPipe } from '@angular/common';
export class FormComponent implements OnInit, OnChanges, OnDestroy { export class FormComponent implements OnInit, OnChanges, OnDestroy {
// 储存数据用 // 储存数据用
saveKey = "test_001"; saveKey = 'test_op15';
// 储存对象 // 储存对象
item; item;
customTypeGroupArr = [ customTypeGroupArr = [
{ {
name: '轮播图片', name: '动画',
anima: true, anima: true,
// audio: true, audio: true,
// pic: true, // pic: true,
rect: true, rect: true,
// text: true,
// isShowPos: true, // isShowPos: true,
// isCopy: true, // isCopy: true,
// label: '比对', label: '开始提示时间点',
}, },
]; ];
saveHotZone(group, e) { saveHotZone(group, e) {
......
...@@ -57,7 +57,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -57,7 +57,7 @@ export class PlayComponent implements OnInit, OnDestroy {
canvasLeft; canvasLeft;
canvasTop; canvasTop;
saveKey = 'test_0011'; saveKey = 'test_op15';
btnLeft; btnLeft;
......
This diff is collapsed.
This diff is collapsed.
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 2560, "width": 1280,
"height": 1920, "height": 960,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg": { "bg": {
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 937, "width": 469,
"height": 730, "height": 365,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"m1": { "m1": {
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 474, "width": 237,
"height": 610, "height": 305,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"m2": { "m2": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment