/* pages/phoneLogin.wxss */ page{ background-color: #ffffff; } .bottom{ width: 100%; margin: 0 auto; text-align: center; margin-top: 30px; margin-bottom: 30px; display: flex; } .bottom view { width: 47%; margin: 0 auto; border-radius: 30px; display: inline-block; } .bottom .btn2{ width: 80vw; height: 6.17vh; background: linear-gradient( 90deg, #2FE398 0%, #1BCF84 39%, #0ABD73 77%, #00B268 100%); margin:1vh auto 0; border-radius: 6.17vh; text-align: center; line-height: 6.17vh; font-size: 2.21vh; color: #ffffff; padding: 0; } .container{ width: 100vw; height: 100vh; } .container .header{ padding-top: 5.24vh; height: 36.94vh; display: flex; align-items: center; justify-content: space-between; padding-left: 20px; } .container .header .principal{ height: 6.15vh; line-height: 6.15vh; margin-bottom: 0.61vh; text-align: left; font-size: 2.92vh; color: #000000; font-weight: bold; } .container .header .instructions{ font-size: 2.46vh; height: 4.92vh; line-height: 4.92vh; text-align: center; color: #2c7339; } .container .quick-login{ /* position: fixed; */ width: calc(100% - 40px); background-color: #fff; border-radius: 30px; overflow: hidden; padding: 20px 20px 0; margin: 0 auto; position: relative; top: -8vh; } .van-field__body { /* border-bottom: 1px solid #dddddd; */ } .filed_box{ background-color: #F6F6F6; padding: 5px; border-radius: 50vh; margin-bottom: 15px; } .van-cell { background-color: transparent!important; } .container .quick-login .key-login{ width: 89vw; height: 5.17vh; background:#ffffff; margin:0 auto; border-radius: 5.17vh; text-align: center; line-height: 5.17vh; font-size: 2.21vh; color: #2c7339; box-shadow: 8rpx 6rpx 20rpx rgba(0,0,0,.3); padding: 0; } .container .quick-login .authorization{ margin-top: 5vh; display: flex; justify-content: center; /* 相对父元素水平居中 */ align-items: center; /* 子元素相对父元素垂直居中 */ color: #fff; } .container .quick-login .authorization .changeSize{ transform: scale(0.7,0.7); } .container .quick-login .authorization .changeSize .wx-checkbox-input { border-radius: 1vh; } .container .quick-login .authorization text{ margin-left: -.5vw; } scroll-view text{ display: block; line-height: 24px; text-indent: 2rem; }