嘟嘟灬鳕
嘟嘟灬鳕
  • 发布:2019-07-19 10:40
  • 更新:2019-07-19 10:40
  • 阅读:1386

display:flex布局下input问题

分类:uni-app

布局使用了flex,然后想调整容器内input的宽度,发现怎么也调不了,参考网上设置了flex-grow没有效果,设置input最小宽度也没有效果,求助

.popup {
position: fixed;
top: 0;
width: 100%;
height: 100%;
z-index: 99;
display: none;
.mask{
position: fixed;
top: 0;
width: 100%;
height: 100%;
z-index: 11;
background-color: rgba(0, 0, 0, 0.6);
}
.layer {
position: fixed;
z-index: 99;
bottom: 0%;
width: 92%;
padding: 0 4%;
height: 70%;
border-radius: 20upx 20upx 0 0;
background-color: #fff;
display: flex;
flex-wrap: wrap;
align-content: space-between;
.content {
width: 100%;
padding: 20upx 0;
}
.input {
}
.btn {
width: 100%;
height: 100upx;
.button {
width: 100%;
height: 80upx;
border-radius: 40upx;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
background-color: #f47952;
font-size: 28upx;
}
}
}
}

2019-07-19 10:40 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复