This commit is contained in:
parent
b3eb7c19ed
commit
a97065a115
@ -73,7 +73,7 @@ export class LayoutAdapter extends Component {
|
||||
const scale = Math.max(size.width / texW, size.height / texH);
|
||||
this.BG_01.setScale(scale, scale); // 铺满并保持比例
|
||||
if (this.RB7Logo.active) {
|
||||
this.RB7Logo.setPosition(new Vec3(0, -size.y / 2 + this.RB7Logo.getComponent(UITransform).height / 2))
|
||||
this.RB7Logo.setPosition(new Vec3(0, -size.y / 2 + this.RB7Logo.getComponent(UITransform).height / 2 - 45))
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env"
|
||||
const gameId = "rp_10012";
|
||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||
let apiaddr = "";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3NjAzNjQ4NTcsIlMiOjEwMDEsIkQiOiJycF8xMDAxMiJ9.tIGE9qcVt0Oplu5V-6_Awr5Qgl-Aw1NGLXMWpecqt9w";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3NjA0NTE2OTYsIlMiOjEwMDAsIkQiOiJycF8xMDAxMiJ9.jB8uYoEjloyj-tzOhSX42ruL7VOxeCRpAd4QVKNfeZA";
|
||||
let language = "en"
|
||||
let currency = "THB"
|
||||
let supportUrl = ""
|
||||
@ -55,7 +55,7 @@ export function initReqAddr() {
|
||||
if (rb7) {
|
||||
isRB7 = rb7 == "rb7";
|
||||
}
|
||||
|
||||
|
||||
const dotidx = location.host.indexOf('.')
|
||||
partHost = location.host.slice(dotidx)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user