Commit e34eeed3 authored by yu's avatar yu

表格,游戏调整

parent 93df25a3
{
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
{"ver":"1.1.2","uuid":"4e7ab4f4-4d24-404d-84db-f43ee5136c53","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b",
"uuid": "a524b137-f5ee-4fe1-befd-9845084aaf01",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.1.0",
"uuid": "0d5372fb-b93d-48bc-8fef-9dd83cd1c642",
"uuid": "1a6cda6f-7066-4a5d-b525-7798367f30e1",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32",
"uuid": "628d03bc-c5af-48b7-a4a5-2aa868c681c6",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b",
"uuid": "f45bebf9-f989-496e-820a-d0703ce71cc0",
"downloadMode": 0,
"duration": 0.130612,
"subMetas": {}
......
{
"ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae",
"uuid": "6da6224e-f2db-4311-98e6-27817fb84d21",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.0",
"uuid": "10d7986f-e45e-477c-a36c-013d0f2f6aa5",
"uuid": "5426cd8a-6b5d-4fb0-8117-3bf3bbb23936",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "48c24708-ba06-46b1-8333-46e2c69a9858",
"uuid": "b3b0a1d4-b8c9-4c58-88fd-d037cce1b608",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "57ac8728-e57f-4644-9c7a-aaac1c6f629a",
"uuid": "c9459d7c-e3d2-4aa1-9f58-1782c5cffcd4",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e8bd16b0-3804-45a9-a8ca-f52c02224f55",
"uuid": "0296ae2b-dcfd-49b1-b0b4-b2082699b1a6",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.2.9",
"uuid": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3",
"uuid": "dc6cadcb-bc4a-4828-aec9-68b2704af968",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"subMetas": {}
......
This diff is collapsed.
{
"ver": "1.0.8",
"uuid": "408a67f8-65fa-4cf1-8cf2-83e20e1a0fd5",
"uuid": "4c587a22-6159-427f-b38b-702a823b0726",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d",
"uuid": "78f3ccab-beba-462c-a398-db21c137d5c6",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
......@@ -53,8 +53,10 @@ export default class Item extends cc.Component {
this.scheduleOnce(() => {
this.node.height = this.label.getRows() * 48; // 更新节点高度
if (this.node.width - this.label.getLastStringLenght() >= 170 - 48) {
let c = this.node.width - this.label.getLastStringLenght();
// console.log(str);
// console.log("c: " + c);
if (this.node.width - this.label.getLastStringLenght() >= 118) {//170-48
this.record.getComponent(cc.Widget).enabled = false;
this.record_click.getComponent(cc.Widget).enabled = false;
this.myrecord.getComponent(cc.Widget).enabled = false;
......
{
"ver": "1.0.8",
"uuid": "23ce4337-c8da-486e-adc3-f1ff0822ba3e",
"uuid": "9085a77f-dbb0-4c4c-a9f7-bccfa223fce4",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.0.8",
"uuid": "f8b451ff-857c-4ca8-9870-866bc5154a29",
"uuid": "a7cdc836-7521-45e3-b392-ece599e652ce",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
......@@ -8,36 +8,65 @@
*/
export const defaultData = {
title: '标题标题',
questionText: '题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明',
questionTextAudio: 'http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3',
pageImage: 'http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg', // 左边的图片
pageAudio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3', // 整体音频
sentences: [
{
duration: 7,
text: 'Good morning',
audio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
},
{
duration: 8,
text: 'what can i do for you',
audio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
},
{
duration: 9,
text: 'Hello, how are you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
duration: 10,
text: 'Hello, how old are you you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
duration: 11,
text: 'Hello, how dare you, Hello, how dare you how dare you how dare you how dare you h',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
],
};
"title": "故事留声机",
"questionText": "欢乐的故事时间到了,亲爱的小玩家,请点击故事台词,仔细听,然后大声的模仿,全部完成后,根据模仿情况,你将获得相应的能量石奖励!快去试试吧!",
"questionTextAudio": "http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3",
"questionTextAudioName": "热气球大战 游戏说明.mp3",
"pageAudio": 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3', // 整体音频
"questions": [{
"options": [{
"duration": 7,
"text": 'Good morning',
"audio": 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
}, {
"duration": 8,
"text": 'what can i do for you',
"audio": 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
}, {
"duration": 9,
"text": 'Hello, how are you',
"audio": 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}, {
"duration": 10,
"text": 'Hello, how old are you yo',
"audio": 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}, {
"duration": 11,
"text": 'Hello, how dare you, Hello, how dare you how dare you how dare you how dare you h',
"audio": 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}
],
"type": "",
"audio": "http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3",
"audioName": "热气球大战 游戏说明.mp3",
"pageImage": "http://staging-teach.cdn.ireadabc.com/2e3b759b961266f3a37559ef759293d7.png"
}, {
"options": [{
"duration": 7,
"text": 'Good morning 1',
"audio": 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
}, {
"duration": 8,
"text": 'what can i do for you 1',
"audio": 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
}, {
"duration": 9,
"text": 'Hello, how are you',
"audio": 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}, {
"duration": 10,
"text": 'Hello, how old are you you',
"audio": 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}, {
"duration": 11,
"text": 'Hello, how dare you, Hello, how dare you how dare you how dare you how dare you h',
"audio": 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}
],
"type": "",
"audio": "https://teach.cdn.ireadabc.com/5b720d91d319a52655ffe39fb14c2948.mp3",
"audioName": "热气球大战 游戏说明.mp3",
"pageImage": "http://staging-teach.cdn.ireadabc.com/7780195055731416480edbc97072fe5b.png"
}
]
}
{
"ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5",
"uuid": "a5805ade-0f28-4a7c-9b2b-e6f22beeb6b8",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598",
"uuid": "2bcb6aaa-e20c-48c4-8e3a-dda855482927",
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.0.8",
"uuid": "998d8f18-8ccd-48ac-9b78-dc13a0f08fd3",
"uuid": "c395581f-47a7-4d48-981d-4fae9d925b15",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353",
"uuid": "5a5544b6-d474-4808-ba2e-c18ea55c8004",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "8ba21262-178f-4fa5-afc9-2c1dd50ba3ab",
"uuid": "e5b3f4c3-360f-49eb-9869-970499b81f7a",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.2",
"uuid": "281e7acb-5fa9-4805-aaaa-2a2a89b4d217",
"uuid": "67f62179-8605-455d-b49d-e03658edad8f",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.3.5",
"uuid": "64bb4b6e-f254-41ab-ab45-018f1bee46c5",
"uuid": "6e5c871a-20b2-4920-a026-59c55108dcfc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_bg": {
"ver": "1.0.4",
"uuid": "863518e7-0988-49a7-b86a-a38e18a7df6e",
"rawTextureUuid": "64bb4b6e-f254-41ab-ab45-018f1bee46c5",
"uuid": "499363b7-7c56-4825-ba34-2c79491ac5c8",
"rawTextureUuid": "6e5c871a-20b2-4920-a026-59c55108dcfc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "b5ab3d81-0e98-4693-a631-e29ead0c931a",
"uuid": "019c2b29-f5d0-412a-9d42-881fe85d54b5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_title": {
"ver": "1.0.4",
"uuid": "97c41253-7e7a-4193-abc2-824f4c8b188b",
"rawTextureUuid": "b5ab3d81-0e98-4693-a631-e29ead0c931a",
"uuid": "7245a885-b55f-4db1-8fb8-72bb815a7483",
"rawTextureUuid": "019c2b29-f5d0-412a-9d42-881fe85d54b5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "1000682d-19a5-48d3-98bb-8603bf5aa12b",
"uuid": "62ef5e9c-9b5d-468d-9347-5e25881e6e3d",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.3.5",
"uuid": "5e9c2ff6-95b7-4114-9c71-ae16d5a6c6c3",
"uuid": "4e3f5d8d-dbf2-4708-a62e-2b1fcfb5c58a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_pic": {
"ver": "1.0.4",
"uuid": "cc97012b-938d-4722-bf03-236ec311aca4",
"rawTextureUuid": "5e9c2ff6-95b7-4114-9c71-ae16d5a6c6c3",
"uuid": "7ec21352-6825-4341-a31d-167a64f51734",
"rawTextureUuid": "4e3f5d8d-dbf2-4708-a62e-2b1fcfb5c58a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "8ac1ba67-eb9f-4044-953c-bbc10f327808",
"uuid": "534d37d4-a463-4bba-a2f4-e54cb8471a3d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_play": {
"ver": "1.0.4",
"uuid": "4306a7e1-463b-4586-9415-3c55b5146fd4",
"rawTextureUuid": "8ac1ba67-eb9f-4044-953c-bbc10f327808",
"uuid": "18703644-13ef-4c4b-8aa1-51861c0d55a3",
"rawTextureUuid": "534d37d4-a463-4bba-a2f4-e54cb8471a3d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "d12c595e-290f-4238-8226-2a7c664f98eb",
"uuid": "01657e26-b3ad-43dc-a62f-fa5484c6a20c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_stop": {
"ver": "1.0.4",
"uuid": "dbf4c42e-4369-4415-81e8-20cbceec34b6",
"rawTextureUuid": "d12c595e-290f-4238-8226-2a7c664f98eb",
"uuid": "21dd6c68-cb4f-4e21-9414-d48f4ac76868",
"rawTextureUuid": "01657e26-b3ad-43dc-a62f-fa5484c6a20c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "13ff0e83-c767-4d00-86eb-25c821069ad0",
"uuid": "4f6ef26e-c893-4101-96e9-e18eac6e350c",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.3.5",
"uuid": "c7f5a228-fa49-48d9-be37-f49d18e34d60",
"uuid": "cae6ab1a-270c-46f2-bcda-944669f187b0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_word": {
"ver": "1.0.4",
"uuid": "0806b0d1-1612-4944-806e-fd53102cf75c",
"rawTextureUuid": "c7f5a228-fa49-48d9-be37-f49d18e34d60",
"uuid": "b0ee16b1-d77f-45b7-998a-d504aeb097e3",
"rawTextureUuid": "cae6ab1a-270c-46f2-bcda-944669f187b0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "b1ea59a6-cf8c-4664-9af5-2c708cf8adda",
"uuid": "c73163a0-5595-4204-9ccb-2bff70e0ef5b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_myrecord": {
"ver": "1.0.4",
"uuid": "177da723-4dae-4484-95f2-e6ce8f7c9b23",
"rawTextureUuid": "b1ea59a6-cf8c-4664-9af5-2c708cf8adda",
"uuid": "91d05432-5f8f-4125-acfb-8cea61e94648",
"rawTextureUuid": "c73163a0-5595-4204-9ccb-2bff70e0ef5b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "fe1f693d-ac57-4020-a7b1-a96950991098",
"uuid": "dbd16bf9-9590-4883-8d3d-2c8df6706ec9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_myrecord_play": {
"ver": "1.0.4",
"uuid": "c70929a6-8e1d-4b0a-be5a-c2ab845afecf",
"rawTextureUuid": "fe1f693d-ac57-4020-a7b1-a96950991098",
"uuid": "5efd1f25-e2c1-4cda-ad7e-7bdf95fe2345",
"rawTextureUuid": "dbd16bf9-9590-4883-8d3d-2c8df6706ec9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "c5187b97-9ffa-4c6e-a20d-2654ac6378bc",
"uuid": "41267663-161e-45fd-b942-21bc9c4114b4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_record": {
"ver": "1.0.4",
"uuid": "ecdb5a4b-cf12-4fa4-acc9-e4025d2c2122",
"rawTextureUuid": "c5187b97-9ffa-4c6e-a20d-2654ac6378bc",
"uuid": "bcb57f69-3e43-4cbd-8da1-727ae03570d1",
"rawTextureUuid": "41267663-161e-45fd-b942-21bc9c4114b4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "07b3c478-7076-4aae-9e65-2d9c287f9806",
"uuid": "1c37d421-f5f6-44e9-9239-587b31071c4e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_record_click": {
"ver": "1.0.4",
"uuid": "7f3a6f30-3c29-4fd8-af77-8788bf1fac32",
"rawTextureUuid": "07b3c478-7076-4aae-9e65-2d9c287f9806",
"uuid": "cc65cf90-36ac-4533-8f1c-0529dc516933",
"rawTextureUuid": "1c37d421-f5f6-44e9-9239-587b31071c4e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "cef6a399-9d6a-4111-aa48-2426ffccf26c",
"uuid": "3f26028e-5299-4a62-866c-651845a7feaa",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"icon_myrecord1": {
"ver": "1.0.4",
"uuid": "d678c02e-0c4a-400a-9649-1983114c8c9a",
"rawTextureUuid": "cef6a399-9d6a-4111-aa48-2426ffccf26c",
"uuid": "70f7dff2-7807-4f29-84ee-97e987d66338",
"rawTextureUuid": "3f26028e-5299-4a62-866c-651845a7feaa",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "f64181fc-93f1-4ab2-840c-9143770cbe61",
"uuid": "da2867d9-b47d-4e39-bb21-45fa2a2a6ff2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"icon_myrecord2": {
"ver": "1.0.4",
"uuid": "8a94a8dd-cfc7-416c-88ca-9f93658d5953",
"rawTextureUuid": "f64181fc-93f1-4ab2-840c-9143770cbe61",
"uuid": "640399a0-5da2-449e-bca2-8e8a63c9bed9",
"rawTextureUuid": "da2867d9-b47d-4e39-bb21-45fa2a2a6ff2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "0688c169-2a43-4729-8f88-c69ca88e8e25",
"uuid": "77dc26c0-da70-4847-bf2e-ede932bbe774",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"icon_myrecord3": {
"ver": "1.0.4",
"uuid": "03c91a7f-b926-4500-8d87-05a3095ac0a5",
"rawTextureUuid": "0688c169-2a43-4729-8f88-c69ca88e8e25",
"uuid": "50bf845a-9acc-4913-a5e5-6eb145d33386",
"rawTextureUuid": "77dc26c0-da70-4847-bf2e-ede932bbe774",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "80cc2edb-a4d4-4d88-b2a1-d0cddfca21d4",
"uuid": "37927636-8ab3-4bc5-a8bc-497cc0e2478c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"icon_tip": {
"ver": "1.0.4",
"uuid": "73183706-2979-449f-9b60-4d76e84e9b16",
"rawTextureUuid": "80cc2edb-a4d4-4d88-b2a1-d0cddfca21d4",
"uuid": "dec1cc6c-7652-4132-9ab8-86baa3c7397e",
"rawTextureUuid": "37927636-8ab3-4bc5-a8bc-497cc0e2478c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "8af48e1d-a982-4f4e-958b-c50fe0770a46",
"uuid": "1490d9f0-ae9a-41e9-8a55-1be053fd6809",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.3.5",
"uuid": "fc19548a-2465-469c-a001-c936a5f587ff",
"uuid": "43a22ee4-cb60-4401-ab06-c0b3e05fc4c8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg": {
"ver": "1.0.4",
"uuid": "1ebe30a0-2832-4f7b-a0bf-b4b59d6d5420",
"rawTextureUuid": "fc19548a-2465-469c-a001-c936a5f587ff",
"uuid": "cf998b2c-faaa-479b-9778-40f45f04a9e9",
"rawTextureUuid": "43a22ee4-cb60-4401-ab06-c0b3e05fc4c8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "e70590fd-bf9c-4e55-ae2d-0bf3b69d5b20",
"uuid": "305d4089-cf42-427b-8989-a4c655ce7106",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "7904e895-909f-4d90-aafa-fc62de9e4a66",
"rawTextureUuid": "e70590fd-bf9c-4e55-ae2d-0bf3b69d5b20",
"uuid": "259193c5-c6bf-4b30-9dfe-cef344a5a3f5",
"rawTextureUuid": "305d4089-cf42-427b-8989-a4c655ce7106",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "4d13a173-f148-4466-8c7c-20b03f04f204",
"uuid": "f072484c-6b88-4fa2-b9f6-4652523227f4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_start": {
"ver": "1.0.4",
"uuid": "cd741e27-5a5f-4492-8dcf-3434c5f3ac9e",
"rawTextureUuid": "4d13a173-f148-4466-8c7c-20b03f04f204",
"uuid": "a2d31e93-9014-4d97-addd-9fdbd407145a",
"rawTextureUuid": "f072484c-6b88-4fa2-b9f6-4652523227f4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "9e70c229-d350-46dc-9f44-ac254d4352e9",
"uuid": "19b1ec76-69bc-4932-96b9-41972d88512e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_countdown": {
"ver": "1.0.4",
"uuid": "8eda48c8-60ae-420e-b20a-734f2f05467a",
"rawTextureUuid": "9e70c229-d350-46dc-9f44-ac254d4352e9",
"uuid": "3ffa057c-34dc-4175-ac4e-346cd09cea9e",
"rawTextureUuid": "19b1ec76-69bc-4932-96b9-41972d88512e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "a92db344-8920-45e2-bf78-6a01713bc04b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 79,
"height": 54,
"platformSettings": {},
"subMetas": {
"btn_arrow": {
"ver": "1.0.4",
"uuid": "12c1360d-6e2c-4dbd-9ca4-9bb1455b539d",
"rawTextureUuid": "a92db344-8920-45e2-bf78-6a01713bc04b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 79,
"height": 54,
"rawWidth": 79,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0fe3c031-7086-4498-bae7-faf2281ff3e8",
"uuid": "04fa0d21-9401-4d5c-bd9a-266345edb63b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_record_start": {
"ver": "1.0.4",
"uuid": "ae53f6e5-6076-431d-8e41-18405492b320",
"rawTextureUuid": "0fe3c031-7086-4498-bae7-faf2281ff3e8",
"uuid": "99ff0f7f-fdaa-4459-89df-cf1d93b666e9",
"rawTextureUuid": "04fa0d21-9401-4d5c-bd9a-266345edb63b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "5d320289-99cf-4d6d-9dbb-8fbf9c030eae",
"uuid": "6090ec9e-a386-4b47-996e-fb90706e371b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_record_stop": {
"ver": "1.0.4",
"uuid": "524ba650-639c-48c0-adf4-b74f1fc8a1d3",
"rawTextureUuid": "5d320289-99cf-4d6d-9dbb-8fbf9c030eae",
"uuid": "3589ebfd-b890-41f5-9779-87b22be66397",
"rawTextureUuid": "6090ec9e-a386-4b47-996e-fb90706e371b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "be614518-478a-4b8c-b334-54df8d63544c",
"uuid": "fc3b4e12-d054-4263-8920-e6d70067796d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"default_sprite_splash": {
"ver": "1.0.4",
"uuid": "87170b12-fd1d-4b10-b17b-262c0403f815",
"rawTextureUuid": "be614518-478a-4b8c-b334-54df8d63544c",
"uuid": "8df70460-206f-4961-beb7-4f8e7c0a223d",
"rawTextureUuid": "fc3b4e12-d054-4263-8920-e6d70067796d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "fb73c820-7ca8-4450-8bb6-79d231e5733a",
"uuid": "58a180c6-470b-4065-880d-48cc65ca48ee",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"icon_record": {
"ver": "1.0.4",
"uuid": "5b67343e-8927-4b5f-9653-3aa36a67c245",
"rawTextureUuid": "fb73c820-7ca8-4450-8bb6-79d231e5733a",
"uuid": "4d553da5-0474-4855-a684-bfee1f02831f",
"rawTextureUuid": "58a180c6-470b-4065-880d-48cc65ca48ee",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "66e78df2-a6ed-4f05-a15a-62bbd749b258",
"uuid": "d298ef40-bfc3-40ff-9321-6cf4aa4c683d",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.0.1",
"uuid": "98532705-4bf7-43f5-8016-6d82b5d468b5",
"uuid": "0e6b87da-2e7d-4339-b7ff-c6fd7d7bb0b4",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "3495d729-5f8e-4b65-847c-765a457a73af",
"uuid": "7c07e323-ac64-4444-8ae4-b76998b85028",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d7e3ff14-27f9-42a6-be35-b87c5395383b",
"uuid": "6380e700-293b-4c6d-88ea-136fa3b06b39",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"录音动画_tex": {
"ver": "1.0.4",
"uuid": "ac106ac6-db96-4a08-9375-36bf50588bb0",
"rawTextureUuid": "d7e3ff14-27f9-42a6-be35-b87c5395383b",
"uuid": "8f26d43e-86e9-488a-a391-036c63b4ffa4",
"rawTextureUuid": "6380e700-293b-4c6d-88ea-136fa3b06b39",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
......@@ -52,7 +52,7 @@ function execCmd(cmd, params, path) {
}
let creatorBasePath = 'CocosCreator';
let creatorBasePath = 'D:/CocosDashboard_1.1.1/resources/.editors/Creator/2.4.5/CocosCreator.exe';
if (process.platform !== 'win32') {
creatorBasePath = "/Applications/CocosCreator/Creator/2.4.5/CocosCreator.app/Contents/MacOS/CocosCreator";
}
......
......@@ -105,7 +105,7 @@
<div nz-row>
<div nz-col [nzSpan]="18" [nzOffset]="1">
<div *ngFor="let page of item.pages; let j=index" style="margin-bottom: 5mm;" nz-col [nzXs]='24'
<div *ngFor="let page of item.questions; let j=index" style="margin-bottom: 5mm;" nz-col [nzXs]='24'
[nzSm]='24' [nzMd]='24' [nzLg]='24'>
<nz-card nzTitle="第{{j+1}}页" [nzHoverable]="true" [nzExtra]="actionCard">
<!--题目区域-->
......@@ -115,15 +115,15 @@
<nz-form-item>
<nz-form-label [nzSpan]="4">完整音频</nz-form-label>
<nz-form-control [nzSpan]="12">
<app-audio-recorder [audioUrl]="item.pageAudio" [_audioName]="item.pageAudioName"
(audioUploaded)="onAudioUploadSuccess($event, item, 'pageAudio')" (audioName)="onAudioName($event, item, 'pageAudioName')"></app-audio-recorder>
<app-audio-recorder [audioUrl]="page.audio" [_audioName]="page.audioName"
(audioUploaded)="onAudioUploadSuccess($event, page, 'audio')" (audioName)="onAudioName($event, page, 'audioName')"></app-audio-recorder>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzSpan]="4">故事图片</nz-form-label>
<nz-form-control [nzSpan]="6">
<app-upload-image-with-preview style="width: 100%" [picUrl]="item.pageImage"
(imageUploaded)="onImageUploadSuccess($event, item, 'pageImage')"></app-upload-image-with-preview>
<app-upload-image-with-preview style="width: 100%" [picUrl]="page.pageImage"
(imageUploaded)="onImageUploadSuccess($event, page, 'pageImage')"></app-upload-image-with-preview>
</nz-form-control>
</nz-form-item>
</nz-card>
......@@ -134,7 +134,7 @@
<div nz-row>
<div nz-col [nzSpan]="18" [nzOffset]="1">
<h4 nz-typography>文本内容:</h4>
<div *ngFor="let data of page; let i=index" style="margin-bottom: 5mm;" nz-col [nzXs]='24' [nzSm]='24' [nzMd]='24' [nzLg]='24'>
<div *ngFor="let data of page.options; let i=index" style="margin-bottom: 5mm;" nz-col [nzXs]='24' [nzSm]='24' [nzMd]='24' [nzLg]='24'>
<nz-card nzTitle="文本{{i+1}}" [nzHoverable]="true" [nzExtra]="actionCard">
<nz-form-item>
<nz-form-label [nzSpan]="4">音频</nz-form-label>
......@@ -159,10 +159,10 @@
</nz-form-item>
</nz-card>
<ng-template #actionCard>
<button nz-button nzType="danger" (click)="delCard(item.pages[j],i)">
<button nz-button nzType="danger" (click)="removeoption(j,i)">
<i nz-icon nzType="delete" nzTheme="outline"></i>删除
</button>&nbsp;&nbsp;&nbsp;
<button nz-button nzType="default" (click)="copyCard(item.pages[j],i)">
<button nz-button nzType="default" (click)="copyoption(j,i)">
<i nz-icon nzType="copy" nzTheme="outline"></i>复制
</button>
</ng-template>
......@@ -172,7 +172,7 @@
<br/>
<div nz-row>
<div nz-col [nzSpan]="18" [nzOffset]="1">
<button nz-button nzType="primary" nzSize="large" (click)="addCard(item.pages[j])">
<button nz-button nzType="primary" nzSize="large" (click)="addoption(j)">
<font style="font-weight: 800;">+增加文本</font>
</button>
</div>
......@@ -180,7 +180,7 @@
<br/>
</nz-card>
<ng-template #actionCard>
<button nz-button nzType="danger" (click)="delPage(j)">
<button nz-button nzType="danger" (click)="removequestion(j)">
<i nz-icon nzType="delete" nzTheme="outline"></i>删除
</button>
</ng-template>
......@@ -189,10 +189,23 @@
</div>
<div nz-row>
<div nz-col [nzSpan]="18" [nzOffset]="1">
<button nz-button nzType="primary" nzSize="large" (click)="addPage()">
<button nz-button nzType="primary" nzSize="large" (click)="addquestion()">
<font style="font-weight: 800;">+增加页面</font>
</button>
</div>
</div>
<nz-modal [(nzVisible)]="isVisible" [nzTitle]="null" [nzContent]="modalContent" [nzFooter]="modalFooter"
(nzOnCancel)="handleCancel()">
<ng-template #modalContent>
<p>{{deleteTitle}}</p>
</ng-template>
<ng-template #modalFooter>
<button nz-button nzType="default" (click)="handleCancel()">取消</button>
<button nz-button nzType="primary" (click)="handleOk()">确定</button>
</ng-template>
</nz-modal>
</div>
\ No newline at end of file
......@@ -67,8 +67,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.save();
}
if (!this.item.pages) {
this.item.pages = [];
if (!this.item.questions) {
this.item.questions = [];
this.addPage()
this.save();
}
......@@ -175,6 +175,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.deleteTitle = title;
this.isVisible = true;
}
handleCancel() {
this.isVisible = false;
}
handleOk() {
this.deleteCallback && this.deleteCallback();
this.handleCancel();
}
removeoption(i, j) {
this.openDelete("确定删除选项?", () => {
this.item.questions[i].options.splice(j, 1);
......@@ -187,6 +194,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.save();
}
removequestion(idx) {
this.openDelete("确定删除题目?", () => {
this.item.questions.splice(idx, 1);
this.save();
})
}
addoption(i) {
this.item.questions[i].options.push({
type: "",
......
{
"title": "play",
"packageName": "org.cocos2d.demo",
"startScene": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3",
"startScene": "dc6cadcb-bc4a-4828-aec9-68b2704af968",
"excludeScenes": [],
"includeSDKBox": false,
"orientation": {
......
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