style: 优化详情页图表和指标区域样式

This commit is contained in:
claw_bot 2026-03-16 05:52:01 +00:00
parent 66298f7379
commit 393ec7cfe7

View File

@ -1373,9 +1373,7 @@ const deletePortfolio = async () => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 8rpx; gap: 8rpx;
padding: 12rpx 0 16rpx; padding: 0 0 20rpx 0;
border-bottom: 1rpx solid #F3F4F6;
margin-bottom: 12rpx;
} }
.indicator-label { .indicator-label {
@ -1393,9 +1391,8 @@ const deletePortfolio = async () => {
/* 图表区域 */ /* 图表区域 */
.chart-area { .chart-area {
width: 100%; width: 100%;
height: 320rpx; height: 400rpx;
position: relative; position: relative;
margin: 0 -12rpx;
} }
.nav-canvas { .nav-canvas {
@ -1474,17 +1471,13 @@ const deletePortfolio = async () => {
.nav-stats { .nav-stats {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
gap: 12rpx; gap: 16rpx;
margin-top: 20rpx; margin-top: 24rpx;
padding-top: 20rpx;
border-top: 1rpx solid #F3F4F6;
} }
.nav-stats .stat-item { .nav-stats .stat-item {
text-align: center; text-align: center;
padding: 8rpx 4rpx; padding: 12rpx 0;
background-color: #F9FAFB;
border-radius: 12rpx;
} }
.nav-stats .stat-label { .nav-stats .stat-label {