update pay ui

This commit is contained in:
2025-12-02 18:50:01 +08:00
parent 2b3700369f
commit 4ea1ef08f4
3 changed files with 15 additions and 2 deletions

View File

@@ -12,7 +12,9 @@ export const lazyComponents = {
// ⚡ 直接引用 HomePage无需中间层静态页面不需要骨架屏 // ⚡ 直接引用 HomePage无需中间层静态页面不需要骨架屏
HomePage: React.lazy(() => import('@views/Home/HomePage')), HomePage: React.lazy(() => import('@views/Home/HomePage')),
CenterDashboard: React.lazy(() => import('@views/Dashboard/Center')), CenterDashboard: React.lazy(() => import('@views/Dashboard/Center')),
ProfilePage: React.lazy(() => import('@views/Profile')), ProfilePage: React.lazy(() => import('@views/Profile/ProfilePage')),
// 价值论坛 - 我的积分页面
ForumMyPoints: React.lazy(() => import('@views/Profile')),
SettingsPage: React.lazy(() => import('@views/Settings/SettingsPage')), SettingsPage: React.lazy(() => import('@views/Settings/SettingsPage')),
Subscription: React.lazy(() => import('@views/Pages/Account/Subscription')), Subscription: React.lazy(() => import('@views/Pages/Account/Subscription')),
PrivacyPolicy: React.lazy(() => import('@views/Pages/PrivacyPolicy')), PrivacyPolicy: React.lazy(() => import('@views/Pages/PrivacyPolicy')),
@@ -56,6 +58,7 @@ export const {
HomePage, HomePage,
CenterDashboard, CenterDashboard,
ProfilePage, ProfilePage,
ForumMyPoints,
SettingsPage, SettingsPage,
Subscription, Subscription,
PrivacyPolicy, PrivacyPolicy,

View File

@@ -191,6 +191,16 @@ export const routeConfig = [
description: '预测市场话题详细信息' description: '预测市场话题详细信息'
} }
}, },
{
path: 'value-forum/my-points',
component: lazyComponents.ForumMyPoints,
protection: PROTECTION_MODES.MODAL,
layout: 'main',
meta: {
title: '我的积分',
description: '价值论坛积分账户'
}
},
// ==================== Agent模块 ==================== // ==================== Agent模块 ====================
{ {

View File

@@ -91,7 +91,7 @@ const CompanyIndex = () => {
setStockCode(scode); setStockCode(scode);
setInputCode(scode); setInputCode(scode);
} }
}, [searchParams]); }, [searchParams, stockCode]);
useEffect(() => { useEffect(() => {
loadWatchlistStatus(); loadWatchlistStatus();