Commit af501832 authored by wildfirecode13's avatar wildfirecode13

u

parent 4be17618
......@@ -9,7 +9,7 @@
"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"
},
{
......
......@@ -9,7 +9,7 @@ export const ResJson = {
"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"
},
{
......
......@@ -21,18 +21,19 @@ export class IndexScene extends Scene {
start() {
super.start();
getObject(this,'index_sharetips').visible=false;
this.initContainer();
this.initmask();
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'];
list.updateData(array);
list.position.set(80, 1240);
list.position.set(80, 1240+30);
this.addChild(list);
}
initContainer() {
boxArea = new FYGE.Sprite;
boxArea.position.set(74,449)
boxArea.position.set(74,449+30)
this.addChild(boxArea);
boxGroup = this.addChild(new 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