设置页、弹窗逻辑、跳转逻辑

视频播放逻辑优化
This commit is contained in:
2025-09-11 00:03:22 +08:00
parent a6b15778a8
commit 7dedbf124c
24 changed files with 2338 additions and 1381 deletions
@@ -28,6 +28,7 @@ import { AccountData } from "../../data/AccountData";
import { ShopData } from "../../data/ShopData";
import proto from "db://assets/Scripts/proto/proto.pb.js";
import GameRootUI from "../../../Main/Common/GameRootUI";
const { ccclass, property } = _decorator;
@@ -109,7 +110,7 @@ export class ThemePanel extends li_BaseView {
ResManager.I.changeBundleSpriteFrame(
this.recSprite,
avatarPath,
"Chat18x",
"Girls",
() => {
let sizeTran = this.recSprite.node.parent.getComponent(UITransform);
Utils.adjustBgPixelRatioToSize(
@@ -163,7 +164,7 @@ export class ThemePanel extends li_BaseView {
) == 0;
if (isRelease || isFree) {
NavigationManager.Instance.navigateToGirlDetail(this.recId);
ViewManager.I.closeView(this.node);
GameRootUI.I.hideDefaultView();
} else {
//未解锁
ViewManager.I.openBundlesPopupView("GirlListPopupPanel", {