Commit 72886828 authored by 李帅's avatar 李帅

删除多余资源

parent b6132b6f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ls * @Author: ls
* @Date: 2022-04-14 19:58:47 * @Date: 2022-04-14 19:58:47
* @LastEditors: ls * @LastEditors: ls
* @LastEditTime: 2022-04-16 16:16:39 * @LastEditTime: 2022-04-16 17:02:58
* @Description: file content * @Description: file content
* @FilePath: \ls_activity_before\assets\ls_activity_before\scene\ls_activity_before.ts * @FilePath: \ls_activity_before\assets\ls_activity_before\scene\ls_activity_before.ts
*/ */
...@@ -34,10 +34,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -34,10 +34,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initListener(); this.initListener();
} }
_content = null;
initData() { initData() {
// 所有全局变量 默认都是null // 所有全局变量 默认都是null
this._content = [];
} }
initView() { initView() {
...@@ -91,10 +89,20 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -91,10 +89,20 @@ export default class SceneComponent extends MyCocosSceneComponent {
onCallBack(event, str) { onCallBack(event, str) {
this.playLocalAudio('btn'); this.playLocalAudio('btn');
// TODO // TODO
let info = this.data.gameInfo[Number(str)];
if (str === '0') { if (str === '0') {
//
} else if (str === '1') { } else if (str === '1') {
//
} else if (str === '2') { } else if (str === '2') {
//
} else if (str === '3') { } else if (str === '3') {
//
} else if (str === '4') {
//
} else if (str === '5') {
//
} }
} }
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ls * @Author: ls
* @Date: 2022-04-14 19:58:47 * @Date: 2022-04-14 19:58:47
* @LastEditors: ls * @LastEditors: ls
* @LastEditTime: 2022-04-16 16:13:29 * @LastEditTime: 2022-04-16 17:03:15
* @Description: file content * @Description: file content
* @FilePath: \ls_activity_before\assets\ls_activity_before\script\defaultData.ts * @FilePath: \ls_activity_before\assets\ls_activity_before\script\defaultData.ts
*/ */
...@@ -24,17 +24,12 @@ export const defaultData = { ...@@ -24,17 +24,12 @@ export const defaultData = {
{ {
id: 10003, id: 10003,
img: 'http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg', img: 'http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg',
icon: -1, icon: 1,
}, },
{ {
id: 10004, id: 10004,
img: 'http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg', img: 'http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg',
icon: -1, icon: -1,
}, },
{
id: 10005,
img: 'http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg',
icon: -1,
},
], ],
}; };
{
"ver": "2.3.5",
"uuid": "324f7bb0-46b1-4dcb-86cc-011e72560720",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 412,
"height": 503,
"platformSettings": {},
"subMetas": {
"bg_pic": {
"ver": "1.0.4",
"uuid": "1af89af0-006b-420d-9fba-8c8c3e547269",
"rawTextureUuid": "324f7bb0-46b1-4dcb-86cc-011e72560720",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": -1,
"trimX": 0,
"trimY": 2,
"width": 410,
"height": 501,
"rawWidth": 412,
"rawHeight": 503,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "464a292e-921c-4324-8124-4f28820c22da",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 159,
"height": 69,
"platformSettings": {},
"subMetas": {
"bg_stone": {
"ver": "1.0.4",
"uuid": "d3db55b9-13ad-44b2-8887-59d394ee72a0",
"rawTextureUuid": "464a292e-921c-4324-8124-4f28820c22da",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 159,
"height": 69,
"rawWidth": 159,
"rawHeight": 69,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "007413d5-174e-49aa-a6ea-0034e4f84943",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 72,
"height": 75,
"platformSettings": {},
"subMetas": {
"icon_key": {
"ver": "1.0.4",
"uuid": "82d30c65-668d-406f-9801-05ff6911aba4",
"rawTextureUuid": "007413d5-174e-49aa-a6ea-0034e4f84943",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 72,
"height": 75,
"rawWidth": 72,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8377ed5e-335f-449b-a3db-33e405325fcd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 63,
"height": 73,
"platformSettings": {},
"subMetas": {
"icon_stone": {
"ver": "1.0.4",
"uuid": "c619af22-fc95-4800-9d4c-1dabffa352df",
"rawTextureUuid": "8377ed5e-335f-449b-a3db-33e405325fcd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0.5,
"trimX": 1,
"trimY": 0,
"width": 62,
"height": 72,
"rawWidth": 63,
"rawHeight": 73,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "86307c17-5f09-466e-a006-f2a2a9f827f5",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "967f2c78-bb78-4238-bc5f-9ac5df6de6f6",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "533aec3b-73ba-40b6-a5b1-fd2da1817890",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 797,
"height": 533,
"platformSettings": {},
"subMetas": {
"bg_di": {
"ver": "1.0.4",
"uuid": "6392c589-592f-4f4b-b67c-ddc64e72c091",
"rawTextureUuid": "533aec3b-73ba-40b6-a5b1-fd2da1817890",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 4,
"trimY": 0,
"width": 788,
"height": 533,
"rawWidth": 797,
"rawHeight": 533,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "708495df-b306-4463-8865-f6e7e1715602",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 219,
"height": 109,
"platformSettings": {},
"subMetas": {
"bg_title2": {
"ver": "1.0.4",
"uuid": "956c6be6-1f6d-49e4-bc93-38df4a1ec37c",
"rawTextureUuid": "708495df-b306-4463-8865-f6e7e1715602",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 219,
"height": 109,
"rawWidth": 219,
"rawHeight": 109,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "68ce57c2-ded7-4c93-9bf5-d0901cc2eb52",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 185,
"height": 352,
"platformSettings": {},
"subMetas": {
"btn_game2": {
"ver": "1.0.4",
"uuid": "660c5efe-f507-4c1e-8c99-3b20faed721c",
"rawTextureUuid": "68ce57c2-ded7-4c93-9bf5-d0901cc2eb52",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 185,
"height": 352,
"rawWidth": 185,
"rawHeight": 352,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b2c4d9b0-ad96-49b3-ad91-d4ced8e94c2c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 109,
"height": 95,
"platformSettings": {},
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "02723345-93ef-4da1-90f0-d77244104fed",
"rawTextureUuid": "b2c4d9b0-ad96-49b3-ad91-d4ced8e94c2c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 109,
"height": 95,
"rawWidth": 109,
"rawHeight": 95,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "22b7e8c3-7ab5-4435-affe-d3a4d2973088",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"6-活动前": {
"ver": "1.0.4",
"uuid": "5e8ee6d4-6c41-411d-ba83-196f52455b76",
"rawTextureUuid": "22b7e8c3-7ab5-4435-affe-d3a4d2973088",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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