Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
wfc13
Commits
af501832
Commit
af501832
authored
Aug 12, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
4be17618
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
index_prizeitembg.png
project/resource/common/index_prizeitembg.png
+0
-0
res.json
project/resource/res.json
+1
-1
ResJson.ts
project/src/ResJson.ts
+1
-1
IndexScene.ts
project/src/scenes/IndexScene.ts
+3
-2
No files found.
project/resource/common/index_prizeitembg.png
0 → 100644
View file @
af501832
8.66 KB
project/resource/res.json
View file @
af501832
...
...
@@ -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"
},
{
...
...
project/src/ResJson.ts
View file @
af501832
...
...
@@ -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"
},
{
...
...
project/src/scenes/IndexScene.ts
View file @
af501832
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment