diff --git a/components/diy_picMax/diy_picMax.wxss b/components/diy_picMax/diy_picMax.wxss index 170aa45..8886b2d 100644 --- a/components/diy_picMax/diy_picMax.wxss +++ b/components/diy_picMax/diy_picMax.wxss @@ -1,5 +1,5 @@ .picMax{width: 100%;position: relative;} -.pic_item{display: inline-block; top:0;left:0;vertical-align: middle} +.pic_item{display: block; top:0;left:0;float:left} .pic_item image{width: 100%; height: 100%} .width_1{width: 187.5rpx}.width_2{width: 375rpx;}.width_3{width: 562.5rpx}.width_4{width:748rpx;} /* .height_1{height: 187.5rpx;}.height_2{height: 375rpx;}.height_3{height: 562.5rpx}.height_4{height: 748rpx;} */