feat:优化基金详情弹框样式

This commit is contained in:
hzm
2026-03-08 22:46:02 +08:00
parent 152059b199
commit 63e7f000df
2 changed files with 13 additions and 10 deletions

View File

@@ -64,7 +64,13 @@ export default function FundCard({
const profit = getHoldingProfit?.(f, holding) ?? null;
const hasHoldings = f.holdingsIsLastQuarter && Array.isArray(f.holdings) && f.holdings.length > 0;
const style = layoutMode === 'drawer' ? { border: 'none', boxShadow: 'none' } : {};
const style = layoutMode === 'drawer' ? {
border: 'none',
boxShadow: 'none',
paddingLeft: 0,
paddingRight: 0,
background: 'transparent',
} : {};
return (
<motion.div