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
71842bf8
Commit
71842bf8
authored
Sep 10, 2021
by
马舜翔
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
8f9fe960
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
ResJson.ts
project/src/ResJson.ts
+1
-1
IndexScene.ts
project/src/scenes/IndexScene.ts
+4
-1
No files found.
project/src/ResJson.ts
View file @
71842bf8
...
@@ -798,5 +798,5 @@ export const ResJson = {
...
@@ -798,5 +798,5 @@ export const ResJson = {
}
}
}
}
],
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/16312
48580
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/16312
54586
/resource/"
}
}
\ No newline at end of file
project/src/scenes/IndexScene.ts
View file @
71842bf8
...
@@ -78,10 +78,13 @@ export class IndexScene extends Scene {
...
@@ -78,10 +78,13 @@ export class IndexScene extends Scene {
const
myPrizeBtn
=
getObject
(
this
,
'index_record'
);
const
myPrizeBtn
=
getObject
(
this
,
'index_record'
);
const
title1
=
getObject
(
this
,
'index_logo1'
);
const
title1
=
getObject
(
this
,
'index_logo1'
);
const
title2
=
getObject
(
this
,
'index_logo2'
);
const
title2
=
getObject
(
this
,
'index_logo2'
);
const
border
=
getObject
(
this
,
'index_bg2'
);
ruleBtn
.
y
=
(
1624
-
layers
.
stageHeight
)
/
2
+
layers
.
stageHeight
*
0.05
;
ruleBtn
.
y
=
(
1624
-
layers
.
stageHeight
)
/
2
+
layers
.
stageHeight
*
0.05
;
myPrizeBtn
.
y
=
(
1624
-
layers
.
stageHeight
)
/
2
+
layers
.
stageHeight
*
0.05
;
myPrizeBtn
.
y
=
(
1624
-
layers
.
stageHeight
)
/
2
+
layers
.
stageHeight
*
0.05
;
title1
.
y
=
(
1624
-
layers
.
stageHeight
)
/
2
+
layers
.
stageHeight
*
0.05
;
title1
.
y
=
(
1624
-
layers
.
stageHeight
)
/
2
+
layers
.
stageHeight
*
0.05
;
title2
.
y
=
(
1624
-
layers
.
stageHeight
)
/
2
+
layers
.
stageHeight
*
0.05
+
89
;
console
.
log
(
border
.
y
,
title1
.
y
,
title1
.
height
,
title2
.
height
)
// title2.y = (1624 - layers.stageHeight) / 2 + layers.stageHeight * 0.05 + 89;
title2
.
y
=
(
border
.
y
+
title1
.
y
-
title2
.
height
)
/
2
;
// const index_moneytips = getObject(this, 'index_moneytips');
// const index_moneytips = getObject(this, 'index_moneytips');
// index_moneytips.position.set(480, 1131);
// index_moneytips.position.set(480, 1131);
...
...
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