diff --git a/components/diy_picMax/diy_picMax.wxss b/components/diy_picMax/diy_picMax.wxss index e3d266d..18e3307 100644 --- a/components/diy_picMax/diy_picMax.wxss +++ b/components/diy_picMax/diy_picMax.wxss @@ -3,9 +3,9 @@ overflow: hidden; } .pic_item{ - float: left; + float: left; margin: 0; padding: 0; } -.pic_item image{width: 100%;vertical-align: bottom;} +.pic_item image{width: 100%;vertical-align: bottom; margin: 0; } .picMax-clear{clear: both;} @@ -16,7 +16,10 @@ position:absolute;top:0; left:0; } .pic_item2 image{ width: 100%; height: 100%;} -.width_1{width: 187.5rpx}.width_2{width: 375rpx;}.width_3{width: 562.5rpx}.width_4{width:750rpx;} +/* .width_1{width: 187.5rpx}.width_2{width: 375rpx;}.width_3{width: 562.5rpx}.width_4{width:750rpx;} */ +.width_1{width: 25%}.width_2{width: 50%}.width_3{width: 75%}.width_4{width:100%} + + .height_1{height: 187.5rpx;}.height_2{height: 375rpx;}.height_3{height: 562.5rpx}.height_4{height: 748rpx;} .mar_x1{margin-left:187.5rpx;}.mar_x2{margin-left:375rpx;}.mar_x3{margin-left:562.5rpx}.mar_x4{margin-left: 748rpx;} .mar_y1{margin-top: 187.5rpx;}.mar_y2{margin-top: 375rpx;}.mar_y3{margin-top: 562.5rpx}.mar_y4{margin-top: 748rpx;} \ No newline at end of file