Commit 4748a195 authored by liujiangnan's avatar liujiangnan

feat: 页面改动

parent 04b3333a
...@@ -320,9 +320,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -320,9 +320,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (middleLayer) { if (middleLayer) {
const mc = middleLayer.getComponent('middleLayer'); const mc = middleLayer.getComponent('middleLayer');
// 回首页 // 回首页
mc.goTarIndexPage(0); mc.goTarIndexPage(this.data.jumpIdx || 0);
} else { } else {
console.log("==回首页=="); console.log("==回首页==", this.data.jumpIdx);
} }
}); });
} }
......
...@@ -53,5 +53,5 @@ export const defaultData = { ...@@ -53,5 +53,5 @@ export const defaultData = {
"points": "", "points": "",
"tips": "匾额写的是这间屋子的名字或屋子最主要的功能", "tips": "匾额写的是这间屋子的名字或屋子最主要的功能",
"questionScore": "15", "questionScore": "15",
"jumpIdx": "2",
} }
\ No newline at end of file
...@@ -157,6 +157,10 @@ ...@@ -157,6 +157,10 @@
</app-upload-dragon-bone> </app-upload-dragon-bone>
<span style="font-size: 20px;">结束动画文本: </span> <span style="font-size: 20px;">结束动画文本: </span>
<input type="text" nz-input [(ngModel)]="item.endImgTitle" (blur)="save()"> <input type="text" nz-input [(ngModel)]="item.endImgTitle" (blur)="save()">
<div style="display: flex; align-items: center; ">
<h2> 跳转页面: </h2>
</div>
<input type="text" nz-input [(ngModel)]="item.jumpIdx" (blur)="save()">
</div> </div>
</div> </div>
......
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