Commit 5fe667b9 authored by limingzhe's avatar limingzhe

fix: debug

parent 2c3975a6
No preview for this file type
......@@ -412,4 +412,28 @@ export function callNetworkApi(uri, data, callBack) {
xhr.send();
console.log(' url is: ', url);
}
export function appearAnim(node, time=1, callback=null) {
node.active = true;
node.opacity = 0
cc.tween(node)
.to(time, {opacity: 255}, {easing: "cubicIn"})
.call(() => {
callback && callback();
})
.start();
}
export function disappearAnim(node, time=1, callback=null) {
node.active = true;
node.opacity = 255
cc.tween(node)
.to(time, {opacity: 0}, {easing: "cubicOut"})
.call(() => {
callback && callback();
})
.start();
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d9e5993a-df99-4a38-8cae-cbcfb7605cce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a0fbc5d5-fb53-475a-b0e8-cb6ac8cc7ac7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 139,
"height": 54,
"platformSettings": {},
"subMetas": {
"all_select": {
"ver": "1.0.4",
"uuid": "109428da-e154-4d52-a9d3-a84e6343bb93",
"rawTextureUuid": "a0fbc5d5-fb53-475a-b0e8-cb6ac8cc7ac7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 139,
"height": 54,
"rawWidth": 139,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d6ea1c51-4488-43fb-914f-2c7a70a179d5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 122,
"height": 122,
"platformSettings": {},
"subMetas": {
"close_btn": {
"ver": "1.0.4",
"uuid": "cb1219fe-ab6a-42b2-a74f-28686c0c07bb",
"rawTextureUuid": "d6ea1c51-4488-43fb-914f-2c7a70a179d5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0.5,
"trimX": 9,
"trimY": 8,
"width": 105,
"height": 105,
"rawWidth": 122,
"rawHeight": 122,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d3f2c51a-ad0e-4ed6-ab33-13000fe10872",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 46,
"platformSettings": {},
"subMetas": {
"icon_bg": {
"ver": "1.0.4",
"uuid": "05d3b231-e796-48c3-84e5-7e9abf128f52",
"rawTextureUuid": "d3f2c51a-ad0e-4ed6-ab33-13000fe10872",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 46,
"rawWidth": 50,
"rawHeight": 46,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "977e906d-094a-4f68-b9d9-d654045bdfcf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 70,
"height": 54,
"platformSettings": {},
"subMetas": {
"icon_right": {
"ver": "1.0.4",
"uuid": "df065388-d60a-42ca-a97d-ad2386b259ae",
"rawTextureUuid": "977e906d-094a-4f68-b9d9-d654045bdfcf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 70,
"height": 54,
"rawWidth": 70,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cc871b98-ceaa-4261-a043-9143336c4f2b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 634,
"height": 1,
"platformSettings": {},
"subMetas": {
"line": {
"ver": "1.0.4",
"uuid": "35efa6bf-c71a-434b-9373-3f0b6b1fb073",
"rawTextureUuid": "cc871b98-ceaa-4261-a043-9143336c4f2b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 634,
"height": 1,
"rawWidth": 634,
"rawHeight": 1,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "07d749c3-45ad-49c3-8483-6b9ce8b94993",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 842,
"height": 1022,
"platformSettings": {},
"subMetas": {
"panel_bg": {
"ver": "1.0.4",
"uuid": "090d4a6c-6648-449f-9201-f46eb2d04290",
"rawTextureUuid": "07d749c3-45ad-49c3-8483-6b9ce8b94993",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -3.5,
"trimX": 8,
"trimY": 7,
"width": 826,
"height": 1015,
"rawWidth": 842,
"rawHeight": 1022,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d56af5fe-a6f0-45eb-a3ba-171212a5e195",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 634,
"height": 3,
"platformSettings": {},
"subMetas": {
"panel_line": {
"ver": "1.0.4",
"uuid": "4a23b79e-94f1-4684-9590-30cb1d271816",
"rawTextureUuid": "d56af5fe-a6f0-45eb-a3ba-171212a5e195",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 634,
"height": 3,
"rawWidth": 634,
"rawHeight": 3,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "fc951ac8-c76e-4f4e-9127-b1cb1da4bd38",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 220,
"height": 83,
"platformSettings": {},
"subMetas": {
"select_btn": {
"ver": "1.0.4",
"uuid": "8d6cd049-5e08-463b-8f9f-aa11fb071e45",
"rawTextureUuid": "fc951ac8-c76e-4f4e-9127-b1cb1da4bd38",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 220,
"height": 83,
"rawWidth": 220,
"rawHeight": 83,
"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