两个组件的wxss配置如下:
.picker_building{
width: 371rpx;
height: 65rpx;
text-align: left;
border: 2rpx solid #ddd;
float:left;
margin-bottom: 36rpx;
justify-content:center;
align-items:center;
}
.picker_floor{
width: 371rpx;
height: 65rpx;
text-align: left;
border: 2rpx solid #ddd;
float:right;
margin-bottom: 36rpx;
justify-content:center;
align-items:center;
}
求大神指教!
写个代码片段吧分享出来,然后给你改改,你这么提问不太好