Commit 71842bf8 authored by 马舜翔's avatar 马舜翔 💬

11

parent 8f9fe960
...@@ -798,5 +798,5 @@ export const ResJson = { ...@@ -798,5 +798,5 @@ export const ResJson = {
} }
} }
], ],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1631248580/resource/" "path": "https://yun.duiba.com.cn/db_games/activity/template/1631254586/resource/"
} }
\ No newline at end of file
...@@ -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);
......
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