From a97065a11526769d83ad6ead964564eb7de3e1d3 Mon Sep 17 00:00:00 2001 From: TJH Date: Tue, 14 Oct 2025 10:25:52 +0800 Subject: [PATCH] rb7 --- assets/Loading/scripts/LayoutAdapter.ts | 2 +- assets/Loading/scripts/comm.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/Loading/scripts/LayoutAdapter.ts b/assets/Loading/scripts/LayoutAdapter.ts index 469048d..eff0e73 100644 --- a/assets/Loading/scripts/LayoutAdapter.ts +++ b/assets/Loading/scripts/LayoutAdapter.ts @@ -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)) } diff --git a/assets/Loading/scripts/comm.ts b/assets/Loading/scripts/comm.ts index 52b41ba..b08f55a 100644 --- a/assets/Loading/scripts/comm.ts +++ b/assets/Loading/scripts/comm.ts @@ -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) }