Commit bdfbb8f86870c2ff390103650fdd0fb4b4f19431
1 parent
6c1e8418
使用float站位显示图片组合
Showing
1 changed file
with
1 additions
and
1 deletions
components/diy_picMax/diy_picMax.wxss
1 | 1 | .picMax{width: 100%;position: relative;} |
2 | -.pic_item{display: inline-block; top:0;left:0;vertical-align: middle} | |
2 | +.pic_item{display: block; top:0;left:0;float:left} | |
3 | 3 | .pic_item image{width: 100%; height: 100%} |
4 | 4 | .width_1{width: 187.5rpx}.width_2{width: 375rpx;}.width_3{width: 562.5rpx}.width_4{width:748rpx;} |
5 | 5 | /* .height_1{height: 187.5rpx;}.height_2{height: 375rpx;}.height_3{height: 562.5rpx}.height_4{height: 748rpx;} */ | ... | ... |