时间:2019-05-07 来源:小程序工厂
J***:
你好,请提供一下能复现问题的简单代码示例。
***:
/* pages/login/jg_login/jg_login.wxss */
.gr_login .Sign_hd{
display: flex;
flex-direction: column;
align-items: center;
}
.gr_login .Sign_logo {
width: 215rpx;
height: 250rpx;
margin: 50rpx;
}
.signbox
{
width: 100%;
height: 100%;
position: fixed;
background-color: #ff665d;
border-top: 2px solid #3e95fe;
}
.qwjg{
width: 220rpx;
height: 75rpx;
padding-left: 40rpx;
box-sizing: border-box;
line-height: 75rpx;
background-size: 100%;
color: #fff;
font-size: 30rpx;
position: fixed;
top: 27%;
left: 0;
}
.gr_bg{
width: 750rpx;
height: 669rpx;
background-size: 100%;
position: fixed;
bottom: 0rpx;
z-index: -1;
}
.login-from {
flex: auto;
margin: 0 auto;
margin-top:10%;
height:650rpx;
width: 100%;
padding:0 5%;
box-sizing: border-box;
}
.inputView {
border: 1px solid #fff;
line-height: 44px;
border-radius:10rpx;
width:100%;
height:74rpx;
margin-top:30rpx;
display: flex;
}
.jg_zjlx{
color: #fff;
font-size: 24rpx;
flex: 1;
}
.jg_select{
width:100%;
line-height:74rpx;
color: #5f5f5f;
font-size: 24rpx;
box-sizing: border-box;
z-index:0;
}
.jg_option{
border-bottom: 1px solid #ccc;
background-color:#fff;
padding: 0 90rpx;
height: 74rpx;
}
.no_br{
border:0px;
}
.gr_text{
width:90rpx;
height: 74rpx;
background-size: 100%;
float: left;
}
.inputText{
flex: block;
float: left;
text-align: left;
color: #fff;
font-size: 24rpx;
height:74rpx;
width:86%;
}
.loginBtnView {
width: 100%;
height: auto;
margin-top: 0px;
margin-bottom: 0px;
padding-bottom: 0px;
}
.loginBtn {
width: 100%;
background-color: #fff;
color: #ff665d;
font-size:47rpx;
height: 95rpx;
line-height: 95rpx;
margin-top:70rpx;
}
.test {
color: #fff;
margin-top: 20px;
background-color: #f00;
height: 30px;
width: 80%;
}
.down{
width: 40rpx;
height: 68rpx;
float: right;
margin-right: 20rpx;
background-size: 80%;
background-repeat: no-repeat;
margin-top: 10rpx;
}
/* pages/login/jg_login/jg_login.js */
Page({