index.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. body {
  2. background-color: #F8F8F8;
  3. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  4. }
  5. .custom-header {
  6. position: fixed;
  7. top: 0;
  8. left: 0;
  9. width: 100%;
  10. height: 2.75rem;
  11. padding-top: var(--status-bar-height);
  12. background-color: #fff;
  13. display: flex;
  14. align-items: center;
  15. justify-content: space-between;
  16. padding-left: 0.9375rem;
  17. padding-right: 0.9375rem;
  18. box-sizing: content-box;
  19. z-index: 100;
  20. }
  21. .header-placeholder {
  22. height: calc(2.75rem + var(--status-bar-height));
  23. }
  24. .back-icon {
  25. width: 1.25rem;
  26. height: 1.25rem;
  27. }
  28. .header-title {
  29. font-size: 0.875rem;
  30. font-weight: bold;
  31. color: #333;
  32. }
  33. .header-right {
  34. width: 1.25rem;
  35. }
  36. .container {
  37. padding: 0.9375rem;
  38. }
  39. .bank-card {
  40. background: linear-gradient(135deg, #E53935, #C62828);
  41. border-radius: 0.625rem;
  42. padding: 1.25rem;
  43. color: #fff;
  44. margin-bottom: 1.875rem;
  45. position: relative;
  46. overflow: hidden;
  47. box-shadow: 0 0.3125rem 0.9375rem rgba(229, 57, 53, 0.3);
  48. }
  49. .card-top {
  50. display: flex;
  51. justify-content: space-between;
  52. align-items: center;
  53. margin-bottom: 1.875rem;
  54. position: relative;
  55. z-index: 2;
  56. }
  57. .bank-info {
  58. display: flex;
  59. align-items: center;
  60. }
  61. .bank-icon-circle {
  62. width: 1.875rem;
  63. height: 1.875rem;
  64. background-color: #fff;
  65. border-radius: 50%;
  66. display: flex;
  67. align-items: center;
  68. justify-content: center;
  69. margin-right: 0.625rem;
  70. }
  71. .bank-icon-text {
  72. color: #C62828;
  73. font-weight: bold;
  74. font-size: 1rem;
  75. }
  76. .bank-name {
  77. font-size: 1rem;
  78. font-weight: bold;
  79. }
  80. .card-type {
  81. font-size: 0.75rem;
  82. border: 1px solid rgba(255,255,255,0.6);
  83. padding: 0.125rem 0.375rem;
  84. border-radius: 0.25rem;
  85. }
  86. .card-number {
  87. font-size: 1.5rem;
  88. font-family: monospace;
  89. letter-spacing: 0.125rem;
  90. position: relative;
  91. z-index: 2;
  92. text-shadow: 0 0.0625rem 0.125rem rgba(0,0,0,0.2);
  93. }
  94. .card-bg-circle {
  95. position: absolute;
  96. top: -1.5625rem;
  97. right: -1.5625rem;
  98. width: 9.375rem;
  99. height: 9.375rem;
  100. background-color: rgba(255,255,255,0.1);
  101. border-radius: 50%;
  102. z-index: 1;
  103. }
  104. .action-btn {
  105. background-color: #FF5722;
  106. color: #fff;
  107. font-size: 1rem;
  108. border-radius: 1.375rem;
  109. height: 2.75rem;
  110. line-height: 2.75rem;
  111. margin-bottom: 0.9375rem;
  112. }
  113. .security-tip {
  114. display: flex;
  115. align-items: center;
  116. justify-content: center;
  117. font-size: 0.75rem;
  118. color: #999;
  119. }
  120. .shield-icon {
  121. width: 0.75rem;
  122. height: 0.75rem;
  123. margin-right: 0.3125rem;
  124. }