style(theme-2): remove Message Center shortcut from profile page

This commit is contained in:
2026-06-18 10:46:16 +08:00
parent 75bd5c3512
commit f4c71b22f2

View File

@@ -11,7 +11,6 @@ import { usePlayerProfile } from '../composables/usePlayerProfile';
import GoldSpinner from '../components/GoldSpinner.vue';
import { usePullToRefresh } from '../composables/usePullToRefresh';
import { parseCashbackApiData, sumCashbackAmount } from '../utils/cashback';
import { useInboxFeature } from '../composables/useInboxFeature';
import walletBg from '../assets/images/wallet-bg.webp';
const { t, locale } = useI18n();
@@ -19,7 +18,6 @@ const router = useRouter();
const auth = useAuthStore();
const { locales, setLocale, initFromUser } = useAppLocale();
const { profileRaw, refreshProfile } = usePlayerProfile();
const { hubRoute } = useInboxFeature();
const loading = ref(true);
const error = ref(false);
@@ -190,12 +188,6 @@ const balanceAmountClass = computed(() => {
</span>
<span class="qa-label">{{ t('recharge.history_title') }}</span>
</RouterLink>
<RouterLink :to="hubRoute" class="qa-item">
<span class="qa-icon qa-icon--inbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" width="24" height="24"><path d="M4 6.5A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5v11A2.5 2.5 0 0 1 17.5 20H6.5A2.5 2.5 0 0 1 4 17.5v-11Z"/><path d="m4 7 8 5.5L20 7"/></svg>
</span>
<span class="qa-label">{{ t('messages.title') }}</span>
</RouterLink>
</div>
<section class="settings-group">