.container { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start; position: relative; height: 100vh; } .force-login-wrap { width: 100%; height: 100%; overflow: hidden; z-index: 11111; top: 0; } .force-login-wrap .logo-bg { width: 640rpx; height: 300rpx; } .force-login-wrap .force-login__content { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .force-login-wrap .force-login__content .user-avatar { width: 160rpx; height: 160rpx; border-radius: 50%; overflow: hidden; margin-bottom: 40rpx; } .force-login-wrap .force-login__content .user-name { font-size: 35rpx; font-family: PingFang SC; font-weight: bold; color: #000; margin-bottom: 30rpx; } .force-login-wrap .force-login__content .login-notice { font-size: 28rpx; font-family: PingFang SC; font-weight: 400; color: #000; line-height: 44rpx; width: 500rpx; text-align: center; margin-bottom: 80rpx; } .force-login-wrap .force-login__content .author-btn { width: 630rpx; height: 80rpx; background: -webkit-linear-gradient(left, #f35447 0%, #ff8e3c 100%); background: linear-gradient(to right, #f35447 0%, #ff8e3c 100%); background: -moz-linear-gradient(to right, #f35447 0%, #ff8e3c 100%); border-radius: 40rpx; font-size: 30rpx; font-family: PingFang SC; font-weight: 500; color: #ffffff; } .force-login-wrap .force-login__content .close-btn { width: 630rpx; height: 80rpx; margin-top: 30rpx; border-radius: 40rpx; border: 2rpx solid #eb3729; background: none; font-size: 30rpx; font-family: PingFang SC; font-weight: 500; color: #eb3729; }