Merge branch 'feature_bugfix/251201_vf_h5_ui' into feature_bugfix/251201_py_h5_ui
* feature_bugfix/251201_vf_h5_ui: fix: 事件详情唔错页面UI调整 fix: 调整事件详情页面 feat: 事件详情页 URL ID 加密,防止用户遍历 style: 首页整体尺寸缩小约 67% fix: 调整客服弹窗 将 PC 端聊天窗口从 380×640 调整为 450×750。 H5 端:宽度占满,高度根据宽度等比缩放 fix: ICP 备案号现在可以点击跳转到 https://beian.miit.gov.cn/ feat: 田间mock数据 feat: 个股中心复用 TradeDatePicker 日期选择器组件 feat: 概念中心历史时间轴弹窗UI调整 feat: 提取日历选择器组件 refactor: 提取 ConceptStocksModal 为通用组件,统一概念中心和个股中心弹窗 refactor: 事件详情弹窗改用 Drawer 组件从底部弹出 fix: 在 viewport meta 标签中添加了 viewport-fit=cover,这样浏览器会将页面内容延伸到曲面屏边缘,同时启用 safe-area-inset-* CSS 环境变量 在普通设备上保持至少 16px 的右侧内边距 在华为 MATE70 PRO 等曲面屏设备上,使用系统提供的安全区域值,避免右侧导航被遮挡 fix: 概念中心H5端卡片尺寸优化,一屏可显示更多内容 fix: 修复自选股添加失败 405 错误 fix: H5端热门事件移除Tooltip避免黑色悬浮框无法消除
This commit is contained in:
@@ -18,21 +18,21 @@ export const useHomeResponsive = (): ResponsiveConfig => {
|
||||
});
|
||||
|
||||
const headingSize = useBreakpointValue({
|
||||
base: 'xl',
|
||||
md: '3xl',
|
||||
lg: '4xl'
|
||||
base: 'lg',
|
||||
md: 'xl',
|
||||
lg: '2xl'
|
||||
});
|
||||
|
||||
const headingLetterSpacing = useBreakpointValue({
|
||||
base: '-1px',
|
||||
md: '-1.5px',
|
||||
lg: '-2px'
|
||||
base: '-0.5px',
|
||||
md: '-1px',
|
||||
lg: '-1.5px'
|
||||
});
|
||||
|
||||
const heroTextSize = useBreakpointValue({
|
||||
base: 'md',
|
||||
md: 'lg',
|
||||
lg: 'xl'
|
||||
base: 'xs',
|
||||
md: 'sm',
|
||||
lg: 'md'
|
||||
});
|
||||
|
||||
const containerPx = useBreakpointValue({
|
||||
|
||||
@@ -118,7 +118,7 @@ export const useWatchlist = () => {
|
||||
const handleAddToWatchlist = useCallback(async (stockCode, stockName) => {
|
||||
try {
|
||||
const base = getApiBase();
|
||||
const resp = await fetch(base + '/api/account/watchlist/add', {
|
||||
const resp = await fetch(base + '/api/account/watchlist', {
|
||||
method: 'POST',
|
||||
credentials: 'include',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
|
||||
Reference in New Issue
Block a user