/* 基础容器 */ .container { background-color: #F8F9FA; min-height: 100vh; display: flex; flex-direction: column; } /* 导航栏 */ .nav-bar { background-color: #fff; padding-top: var(--status-bar-height); padding-left: 0.9375rem; padding-right: 0.9375rem; height: 2.75rem; box-sizing: content-box; display: flex; justify-content: space-between; align-items: center; position: -webkit-sticky; position: sticky; top: 0; z-index: 100; } .nav-left { height: 100%; display: flex; align-items: center; width: 1.875rem; /* 增大点击区域 */ } /* 复用通用图标并旋转 */ .back-icon { width: 1.25rem; height: 1.25rem; transform: rotate(180deg); } /* 导航标题 */ .nav-title { font-size: 0.875rem; font-weight: bold; color: #333; } .nav-right { width: 1.875rem; } /* 钱包卡片 */ .wallet-card { margin: 0.625rem 0.9375rem 0; /* 增加高度以优化内部间距 (原220rpx -> 300rpx) */ height: 9.375rem; background: linear-gradient(135deg, #FF6B00 0%, #FF8F00 100%); border-radius: 0.625rem; position: relative; overflow: hidden; color: #fff; box-shadow: 0 0.125rem 0.5rem rgba(255, 107, 0, 0.15); } .bg-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); } .bg-circle.big { width: 12.5rem; height: 12.5rem; right: -3.125rem; bottom: -4.6875rem; } .bg-circle.small { width: 6.25rem; height: 6.25rem; right: 2.5rem; bottom: 1.25rem; } .card-content { position: relative; z-index: 1; padding: 0.9375rem; /* 增加内边距 */ height: 100%; box-sizing: border-box; display: flex; flex-direction: column; /* justify-content: space-between; */ } .card-top { display: flex; justify-content: space-between; align-items: center; } .app-info { display: flex; align-items: center; } .app-logo { width: 0.875rem; /* 图标调小 */ height: 0.875rem; background-color: transparent; /* SVG不需要背景色 */ margin-right: 0.3125rem; border-radius: 0; } .app-name { font-size: 0.8125rem; /* 调小:13pt */ font-weight: 500; } .bill-btn { font-size: 0.8125rem; /* 13pt */ opacity: 0.9; } .bill-btn uni-text { font-size: 0.8125rem; /* 调小:13pt */ opacity: 0.95; } .balance-container { margin-top: auto; /* Push to bottom */ display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 0.3125rem; /* Align with bottom padding visual */ } .balance-main { display: flex; flex-direction: column; } .balance-label { font-size: 0.75rem; /* 12pt */ opacity: 0.9; margin-bottom: 0.125rem; } .balance-num { font-size: 1.5rem; /* 调整适中,不至于太小也不太大 */ font-weight: bold; line-height: 1.1; } .balance-pending { display: flex; flex-direction: column; align-items: flex-end; margin-bottom: 0.3125rem; } .pending-label { font-size: 0.75rem; /* 12pt */ opacity: 0.9; margin-bottom: 0.125rem; } .pending-num { font-size: 0.875rem; /* 14pt */ font-weight: bold; } /* 记录区域 */ .record-container { flex: 1; background-color: #fff; margin: 0.75rem 0.75rem 0; /* 调整边距 */ border-radius: 0.625rem 0.625rem 0 0; padding: 0.9375rem 0.75rem; } .record-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; } .header-title { font-size: 0.875rem; /* 14pt */ font-weight: bold; color: #333; } .header-more { display: flex; align-items: center; font-size: 0.75rem; /* 12pt */ color: #999; } .more-icon { width: 0.75rem; height: 0.75rem; margin-left: 0.1875rem; /* Ensure icon color is visible - svgs are usually static. display:block just in case */ display: block; } /* Tabs */ .tabs-row { display: flex; border-bottom: 0.03125rem solid #f5f5f5; margin-bottom: 0.3125rem; } .tab-item { margin-right: 1.25rem; padding-bottom: 0.375rem; font-size: 0.875rem; /* 14pt */ color: #666; position: relative; display: flex; flex-direction: column; align-items: center; } .tab-item.active { font-weight: bold; color: #333; } .tab-line { width: 0.875rem; height: 0.125rem; background-color: #FF6B00; border-radius: 0.125rem; position: absolute; bottom: 0; } /* 列表 */ .list-item { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 0.03125rem solid #f9f9f9; } .item-left { display: flex; flex-direction: column; } .item-title { font-size: 0.875rem; /* 14pt (Green Box) */ color: #333; margin-bottom: 0.25rem; font-weight: 500; } .item-desc { font-size: 0.8125rem; /* 13pt (Red Box) */ color: #999; margin-bottom: 0.1875rem; } .item-time { font-size: 0.75rem; /* 12pt */ color: #ccc; } .item-right { display: flex; flex-direction: column; /* align-items: flex-end; 保持右对齐 */ text-align: right; } .item-amount { font-size: 0.875rem; /* 14pt */ font-weight: bold; margin-bottom: 0.25rem; } .item-amount.income { color: #4CAF50; } .item-amount.expense { color: #333; } .item-tag { display: inline-flex; justify-content: flex-end; } .item-tag uni-text { background-color: #F5F5F5; padding: 0.125rem 0.375rem; border-radius: 0.1875rem; font-size: 0.6875rem; /* 11pt */ color: #999; }