auth.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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. }
  133. /* 自定义日期选择器弹窗 */
  134. .picker-mask {
  135. position: fixed;
  136. top: 0;
  137. left: 0;
  138. right: 0;
  139. bottom: 0;
  140. background-color: rgba(0, 0, 0, 0.5);
  141. z-index: 999;
  142. visibility: hidden;
  143. opacity: 0;
  144. transition: all 0.3s;
  145. }
  146. .picker-mask.show {
  147. visibility: visible;
  148. opacity: 1;
  149. }
  150. .picker-content {
  151. position: absolute;
  152. bottom: 0;
  153. left: 0;
  154. width: 100%;
  155. background-color: #fff;
  156. border-radius: 20rpx 20rpx 0 0;
  157. transform: translateY(100%);
  158. transition: all 0.3s;
  159. }
  160. .picker-mask.show .picker-content {
  161. transform: translateY(0);
  162. }
  163. .picker-header {
  164. display: flex;
  165. justify-content: space-between;
  166. align-items: center;
  167. padding: 30rpx;
  168. border-bottom: 1px solid #eee;
  169. font-size: 32rpx;
  170. }
  171. .picker-btn-cancel {
  172. color: #999;
  173. }
  174. .picker-title {
  175. font-weight: bold;
  176. color: #333;
  177. }
  178. .picker-btn-confirm {
  179. color: #FF5722;
  180. font-weight: bold;
  181. }
  182. .picker-view {
  183. width: 100%;
  184. height: 400rpx;
  185. }
  186. .picker-item {
  187. line-height: 50px;
  188. /* picker-view-column 默认高度需要配合 */
  189. text-align: center;
  190. font-size: 32rpx;
  191. color: #333;
  192. }