Main/System/Main/MainWin.cs
@@ -123,13 +123,6 @@
    protected override void SelectBottomTab(int index)
    {
        bool isOtherBattleInProgress = BattleManager.Instance.IsOtherBattleInProgress();
        if (isOtherBattleInProgress)
        {
            // 如果正在非主线战斗中,没满足解锁条件则不允许切换
        }
        DisplayTopBar(index);
        if (index == 3)
        {
            //挑战特殊显示逻辑
@@ -137,7 +130,7 @@
            return;
        }
        TabChangeEvent?.Invoke();
        // 如果点击当前已选中的标签,不做处理
        if (functionOrder == index && currentSubUI != null)
@@ -155,7 +148,6 @@
        // 根据选中的标签打开对应的界面
        OpenSubUIByTabIndex();
        TabChangeEvent?.Invoke();
    }
    //战斗按钮动画
@@ -237,6 +229,16 @@
    protected override void OnTabButtonClicked(int index)
    {
        this.index = index;
        int funcId = 32;
        bool isOtherBattleInProgress = BattleManager.Instance.IsOtherBattleInProgress();
        // 如果正在非主线战斗中,没满足解锁条件则不允许切换
        if (isOtherBattleInProgress && !FuncOpen.Instance.IsFuncOpen(funcId))
        {
            string tip = FuncOpen.Instance.GetErrorTip(funcId);
            SysNotifyMgr.Instance.ShowTip("SwitchOutOfBattle", tip);
            tabButtons[functionOrder].SelectBtn();
            return;
        }
        if (index == 0)
@@ -253,6 +255,8 @@
            UIManager.Instance.OpenWindow<GuildJoinWin>();
            return;
        }
        DisplayTopBar(index);
        SelectBottomTab(index);
    }