@function px2rem($px, $rem:75) { @return $px / $rem+rem; } html, body { width: 100%; background: #F3F5FA; } .back { position: fixed; z-index: 9; width: px2rem(56, ); height: px2rem(56, ); left: px2rem(40, ); top: 0.2rem; // display: none; } h3 { width: 100%; margin-top: px2rem(40, ); margin-bottom: px2rem(32, ); text-align: center; color: #1F1B4F; font-size: px2rem(36, ); font-weight: bold; } input { background: transparent; border: none; outline: none; box-sizing: border-box; font-size: px2rem(28, ); &::placeholder { font-size: px2rem(28, ); color: #8A8CAB; } } .box2 { width: px2rem(686, ); height: px2rem(416, ); background: #fff; border-radius: px2rem(20, ); box-sizing: border-box; padding: 0 px2rem(40, ); margin: 0 auto px2rem(24, ); overflow: hidden; div { width: 100%; height: px2rem(103, ); line-height: px2rem(103, ); border-bottom: px2rem(1, ) solid #EBEEF5; display: flex; span { flex: 3; height: 100%; font-size: px2rem(28, ); color: #1F1B4F; } input { flex: 7; height: 100%; text-align: right; font-size: px2rem(28, ); color: #1F1B4F; } } } .box3 { width: px2rem(686, ); height: px2rem(416, ); background: #fff; border-radius: px2rem(20, ); box-sizing: border-box; padding: 0 px2rem(40, ); margin: 0 auto px2rem(40, ); overflow: hidden; p { font-size: px2rem(28, ); color: #1F1B4F; margin-top: px2rem(32, ); } .idBox { width: 100%; display: flex; justify-content: space-between; margin-top: px2rem(32, ); .z, .f { width: px2rem(288, ); height: px2rem(236, ); background: #F3F5FA; border-radius: px2rem(20, ); position: relative; .documents { position: absolute; width: px2rem(232, ); height: px2rem(144, ); left: 50%; transform: translateX(-50%); top: px2rem(28, ); } .icon_camera { position: absolute; width: px2rem(80, ); height: px2rem(80, ); left: 50%; top: px2rem(60, ); transform: translateX(-50%); z-index: 2; } span { position: absolute; color: #8A8CAB; font-size: px2rem(24, ); left: 50%; top: px2rem(180, ); transform: translateX(-50%); width: 100%; text-align: center; } .upload { position: absolute; width: px2rem(232, ); height: px2rem(144, ); left: 50%; transform: translateX(-50%); top: px2rem(28, ); z-index: 2; } } } } .but { width: px2rem(606, ); height: px2rem(96, ); line-height: px2rem(96, ); border-radius: px2rem(96, ); margin: 0 auto px2rem(48, ); text-align: center; font-size: px2rem(32, ); color: #FFFFFF; background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%); } .active{ background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%); } .rule { width: px2rem(654, ); margin: 0 auto px2rem(50, ); color: #8A8CAB; font-size: px2rem(28, ); p { margin-bottom: px2rem(10, ); line-height: 0.45rem; } }