| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- /* 页面背景 */
- page {
- background-color: #F8F8F8;
- font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
- }
- .auth-container {
- padding: 20rpx;
- padding-bottom: 200rpx;
- }
- /* 顶部提示 */
- .top-tip {
- font-size: 24rpx;
- color: #666;
- margin-bottom: 20rpx;
- padding: 0 10rpx;
- }
- /* 表单卡片 */
- .form-card {
- background-color: #fff;
- border-radius: 20rpx;
- padding: 0 30rpx;
- margin-bottom: 20rpx;
- }
- .form-item {
- display: flex;
- align-items: center;
- height: 100rpx;
- border-bottom: none;
- }
- .label {
- width: 160rpx;
- font-size: 26rpx;
- /* 13号字体 */
- font-weight: bold;
- color: #333;
- }
- .input-area {
- flex: 1;
- font-size: 26rpx;
- /* 13号字体 */
- color: #333;
- }
- .input-placeholder {
- color: #ccc;
- font-size: 26rpx;
- /* 13号字体 */
- }
- .read-only-text {
- color: #333;
- font-size: 26rpx;
- /* 13号字体 */
- }
- /* ... existing code ... */
- .card-label {
- font-size: 26rpx;
- /* 13号字体 */
- color: #333;
- font-weight: bold;
- }
- /* ... existing code ... */
- .next-btn {
- background: linear-gradient(90deg, #FF6F00 0%, #FF5722 100%);
- color: #fff;
- font-size: 28rpx;
- /* 14号字体 */
- font-weight: bold;
- height: 90rpx;
- line-height: 90rpx;
- border-radius: 45rpx;
- box-shadow: 0 10rpx 20rpx rgba(255, 87, 34, 0.2);
- }
- /* 灰色背景输入框 (复刻图1样式,实际上图1是白色背景+灰色块? 不,图1看起来是整行白色,输入框区域是浅灰块) */
- /* 修正: 图1中输入框是浅灰色的矩形块 */
- .gray-input-box {
- flex: 1;
- height: 70rpx;
- background-color: #F8F8F8;
- border-radius: 8rpx;
- display: flex;
- align-items: center;
- padding: 0 20rpx;
- }
- .arrow-right {
- width: 24rpx;
- height: 24rpx;
- margin-left: auto;
- }
- /* 上传卡片 */
- .upload-card {
- background-color: #fff;
- border-radius: 20rpx;
- padding: 40rpx 0;
- margin-bottom: 20rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .upload-box {
- width: 600rpx;
- height: 360rpx;
- /* 身份证比例 roughly 1.6 */
- background-color: #F8F8F8;
- border: 2rpx dashed #eee;
- border-radius: 12rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin-bottom: 20rpx;
- position: relative;
- overflow: hidden;
- }
- .camera-icon {
- width: 64rpx;
- height: 64rpx;
- margin-bottom: 15rpx;
- /* 使用SVG或图片 */
- }
- .upload-text {
- font-size: 26rpx;
- color: #ccc;
- }
- .preview-img {
- width: 100%;
- height: 100%;
- }
- /* 底部按钮 */
- .footer-btn-area {
- margin-top: 60rpx;
- padding: 0 20rpx;
- }
- /* 自定义日期选择器弹窗 */
- .picker-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999;
- visibility: hidden;
- opacity: 0;
- transition: all 0.3s;
- }
- .picker-mask.show {
- visibility: visible;
- opacity: 1;
- }
- .picker-content {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- background-color: #fff;
- border-radius: 20rpx 20rpx 0 0;
- transform: translateY(100%);
- transition: all 0.3s;
- }
- .picker-mask.show .picker-content {
- transform: translateY(0);
- }
- .picker-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 30rpx;
- border-bottom: 1px solid #eee;
- font-size: 32rpx;
- }
- .picker-btn-cancel {
- color: #999;
- }
- .picker-title {
- font-weight: bold;
- color: #333;
- }
- .picker-btn-confirm {
- color: #FF5722;
- font-weight: bold;
- }
- .picker-view {
- width: 100%;
- height: 400rpx;
- }
- .picker-item {
- line-height: 50px;
- /* picker-view-column 默认高度需要配合 */
- text-align: center;
- font-size: 32rpx;
- color: #333;
- }
|