detail.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. /* 基础容器 */
  2. .container {
  3. background-color: #F5F7FA;
  4. min-height: 100vh;
  5. display: flex;
  6. flex-direction: column;
  7. }
  8. /* 导航栏 */
  9. .nav-bar {
  10. background-color: #fff;
  11. padding-top: var(--status-bar-height);
  12. padding-left: 0.9375rem;
  13. padding-right: 0.9375rem;
  14. height: 2.75rem;
  15. box-sizing: content-box;
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. position: -webkit-sticky;
  20. position: sticky;
  21. top: 0;
  22. z-index: 100;
  23. }
  24. .nav-left {
  25. height: 100%;
  26. display: flex;
  27. align-items: center;
  28. width: 1.875rem;
  29. }
  30. .back-icon {
  31. width: 1.25rem;
  32. height: 1.25rem;
  33. transform: rotate(180deg);
  34. }
  35. .nav-title {
  36. font-size: 0.875rem; /* 14pt (Strict) */
  37. font-weight: bold;
  38. color: #333;
  39. }
  40. .nav-right {
  41. width: 1.875rem;
  42. }
  43. /* 内容区域 */
  44. .content-area {
  45. flex: 1;
  46. display: flex;
  47. flex-direction: column;
  48. }
  49. /* Tabs */
  50. .tabs-row {
  51. background-color: #fff;
  52. display: flex;
  53. justify-content: space-around;
  54. padding-top: 0.625rem;
  55. padding-bottom: 0.0625rem;
  56. margin-bottom: 0.625rem;
  57. }
  58. .tab-item {
  59. padding-bottom: 0.5rem;
  60. font-size: 0.875rem;
  61. color: #666;
  62. position: relative;
  63. display: flex;
  64. flex-direction: column;
  65. align-items: center;
  66. min-width: 3.125rem;
  67. }
  68. .tab-item.active {
  69. font-weight: bold;
  70. color: #FF9800;
  71. }
  72. .tab-line {
  73. width: 1.25rem;
  74. height: 0.125rem;
  75. background-color: #FF9800;
  76. border-radius: 0.125rem;
  77. position: absolute;
  78. bottom: 0;
  79. }
  80. /* 列表容器 */
  81. .bill-list {
  82. flex: 1;
  83. padding: 0 0.625rem;
  84. box-sizing: border-box;
  85. }
  86. /* 月份卡片 */
  87. .month-group {
  88. background-color: #fff;
  89. border-radius: 0.5rem;
  90. padding: 0 0.625rem;
  91. margin-bottom: 0.625rem;
  92. box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,0.02);
  93. }
  94. .group-header {
  95. display: flex;
  96. justify-content: space-between;
  97. align-items: center;
  98. padding: 0.75rem 0.3125rem;
  99. border-bottom: 0.03125rem solid #f9f9f9;
  100. }
  101. .month-title {
  102. font-size: 0.9375rem;
  103. font-weight: bold;
  104. color: #333;
  105. }
  106. .month-summary {
  107. font-size: 0.75rem;
  108. color: #999;
  109. }
  110. /* 列表项 */
  111. .list-item {
  112. display: flex;
  113. align-items: center;
  114. padding: 0.9375rem 0.3125rem;
  115. border-bottom: 0.03125rem solid #f9f9f9;
  116. }
  117. .list-item:last-child {
  118. border-bottom: none;
  119. }
  120. /* 左侧图标 */
  121. .item-icon-box {
  122. width: 2.5rem;
  123. height: 2.5rem;
  124. border-radius: 50%;
  125. display: flex;
  126. justify-content: center;
  127. align-items: center;
  128. margin-right: 0.625rem;
  129. flex-shrink: 0;
  130. }
  131. .item-icon-box.income {
  132. background-color: #FFF8E1; /* Light Yellow for Points */
  133. }
  134. .item-icon-box.expense {
  135. background-color: #F5F5F5; /* Light Grey for Points */
  136. }
  137. .item-icon-symbol {
  138. font-size: 1.25rem;
  139. font-weight: 300;
  140. line-height: 1;
  141. margin-top: -0.125rem;
  142. }
  143. .item-icon-box.income .item-icon-symbol {
  144. color: #FF9800; /* Orange */
  145. }
  146. .item-icon-box.expense .item-icon-symbol {
  147. color: #333; /* Black */
  148. }
  149. /* 中间内容 */
  150. .item-center {
  151. flex: 1;
  152. display: flex;
  153. flex-direction: column;
  154. justify-content: space-around;
  155. height: 2.5rem;
  156. }
  157. .item-title {
  158. font-size: 0.875rem;
  159. font-weight: 500;
  160. color: #333;
  161. }
  162. .item-desc {
  163. font-size: 0.6875rem;
  164. color: #999;
  165. margin-top: 0.25rem;
  166. }
  167. /* 右侧数据 */
  168. .item-right {
  169. display: flex;
  170. flex-direction: column;
  171. align-items: flex-end;
  172. justify-content: space-around;
  173. height: 2.5rem;
  174. margin-left: 0.3125rem;
  175. }
  176. .item-amount {
  177. font-size: 0.9375rem;
  178. font-weight: bold;
  179. }
  180. .item-amount.income {
  181. color: #FF9800;
  182. }
  183. .item-amount.expense {
  184. color: #333;
  185. }
  186. .item-tag {
  187. display: inline-flex;
  188. justify-content: flex-end;
  189. margin-top: 0.1875rem;
  190. }
  191. .item-tag uni-text {
  192. background-color: #FFFFFF;
  193. border: 0.03125rem solid #eee;
  194. padding: 0.0625rem 0.25rem;
  195. border-radius: 0.1875rem;
  196. font-size: 0.625rem;
  197. color: #999;
  198. }
  199. .list-padding-bottom {
  200. height: 1.25rem;
  201. }