Commit 4f290dc5 authored by liujiangnan's avatar liujiangnan

feat: 关闭逻辑改动

parent 35cc1e02
This diff is collapsed.
......@@ -155,6 +155,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let pages = this.page_view.getComponent(cc.PageView).getPages();
this.tip_left.active = pages.length > 0 && index > 0;
this.tip_right.active = pages.length > 0 && index < pages.length - 1;
cc.find("s_group/startbg/btn_close", this.startNode).active = index === pages.length - 1;
let page = pages[index];
if (page)
playAudioByUrl(page["data"].audio);
......
{
"ver": "2.3.5",
"uuid": "4d51056a-2e8f-4f56-8d83-0e3a8cd2f912",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 234,
"height": 121,
"platformSettings": {},
"subMetas": {
"iknow": {
"ver": "1.0.4",
"uuid": "d08949e3-b952-4753-bb18-89f8f2082a4b",
"rawTextureUuid": "4d51056a-2e8f-4f56-8d83-0e3a8cd2f912",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 8,
"trimY": 8,
"width": 218,
"height": 106,
"rawWidth": 234,
"rawHeight": 121,
"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