Commit af501832 authored by wildfirecode13's avatar wildfirecode13

u

parent 4be17618
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"name": "StartScene" "name": "StartScene"
}, },
{ {
"keys": "comCloseBtn.png,index_box.png,sharemask.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png", "keys": "comCloseBtn.png,index_box.png,index_prizeitembg.png,sharemask.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png",
"name": "common" "name": "common"
}, },
{ {
......
...@@ -9,7 +9,7 @@ export const ResJson = { ...@@ -9,7 +9,7 @@ export const ResJson = {
"name": "StartScene" "name": "StartScene"
}, },
{ {
"keys": "comCloseBtn.png,index_box.png,sharemask.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png", "keys": "comCloseBtn.png,index_box.png,index_prizeitembg.png,sharemask.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png",
"name": "common" "name": "common"
}, },
{ {
......
...@@ -21,18 +21,19 @@ export class IndexScene extends Scene { ...@@ -21,18 +21,19 @@ export class IndexScene extends Scene {
start() { start() {
super.start(); super.start();
getObject(this,'index_sharetips').visible=false;
this.initContainer(); this.initContainer();
this.initmask(); this.initmask();
const list = new FYGE.ScrollList(ScrollItem, 131+20, 131, 620, 154, false); const list = new FYGE.ScrollList(ScrollItem, 131+20, 131, 620, 154, false);
const array = ['//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png']; const array = ['//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png','//yun.duiba.com.cn/spark/assets/1398924a1b804f0f20f9d3e16ed3158c2b3d686b.png'];
list.updateData(array); list.updateData(array);
list.position.set(80, 1240); list.position.set(80, 1240+30);
this.addChild(list); this.addChild(list);
} }
initContainer() { initContainer() {
boxArea = new FYGE.Sprite; boxArea = new FYGE.Sprite;
boxArea.position.set(74,449) boxArea.position.set(74,449+30)
this.addChild(boxArea); this.addChild(boxArea);
boxGroup = this.addChild(new BoxGroup()); boxGroup = this.addChild(new BoxGroup());
boxArea.addChild(boxGroup); boxArea.addChild(boxGroup);
......
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