detail.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. /* 筛选区域 */
  50. .filter-area {
  51. background-color: #fff;
  52. display: flex;
  53. justify-content: space-between;
  54. align-items: center;
  55. padding: 0 0.9375rem;
  56. margin-bottom: 0.625rem;
  57. }
  58. /* Tabs */
  59. .tabs-row {
  60. display: flex;
  61. padding-top: 0.625rem;
  62. padding-bottom: 0.0625rem;
  63. gap: 1.25rem;
  64. }
  65. .tab-item {
  66. padding-bottom: 0.5rem;
  67. font-size: 0.875rem;
  68. color: #666;
  69. position: relative;
  70. display: flex;
  71. flex-direction: column;
  72. align-items: center;
  73. min-width: 3.125rem;
  74. }
  75. .tab-item.active {
  76. font-weight: bold;
  77. color: #FF9800;
  78. }
  79. .tab-line {
  80. width: 1.25rem;
  81. height: 0.125rem;
  82. background-color: #FF9800;
  83. border-radius: 0.125rem;
  84. position: absolute;
  85. bottom: 0;
  86. }
  87. /* 日期选择器 */
  88. .date-picker-wrap {
  89. display: flex;
  90. align-items: center;
  91. }
  92. .date-picker {
  93. background-color: #F5F7FA;
  94. padding: 0.25rem 0.625rem;
  95. border-radius: 0.9375rem;
  96. display: flex;
  97. align-items: center;
  98. }
  99. .date-text {
  100. font-size: 0.8125rem;
  101. color: #333;
  102. margin-right: 0.25rem;
  103. }
  104. .arrow-down {
  105. font-size: 0.75rem;
  106. color: #999;
  107. }
  108. /* 列表容器 */
  109. .bill-list {
  110. flex: 1;
  111. padding: 0 0.625rem;
  112. box-sizing: border-box;
  113. }
  114. /* 月份卡片 */
  115. .month-group {
  116. background-color: #fff;
  117. border-radius: 0.5rem;
  118. padding: 0 0.625rem;
  119. margin-bottom: 0.625rem;
  120. box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,0.02);
  121. }
  122. .group-header {
  123. display: flex;
  124. justify-content: space-between;
  125. align-items: center;
  126. padding: 0.75rem 0.3125rem;
  127. border-bottom: 0.03125rem solid #f9f9f9;
  128. }
  129. .month-title {
  130. font-size: 0.9375rem;
  131. font-weight: bold;
  132. color: #333;
  133. }
  134. .month-summary {
  135. font-size: 0.75rem;
  136. color: #999;
  137. }
  138. /* 列表项 */
  139. .list-item {
  140. display: flex;
  141. align-items: center;
  142. padding: 0.9375rem 0.3125rem;
  143. border-bottom: 0.03125rem solid #f9f9f9;
  144. }
  145. .list-item:last-child {
  146. border-bottom: none;
  147. }
  148. /* 左侧图标 */
  149. .item-icon-box {
  150. width: 2.5rem;
  151. height: 2.5rem;
  152. border-radius: 50%;
  153. display: flex;
  154. justify-content: center;
  155. align-items: center;
  156. margin-right: 0.625rem;
  157. flex-shrink: 0;
  158. }
  159. .item-icon-box.income {
  160. background-color: #FFF8E1; /* Light Yellow for Points */
  161. }
  162. .item-icon-box.expense {
  163. background-color: #F5F5F5; /* Light Grey for Points */
  164. }
  165. .item-icon-symbol {
  166. font-size: 1.25rem;
  167. font-weight: 300;
  168. line-height: 1;
  169. margin-top: -0.125rem;
  170. }
  171. .item-icon-box.income .item-icon-symbol {
  172. color: #FF9800; /* Orange */
  173. }
  174. .item-icon-box.expense .item-icon-symbol {
  175. color: #333; /* Black */
  176. }
  177. /* 中间内容 */
  178. .item-center {
  179. flex: 1;
  180. display: flex;
  181. flex-direction: column;
  182. justify-content: space-around;
  183. height: 2.5rem;
  184. }
  185. .item-title {
  186. font-size: 0.875rem;
  187. font-weight: 500;
  188. color: #333;
  189. }
  190. .item-desc {
  191. font-size: 0.6875rem;
  192. color: #999;
  193. margin-top: 0.25rem;
  194. }
  195. /* 右侧数据 */
  196. .item-right {
  197. display: flex;
  198. flex-direction: column;
  199. align-items: flex-end;
  200. justify-content: space-around;
  201. height: 2.5rem;
  202. margin-left: 0.3125rem;
  203. }
  204. .item-amount {
  205. font-size: 0.9375rem;
  206. font-weight: bold;
  207. }
  208. .item-amount.income {
  209. color: #FF9800;
  210. }
  211. .item-amount.expense {
  212. color: #333;
  213. }
  214. .item-tag {
  215. display: inline-flex;
  216. justify-content: flex-end;
  217. margin-top: 0.1875rem;
  218. }
  219. .item-tag uni-text {
  220. background-color: #FFFFFF;
  221. border: 0.03125rem solid #eee;
  222. padding: 0.0625rem 0.25rem;
  223. border-radius: 0.1875rem;
  224. font-size: 0.625rem;
  225. color: #999;
  226. }
  227. .list-padding-bottom {
  228. height: 1.25rem;
  229. }