| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- /* 基础容器 */
- .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;
- }
|