update pay ui

This commit is contained in:
2025-12-13 17:03:48 +08:00
parent 5288666446
commit d44f8d8fa8
2 changed files with 13 additions and 10 deletions

View File

@@ -65,23 +65,23 @@ const shimmerAnimation = keyframes`
100% { transform: translateX(100%); }
`;
// API配置 - 与主文件保持一致
import { getApiBase } from '@utils/apiConfig';
// API配置 - 生产环境通过 api.valuefrontier.cn 代理
const API_BASE_URL = process.env.NODE_ENV === 'production'
? '/concept-api'
? `${getApiBase()}/concept-api`
: 'http://111.198.58.126:16801';
const NEWS_API_URL = process.env.NODE_ENV === 'production'
? '/news-api'
? `${getApiBase()}/news-api`
: 'http://111.198.58.126:21891';
const REPORT_API_URL = process.env.NODE_ENV === 'production'
? '/report-api'
? `${getApiBase()}/report-api`
: 'http://111.198.58.126:8811';
// 主应用后端 API 基础 URL用于获取股票关联的事件/新闻)
const MAIN_API_URL = process.env.NODE_ENV === 'production'
? ''
: 'http://111.198.58.126:5001';
const MAIN_API_URL = getApiBase();
const ConceptTimelineModal = ({
isOpen,

View File

@@ -100,17 +100,20 @@ import { marketService } from '../../services/marketService';
// 导入 PostHog 追踪 Hook
import { useConceptEvents } from './hooks/useConceptEvents';
import { getApiBase } from '@utils/apiConfig';
// API配置 - 生产环境通过 api.valuefrontier.cn 代理
const API_BASE_URL = process.env.NODE_ENV === 'production'
? '/concept-api'
? `${getApiBase()}/concept-api`
: 'http://111.198.58.126:16801';
// 新闻和研报API配置
const NEWS_API_URL = process.env.NODE_ENV === 'production'
? '/news-api'
? `${getApiBase()}/news-api`
: 'http://111.198.58.126:21891';
const REPORT_API_URL = process.env.NODE_ENV === 'production'
? '/report-api'
? `${getApiBase()}/report-api`
: 'http://111.198.58.126:8811';
// 渐变动画