Commit 77248af9 authored by 范雪寒's avatar 范雪寒

feat:

parent 34c15a0a
...@@ -248,6 +248,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -248,6 +248,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
step2.active = true; step2.active = true;
} }
const pageData = this.data.pageArr[this.currentPageIdx];
console.log(pageData);
const partImg = cc.find('Canvas/step2/pad/mask/page'); const partImg = cc.find('Canvas/step2/pad/mask/page');
this.setNodeSpirteFrameByUrl(pageUrl, partImg, () => { this.setNodeSpirteFrameByUrl(pageUrl, partImg, () => {
// partImg.scale = partImg.parent.height / partImg.height; // partImg.scale = partImg.parent.height / partImg.height;
......
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