Commit ff1772f6 authored by LMZ's avatar LMZ

feat: 表单完成

parent cb1367da
No preview for this file type
...@@ -128,5 +128,8 @@ ...@@ -128,5 +128,8 @@
} }
} }
}, },
"defaultProject": "ng-template-generator" "defaultProject": "ng-template-generator",
"cli": {
"analytics": false
}
} }
\ No newline at end of file
...@@ -7,29 +7,20 @@ ...@@ -7,29 +7,20 @@
} }
.radioPaire { .question-box {
float: left; width: 1000px;
margin: 3px; border: 1px solid #ccc;
border-style: dashed; padding: 25px;
border-color: #000;
border-width: 1px;
}
.border {
border-radius: 20px; border-radius: 20px;
border-style: dashed; margin-bottom: 20px;
padding: 20px;
margin: 20px;
/*width: 500px; */
/*//border-radius: 20px;*/
/*//border-width: 2px;*/
/*//border-color: #000000;*/
} }
.border-lite { .group-box {
border: 2px dashed #ddd; width: 1050px;
border-radius: 0.5rem; border: 2px solid #ccc;
padding: 10px; padding: 25px;
margin: 10px; border-radius: 20px;
margin-bottom: 20px;
} }
<div class="model-content"> <div class="model-content">
<div style="padding: 10px;"> <div style="padding: 30px">
<div style="width: 300px;" align='center'> <div>
<span>图1: </span> <span>发音方式:</span>
<app-upload-image-with-preview <nz-radio-group [(ngModel)]="item.style" style="margin-left: 20px; margin-top: -11px; margin-bottom: 15px;" (ngModelChange)="save()">
[picUrl]="item.pic_url" <label nz-radio nzValue="America">英音</label>
(imageUploaded)="onImageUploadSuccess($event, 'pic_url')"> <label nz-radio nzValue="UK">美音</label>
</app-upload-image-with-preview> </nz-radio-group>
</div>
<div>
<span>练习方式:</span>
<nz-radio-group [(ngModel)]="item.batch" style="margin-left: 20px; margin-top: -11px; margin-bottom: 15px;" (ngModelChange)="save()">
<label nz-radio nzValue="all">看完再练</label>
<label nz-radio nzValue="one">边看边练</label>
</nz-radio-group>
</div>
<div *ngFor="let g of item.groupArr; let gi = index" class="group-box">
<div style="display: flex; align-items: center;">
<h1>组-{{gi+1}}</h1>
<button style="margin-left: 50px; margin-bottom: 12px;" nz-button nzType="danger" nzsize="small" (click)="deleteGroup(gi)">删除本组</button>
</div>
<div *ngFor="let q of g.questionArr; let qi = index" class="question-box" style="height: 100px; width: 500px; display: flex; align-items: center; justify-content: center; ">
<input type="text" nz-input [(ngModel)]="q.letter" (blur)="save()" style="width: 200px;" maxlength="2">
<app-audio-recorder
*ngIf="q.letter?.length > 1"
[audioUrl]="q.audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'audio_url', q)"
></app-audio-recorder>
<button style="margin-left: 10px; " nz-button nzType="danger" nzsize="small" (click)="deleteQuestion(g, qi)">X</button>
<!-- <h1>题-{{qi + 1}}</h1>
<div style="display: flex; align-items: center; ">
<h2> 题干类型: </h2>
<nz-radio-group [(ngModel)]="q.questionType" style="margin-left: 20px; margin-top: -11px" (ngModelChange)="save()">
<label nz-radio nzValue="text">文本</label>
<label nz-radio nzValue="pic">图片</label>
<label nz-radio nzValue="audio">音频</label>
<label nz-radio nzValue="video">视频</label>
</nz-radio-group>
<button style="margin-left: 100px; margin-bottom: 12px;" nz-button nzType="danger" nzsize="small" (click)="deleteQuestion(g, qi)">删除本题</button>
</div> </div>
<div style="width: 300px; margin-top: 5px;" align='center'> <div style="width: 700px">
<span>图2: </span> <div *ngIf="q.questionType == 'text'">
<input type="text" nz-input [(ngModel)]="q.text" (blur)="save()">
</div>
<div *ngIf="q.questionType == 'pic'" style="width: 80%">
<app-upload-image-with-preview <app-upload-image-with-preview
[picUrl]="item.pic_url_2" [picUrl]="q.pic_url"
(imageUploaded)="onImageUploadSuccess($event, 'pic_url_2')"> (imageUploaded)="onImageUploadSuccess($event, 'pic_url', q)"
</app-upload-image-with-preview> ></app-upload-image-with-preview>
</div> </div>
<div style="width: 300px; margin-top: 15px;"> <div *ngIf="q.questionType != 'video'">
<span>文本: </span> <app-audio-recorder
<input type="text" nz-input [(ngModel)]="item.text" (blur)="save()"> [audioUrl]="q.audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'audio_url', q)"
></app-audio-recorder>
</div> </div>
<div style="margin-top: 5px"> <div *ngIf="q.questionType == 'video'">
<span>音频: </span> <app-upload-video
(videoUploaded)="onVideoUploadSuccess($event, q)"
[item]="q"
[videoUrl]="q.video_url"></app-upload-video>
</div>
</div>
<nz-divider style=" margin-top: 30px; margin-bottom: 30px;"></nz-divider>
<div style="display: flex; align-items: center;">
<h2> 答案类型: </h2>
<nz-radio-group [(ngModel)]="q.answerType" style="margin-left: 20px; margin-top: -11px" (ngModelChange)="save()">
<label nz-radio nzValue="text">文本</label>
<label nz-radio nzValue="pic">图片</label>
<label nz-radio nzValue="audio">音频</label>
</nz-radio-group>
</div>
<div *ngFor="let it of q.answerArr; let i = index">
<div style="margin-bottom: 30px; width : 500px; border: 1px solid #ccc; border-radius: 10px; padding: 5px;">
<span> 答案{{i+1}}: </span>
<nz-radio-group style="margin-left: 20px; margin-bottom: 5px;" [(ngModel)]="it.answerRight" (ngModelChange)="save()">
<label nz-radio nzValue="0">错误</label>
<label nz-radio nzValue="1">正确</label>
<button style="margin-left: 240px" nz-button nzType="danger" nzsize="small" (click)="deleteAnswer(q, i)">X</button>
</nz-radio-group>
<input *ngIf="q.answerType == 'text'" type="text" nz-input [(ngModel)]="it.text" (blur)="save()">
<app-upload-image-with-preview
*ngIf="q.answerType == 'pic'"
[picUrl]="it.pic_url"
(imageUploaded)="onImageUploadSuccess($event, 'pic_url', it)"
></app-upload-image-with-preview>
<app-audio-recorder <app-audio-recorder
[audioUrl]="item.audio_url" [audioUrl]="it.audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'audio_url')" (audioUploaded)="onAudioUploadSuccess($event, 'audio_url', it)"
></app-audio-recorder> ></app-audio-recorder>
</div> </div>
</div>
<div *ngIf="q.answerArr?.length < 4" style="padding: 30px;" >
<button nz-button nzType="dashed" style="width: 150px; height: 50px; margin-top: -30px; margin-left: -30px" (click)="addAnswer(q)">添加答案</button>
</div> -->
</div> </div>
<div style="padding: 30px;" >
<button nz-button nzType="dashed" style="width: 200px; height: 100px; margin-top: 10px; margin-left: -30px" (click)="addQuestion(g)">添加字母</button>
</div>
</div>
<div style="padding: 30px;" >
<button nz-button nzType="dashed" style="width: 200px; height: 100px; margin-top: 30px; margin-left: -30px" (click)="addGroup()">添加新组</button>
</div>
</div>
</div> </div>
import { Component, EventEmitter, Input, OnDestroy, OnChanges, OnInit, Output, ApplicationRef, ChangeDetectorRef } from '@angular/core'; import {Component, EventEmitter, Input, OnDestroy, OnChanges, OnInit, Output, ApplicationRef, ChangeDetectorRef} from '@angular/core';
import { JsonPipe } from '@angular/common';
@Component({ @Component({
...@@ -10,56 +10,112 @@ import { JsonPipe } from '@angular/common'; ...@@ -10,56 +10,112 @@ import { JsonPipe } from '@angular/common';
export class FormComponent implements OnInit, OnChanges, OnDestroy { export class FormComponent implements OnInit, OnChanges, OnDestroy {
// 储存数据用 // 储存数据用
saveKey = "test_001"; saveKey = "pu_app_xuanze";
// 储存对象 // 储存对象
item; item;
constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef) {
} constructor(private appRef: ApplicationRef,private changeDetectorRef: ChangeDetectorRef) {
createShell() {
this.item.wordList.push({
word: '',
audio: '',
backWord: '',
backWordAudio: '',
});
this.save();
} }
removeShell(idx) {
this.item.wordList.splice(idx, 1);
this.save();
}
ngOnInit() { ngOnInit() {
this.item = {}; this.item = {};
// 获取存储的数据 // 获取存储的数据
(<any>window).courseware.getData((data) => { (<any> window).courseware.getData((data) => {
if (data) { if (data) {
this.item = data; this.item = data;
} }
// this.item = JSON.parse('{"questionType":"text","answerType":"text","answerArr":[{"text":"","pic_url":"","answerRight":"0"},{"text":"","pic_url":"","answerRight":"0"},{"text":"","pic_url":"","answerRight":"0"}],"questionArr":[{"questionType":"text","answerType":"text","answerArr":[{"text":"aaaaa","pic_url":"","answerRight":"0"},{"text":"bb","pic_url":"","answerRight":"1"},{"text":"ccccc","pic_url":"","answerRight":"0","audio_url":"http://staging-teach.cdn.ireadabc.com/b004c86f1a26a367cfa329b11e365f0f.mp3"}],"text":"11112","audio_url":"http://staging-teach.cdn.ireadabc.com/ce693028675b6324506ebfe45974e4c1.mp3"},{"questionType":"pic","answerType":"pic","answerArr":[{"text":"","pic_url":"http://staging-teach.cdn.ireadabc.com/56cf568aebe7ddfa75a0ac3366942241.png","answerRight":"0"},{"text":"","pic_url":"http://staging-teach.cdn.ireadabc.com/9340adda6869dd31a63b9d85a3f9ffe5.png","answerRight":"1","audio_url":"http://staging-teach.cdn.ireadabc.com/6725c1d93e9dbfbfc937ce3611b12631.mp3"}],"text":"22222","pic_url":"http://staging-teach.cdn.ireadabc.com/2d29dffee7d7fefea19ef7c8ea566072.png"},{"questionType":"audio","answerType":"audio","answerArr":[{"text":"","pic_url":"","answerRight":"0","audio_url":"http://staging-teach.cdn.ireadabc.com/519b8f68a4ebd96ee0405d945ca65489.mp3"},{"text":"","pic_url":"","answerRight":"1","audio_url":"http://staging-teach.cdn.ireadabc.com/b363bf8aaddd56ec977ce233f5d46be1.mp3"}],"audio_url":"http://staging-teach.cdn.ireadabc.com/7934cdcec68eabe639020bad5420d7f8.mp3"},{"questionType":"video","answerType":"text","answerArr":[{"text":"444444","pic_url":"","answerRight":"0"},{"text":"3333333","pic_url":"","answerRight":"1","audio_url":"http://staging-teach.cdn.ireadabc.com/f67df2a0dd444837299a3bede235c9d6.mp3"}],"video_url":"http://staging-teach.cdn.ireadabc.com/1ac7eb5446e806b562ec47ad88b092c9.mp4"}],"audio_url":"http://staging-teach.cdn.ireadabc.com/ce693028675b6324506ebfe45974e4c1.mp3"}');
console.log("this.item: ", JSON.stringify(this.item));
this.init(); this.init();
this.changeDetectorRef.markForCheck(); this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges(); this.changeDetectorRef.detectChanges();
this.refresh(); this.refresh();
}, this.saveKey); }, this.saveKey);
} }
ngOnChanges() { ngOnChanges() {
} }
ngOnDestroy() { ngOnDestroy() {
} }
init() { init() {
if (!this.item.style) {
this.item.style = 'America'
}
if (!this.item.batch) {
this.item.batch = 'all'
}
// if (!this.item.questionArr) {
// this.item.questionArr = [];
// }
// if (!this.item.questionType) {
// this.item.questionType = 'text';
// this.item.answerType = 'text';
// this.item.answerArr = [];
// }
}
addGroup() {
this.item.groupArr.push({
questionArr: []
});
this.save();
}
deleteGroup(i) {
this.item.groupArr.splice(i , 1);
this.save();
}
addQuestion(group) {
const ques = {
questionType : 'text',
answerType : 'text',
answerArr : [],
}
group.questionArr.push(ques);
this.save();
}
deleteQuestion(group, i) {
console.log('```group: ', group);
console.log('```i: ', i);
group.questionArr.splice(i , 1);
this.save();
}
deleteAnswer(item, i) {
item.answerArr.splice(i, 1);
this.save();
}
addAnswer(q) {
q.answerArr.push({
text: '',
pic_url: '',
answerRight: '0',
});
this.save();
} }
...@@ -67,9 +123,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -67,9 +123,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
* 储存图片数据 * 储存图片数据
* @param e * @param e
*/ */
onImageUploadSuccess(e, key) { onImageUploadSuccess(e, key, item = null) {
this.item[key] = e.url; if (!item) {
item = this.item;
}
item[key] = e.url;
this.save(); this.save();
} }
...@@ -77,18 +136,18 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -77,18 +136,18 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
* 储存音频数据 * 储存音频数据
* @param e * @param e
*/ */
onAudioUploadSuccess(e, key) { onAudioUploadSuccess(e, key, item=null) {
this.item[key] = e.url;
this.save();
}
onWordAudioUploadSuccess(e, idx) { if (!item) {
this.item.wordList[idx].audio = e.url; item = this.item;
}
item[key] = e.url;
this.save(); this.save();
} }
onBackWordAudioUploadSuccess(e, idx) {
this.item.wordList[idx].backWordAudio = e.url; onVideoUploadSuccess(e, item) {
item.video_url = e.url;
this.save(); this.save();
} }
...@@ -96,10 +155,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -96,10 +155,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
* 储存数据 * 储存数据
*/ */
save() { save() {
(<any>window).courseware.setData(this.item, null, this.saveKey); (<any> window).courseware.setData(this.item, null, this.saveKey);
this.refresh(); this.refresh();
console.log('this.item = ' + JSON.stringify(this.item));
} }
/** /**
...@@ -112,3 +169,4 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -112,3 +169,4 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
} }
} }
This diff is collapsed.
{
"ver": "1.1.2",
"uuid": "e976091a-1c92-4be8-bdef-e61b8d23d13d",
"isBundle": true,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": true,
"android": true
},
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32", "uuid": "75aa2c1b-1b9f-420f-a059-a50a0857fdf6",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae", "uuid": "4bb574ab-d8a9-4a02-8081-cd22c8b5fb23",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "uuid": "fa4d888d-4425-40c0-83f7-f8c5cd892d0b",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 61, "width": 63,
"height": 67, "height": 68,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_left": { "btn_laba": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5", "uuid": "07a58438-24ac-46ef-acad-275a36ecd8ab",
"rawTextureUuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "rawTextureUuid": "fa4d888d-4425-40c0-83f7-f8c5cd892d0b",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 61, "width": 63,
"height": 67, "height": 68,
"rawWidth": 61, "rawWidth": 63,
"rawHeight": 67, "rawHeight": 68,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "uuid": "71fd5385-83aa-4d73-baeb-460a8379c1cc",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 366, "width": 63,
"height": 336, "height": 68,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1orange": { "btn_laba2": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa", "uuid": "736831ca-2860-4e8f-b22e-417696a7093c",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "rawTextureUuid": "71fd5385-83aa-4d73-baeb-460a8379c1cc",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 1, "trimY": 0,
"width": 366, "width": 63,
"height": 335, "height": 68,
"rawWidth": 366, "rawWidth": 63,
"rawHeight": 336, "rawHeight": 68,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "cb6a98b5-6958-4520-bec1-ce1056bc01ea",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 63,
"height": 68,
"platformSettings": {},
"subMetas": {
"btn_laba3": {
"ver": "1.0.4",
"uuid": "0b0a7597-1a72-48f5-924e-ad2dbf733d25",
"rawTextureUuid": "cb6a98b5-6958-4520-bec1-ce1056bc01ea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 63,
"height": 68,
"rawWidth": 63,
"rawHeight": 68,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2a467c38-7699-49f8-aad7-2213da46a3ba",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 63,
"height": 68,
"platformSettings": {},
"subMetas": {
"btn_laba4": {
"ver": "1.0.4",
"uuid": "79ca7f43-aacd-43c9-803b-111602421022",
"rawTextureUuid": "2a467c38-7699-49f8-aad7-2213da46a3ba",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 63,
"height": 68,
"rawWidth": 63,
"rawHeight": 68,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "laba",
"_objFlags": 0,
"_native": "",
"_duration": 0.35,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "07a58438-24ac-46ef-acad-275a36ecd8ab"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "736831ca-2860-4e8f-b22e-417696a7093c"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "0b0a7597-1a72-48f5-924e-ad2dbf733d25"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "79ca7f43-aacd-43c9-803b-111602421022"
}
},
{
"frame": 0.3333333333333333,
"value": {
"__uuid__": "07a58438-24ac-46ef-acad-275a36ecd8ab"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "e01464cd-bf75-4d4a-8243-a4604d675fec",
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b", "uuid": "af6afa75-6b41-4c9e-9238-bd69b56d3763",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{
"ver": "2.3.5",
"uuid": "899a2db7-60b0-4ca7-a07e-777edaef98ab",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 150,
"height": 121,
"platformSettings": {},
"subMetas": {
"btn_audio0": {
"ver": "1.0.4",
"uuid": "1c70d9eb-1034-4997-a6fb-aea058d39beb",
"rawTextureUuid": "899a2db7-60b0-4ca7-a07e-777edaef98ab",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 150,
"height": 121,
"rawWidth": 150,
"rawHeight": 121,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7fe0cda8-17b1-492a-b87c-14a682d1f838",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 150,
"height": 121,
"platformSettings": {},
"subMetas": {
"btn_audio1": {
"ver": "1.0.4",
"uuid": "69eb205c-4901-452f-b4c8-989c1227830e",
"rawTextureUuid": "7fe0cda8-17b1-492a-b87c-14a682d1f838",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 14.5,
"offsetY": 0,
"trimX": 29,
"trimY": 0,
"width": 121,
"height": 121,
"rawWidth": 150,
"rawHeight": 121,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cabcdd1a-b71e-4382-9ffd-8a474bcc2129",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 150,
"height": 121,
"platformSettings": {},
"subMetas": {
"btn_audio2": {
"ver": "1.0.4",
"uuid": "7b2bd629-77ac-4fc8-9ee7-569ed0ed3a59",
"rawTextureUuid": "cabcdd1a-b71e-4382-9ffd-8a474bcc2129",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 14.5,
"offsetY": 0,
"trimX": 29,
"trimY": 0,
"width": 121,
"height": 121,
"rawWidth": 150,
"rawHeight": 121,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "op_audio",
"_objFlags": 0,
"_native": "",
"_duration": 0.26666666666666666,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "1c70d9eb-1034-4997-a6fb-aea058d39beb"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "69eb205c-4901-452f-b4c8-989c1227830e"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "7b2bd629-77ac-4fc8-9ee7-569ed0ed3a59"
}
},
{
"frame": 0.21666666666666667,
"value": {
"__uuid__": "1c70d9eb-1034-4997-a6fb-aea058d39beb"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "1c70d9eb-1034-4997-a6fb-aea058d39beb"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "990c93ef-ffbd-4d38-8e32-a403d2f4ff97",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "10154cf9-b9c1-41f6-a23c-d49e16c1ee57",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2303c16e-22bf-4edd-ae0d-44869fd75df0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 105,
"height": 126,
"platformSettings": {},
"subMetas": {
"btn_1": {
"ver": "1.0.4",
"uuid": "0bf14665-ae47-49d9-8b19-1a0f3b38036e",
"rawTextureUuid": "2303c16e-22bf-4edd-ae0d-44869fd75df0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 105,
"height": 126,
"rawWidth": 105,
"rawHeight": 126,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ad2bfb68-de98-4902-b035-3b40f23ebf2a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 105,
"height": 126,
"platformSettings": {},
"subMetas": {
"btn_2": {
"ver": "1.0.4",
"uuid": "64df225a-c5d8-417e-b93a-06034a128796",
"rawTextureUuid": "ad2bfb68-de98-4902-b035-3b40f23ebf2a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 105,
"height": 126,
"rawWidth": 105,
"rawHeight": 126,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "58fe3a70-083e-4c83-892e-7685eba8c82b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 105,
"height": 126,
"platformSettings": {},
"subMetas": {
"btn_3": {
"ver": "1.0.4",
"uuid": "e8ffef6e-2426-4de5-b185-2bd4ec3556a8",
"rawTextureUuid": "58fe3a70-083e-4c83-892e-7685eba8c82b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 105,
"height": 126,
"rawWidth": 105,
"rawHeight": 126,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f94c6c62-0fb0-4d41-9fad-4b58136853ae",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 105,
"height": 126,
"platformSettings": {},
"subMetas": {
"btn_4": {
"ver": "1.0.4",
"uuid": "cad38fe3-a460-40bf-9b80-d57ee36ce2d6",
"rawTextureUuid": "f94c6c62-0fb0-4d41-9fad-4b58136853ae",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 105,
"height": 126,
"rawWidth": 105,
"rawHeight": 126,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "ques_audio",
"_objFlags": 0,
"_native": "",
"_duration": 0.35,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "0bf14665-ae47-49d9-8b19-1a0f3b38036e"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "64df225a-c5d8-417e-b93a-06034a128796"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "e8ffef6e-2426-4de5-b185-2bd4ec3556a8"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "cad38fe3-a460-40bf-9b80-d57ee36ce2d6"
}
},
{
"frame": 0.3333333333333333,
"value": {
"__uuid__": "0bf14665-ae47-49d9-8b19-1a0f3b38036e"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "802d460c-c4c2-4976-bbf0-14feb3750881",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "a7bae982-984d-487c-b12a-d53623796005",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "audio_big",
"_objFlags": 0,
"_native": "",
"_duration": 0.35,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "62f365b3-09fd-40b6-8227-f0cc48d2ca4a"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "bec42e56-98de-4cf2-afa0-20d383ba4758"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "2e26f95f-430d-4f06-8124-9da0e739a9e0"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "47bfa6e9-d33a-4d8a-a261-6189176ee7b8"
}
},
{
"frame": 0.3333333333333333,
"value": {
"__uuid__": "62f365b3-09fd-40b6-8227-f0cc48d2ca4a"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "0dab7b62-6bff-451d-bce3-55f0509129f9",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0c89dc58-eab0-43d4-92ee-c3affb960f50",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 162,
"height": 167,
"platformSettings": {},
"subMetas": {
"btn_tigan": {
"ver": "1.0.4",
"uuid": "62f365b3-09fd-40b6-8227-f0cc48d2ca4a",
"rawTextureUuid": "0c89dc58-eab0-43d4-92ee-c3affb960f50",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 162,
"height": 167,
"rawWidth": 162,
"rawHeight": 167,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5efc281d-c4f4-44fc-b0df-8c28d0047928",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 162,
"height": 167,
"platformSettings": {},
"subMetas": {
"btn_tigan2": {
"ver": "1.0.4",
"uuid": "bec42e56-98de-4cf2-afa0-20d383ba4758",
"rawTextureUuid": "5efc281d-c4f4-44fc-b0df-8c28d0047928",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 162,
"height": 167,
"rawWidth": 162,
"rawHeight": 167,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e3034287-f01f-418e-8a3b-eca9e25e065a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 162,
"height": 167,
"platformSettings": {},
"subMetas": {
"btn_tigan3": {
"ver": "1.0.4",
"uuid": "2e26f95f-430d-4f06-8124-9da0e739a9e0",
"rawTextureUuid": "e3034287-f01f-418e-8a3b-eca9e25e065a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 162,
"height": 167,
"rawWidth": 162,
"rawHeight": 167,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ddc293a8-9092-41af-978e-4f49fc801159",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 162,
"height": 167,
"platformSettings": {},
"subMetas": {
"btn_tigan4": {
"ver": "1.0.4",
"uuid": "47bfa6e9-d33a-4d8a-a261-6189176ee7b8",
"rawTextureUuid": "ddc293a8-9092-41af-978e-4f49fc801159",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 162,
"height": 167,
"rawWidth": 162,
"rawHeight": 167,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "892ff52a-178d-4a9e-874c-b17a22eae615",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "0af7f03b-039d-4ab2-b9a0-f4bd44320859",
"downloadMode": 0,
"duration": 1.776327,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b", "uuid": "edc9bb14-e27c-4fd3-a87d-d4ea7a01f3b8",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.130612, "duration": 0.130612,
"subMetas": {} "subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "b5acb246-88ad-491b-acf4-3ad84f0bc84b",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "ae679fe2-69b2-45fd-a5f9-1c51f38cf077",
"downloadMode": 0,
"duration": 2.220408,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "4fa481d7-28d6-461c-919b-2d3c6a521dce",
"downloadMode": 0,
"duration": 0.173333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "a262fe60-ad0a-4177-8075-70541510bdfd",
"downloadMode": 0,
"duration": 2.115917,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "58f5e868-6053-4ff9-a177-146b47bbf6ba",
"downloadMode": 0,
"duration": 0.264,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541", "uuid": "f9ff87df-13c3-4529-838a-93336988cede",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
This diff is collapsed.
{ {
"ver": "1.2.9", "ver": "1.2.9",
"uuid": "57ea7c61-9b8b-498a-b024-c98ee9124beb", "uuid": "5e0a03aa-9b9e-4076-b508-7dbf209bb115",
"asyncLoadAssets": false, "asyncLoadAssets": false,
"autoReleaseAssets": true, "autoReleaseAssets": true,
"subMetas": {} "subMetas": {}
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d", "uuid": "0bdf31a9-a3f4-41ec-aa7c-f93ebd2f6505",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
This diff is collapsed.
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5", "uuid": "40eb8e96-d0cf-4860-9228-b8975b9e2db5",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
This diff is collapsed.
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598", "uuid": "e2e0dcb5-f556-4545-b84a-3e9fb09c0a68",
"isPlugin": true, "isPlugin": true,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353", "uuid": "25ccf041-bdf3-4b6a-8683-c24e4c39fed4",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "2582562a-54bb-483a-8483-727d57c6c974",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.0", "ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1", "uuid": "f4ebd988-078f-4f85-b843-133e12c5774e",
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
This diff is collapsed.
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "e1b4d971-9876-4832-803a-5a321964a78b", "uuid": "d9e1514c-10d5-4e20-acb8-17e57fc3d1e5",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
"subMetas": { "subMetas": {
"bg": { "bg": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8288e3d4-4c75-4b27-8f01-f7014417f4dd", "uuid": "8f91b960-a198-4876-9fe1-f956ecbd765b",
"rawTextureUuid": "e1b4d971-9876-4832-803a-5a321964a78b", "rawTextureUuid": "d9e1514c-10d5-4e20-acb8-17e57fc3d1e5",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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