Commit a52dd163 authored by liujiangnan's avatar liujiangnan

缓存

parent 30e5077f
...@@ -411,8 +411,8 @@ ...@@ -411,8 +411,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 171, "width": 128,
"height": 146 "height": 130
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -559,7 +559,7 @@ ...@@ -559,7 +559,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "dae06413-7c06-4a99-8a27-fc098af38812" "__uuid__": "c523408d-6ae1-4079-ae36-ee6f2964f928"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
......
...@@ -135,9 +135,9 @@ export default class NewClass extends cc.Component { ...@@ -135,9 +135,9 @@ export default class NewClass extends cc.Component {
return; return;
} }
if ( global.middleLayer ) { if ( global.middleLayer ) {
const middleLayer = cc.find("middleLayer"); global.middleLayer.backPageNode = this.node;
middleLayer.active = false; // global.middleLayer.loadOnlineCourseWare(id);
global.middleLayer.loadOnlineCourseWare(id); global.middleLayer.loadOnlineCourseWare(20522);
} }
} }
......
{
"ver": "2.3.5",
"uuid": "e8c3385a-2ae3-428f-8d79-f981558a45f0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 132,
"height": 132,
"platformSettings": {},
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "c523408d-6ae1-4079-ae36-ee6f2964f928",
"rawTextureUuid": "e8c3385a-2ae3-428f-8d79-f981558a45f0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -1,
"trimX": 2,
"trimY": 2,
"width": 128,
"height": 130,
"rawWidth": 132,
"rawHeight": 132,
"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