auth.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /* 页面背景 */
  2. page {
  3. background-color: #F8F8F8;
  4. font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  5. }
  6. .auth-container {
  7. padding: 20rpx;
  8. padding-bottom: 200rpx;
  9. }
  10. /* 顶部提示 */
  11. .top-tip {
  12. font-size: 24rpx;
  13. color: #666;
  14. margin-bottom: 20rpx;
  15. padding: 0 10rpx;
  16. }
  17. /* 表单卡片 */
  18. .form-card {
  19. background-color: #fff;
  20. border-radius: 20rpx;
  21. padding: 0 30rpx;
  22. margin-bottom: 20rpx;
  23. }
  24. .form-item {
  25. display: flex;
  26. align-items: center;
  27. height: 100rpx;
  28. border-bottom: none;
  29. }
  30. .label {
  31. width: 160rpx;
  32. font-size: 26rpx;
  33. /* 13号字体 */
  34. font-weight: bold;
  35. color: #333;
  36. }
  37. .input-area {
  38. flex: 1;
  39. font-size: 26rpx;
  40. /* 13号字体 */
  41. color: #333;
  42. }
  43. .input-placeholder {
  44. color: #ccc;
  45. font-size: 26rpx;
  46. /* 13号字体 */
  47. }
  48. .read-only-text {
  49. color: #333;
  50. font-size: 26rpx;
  51. /* 13号字体 */
  52. }
  53. /* ... existing code ... */
  54. .card-label {
  55. font-size: 26rpx;
  56. /* 13号字体 */
  57. color: #333;
  58. font-weight: bold;
  59. }
  60. /* ... existing code ... */
  61. .next-btn {
  62. background: linear-gradient(90deg, #FF6F00 0%, #FF5722 100%);
  63. color: #fff;
  64. font-size: 28rpx;
  65. /* 14号字体 */
  66. font-weight: bold;
  67. height: 90rpx;
  68. line-height: 90rpx;
  69. border-radius: 45rpx;
  70. box-shadow: 0 10rpx 20rpx rgba(255, 87, 34, 0.2);
  71. }
  72. /* 灰色背景输入框 (复刻图1样式,实际上图1是白色背景+灰色块? 不,图1看起来是整行白色,输入框区域是浅灰块) */
  73. /* 修正: 图1中输入框是浅灰色的矩形块 */
  74. .gray-input-box {
  75. flex: 1;
  76. height: 70rpx;
  77. background-color: #F8F8F8;
  78. border-radius: 8rpx;
  79. display: flex;
  80. align-items: center;
  81. padding: 0 20rpx;
  82. }
  83. .arrow-right {
  84. width: 24rpx;
  85. height: 24rpx;
  86. margin-left: auto;
  87. }
  88. /* 上传卡片 */
  89. .upload-card {
  90. background-color: #fff;
  91. border-radius: 20rpx;
  92. padding: 40rpx 0;
  93. margin-bottom: 20rpx;
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. justify-content: center;
  98. }
  99. .upload-box {
  100. width: 600rpx;
  101. height: 360rpx;
  102. /* 身份证比例 roughly 1.6 */
  103. background-color: #F8F8F8;
  104. border: 2rpx dashed #eee;
  105. border-radius: 12rpx;
  106. display: flex;
  107. flex-direction: column;
  108. align-items: center;
  109. justify-content: center;
  110. margin-bottom: 20rpx;
  111. position: relative;
  112. overflow: hidden;
  113. }
  114. .camera-icon {
  115. width: 64rpx;
  116. height: 64rpx;
  117. margin-bottom: 15rpx;
  118. /* 使用SVG或图片 */
  119. }
  120. .upload-text {
  121. font-size: 26rpx;
  122. color: #ccc;
  123. }
  124. .preview-img {
  125. width: 100%;
  126. height: 100%;
  127. }
  128. /* 底部按钮 */
  129. .footer-btn-area {
  130. margin-top: 60rpx;
  131. padding: 0 20rpx;
  132. }