Commit c7f27899f0ca6723b6f637d77ca4efd381ff588c
1 parent
bc6de975
1. 图片组合宽度比例的设置
Showing
1 changed file
with
6 additions
and
3 deletions
components/diy_picMax/diy_picMax.wxss
@@ -3,9 +3,9 @@ | @@ -3,9 +3,9 @@ | ||
3 | overflow: hidden; | 3 | overflow: hidden; |
4 | } | 4 | } |
5 | .pic_item{ | 5 | .pic_item{ |
6 | - float: left; | 6 | + float: left; margin: 0; padding: 0; |
7 | } | 7 | } |
8 | -.pic_item image{width: 100%;vertical-align: bottom;} | 8 | +.pic_item image{width: 100%;vertical-align: bottom; margin: 0; } |
9 | .picMax-clear{clear: both;} | 9 | .picMax-clear{clear: both;} |
10 | 10 | ||
11 | 11 | ||
@@ -16,7 +16,10 @@ | @@ -16,7 +16,10 @@ | ||
16 | position:absolute;top:0; left:0; | 16 | position:absolute;top:0; left:0; |
17 | } | 17 | } |
18 | .pic_item2 image{ width: 100%; height: 100%;} | 18 | .pic_item2 image{ width: 100%; height: 100%;} |
19 | -.width_1{width: 187.5rpx}.width_2{width: 375rpx;}.width_3{width: 562.5rpx}.width_4{width:750rpx;} | 19 | +/* .width_1{width: 187.5rpx}.width_2{width: 375rpx;}.width_3{width: 562.5rpx}.width_4{width:750rpx;} */ |
20 | +.width_1{width: 25%}.width_2{width: 50%}.width_3{width: 75%}.width_4{width:100%} | ||
21 | + | ||
22 | + | ||
20 | .height_1{height: 187.5rpx;}.height_2{height: 375rpx;}.height_3{height: 562.5rpx}.height_4{height: 748rpx;} | 23 | .height_1{height: 187.5rpx;}.height_2{height: 375rpx;}.height_3{height: 562.5rpx}.height_4{height: 748rpx;} |
21 | .mar_x1{margin-left:187.5rpx;}.mar_x2{margin-left:375rpx;}.mar_x3{margin-left:562.5rpx}.mar_x4{margin-left: 748rpx;} | 24 | .mar_x1{margin-left:187.5rpx;}.mar_x2{margin-left:375rpx;}.mar_x3{margin-left:562.5rpx}.mar_x4{margin-left: 748rpx;} |
22 | .mar_y1{margin-top: 187.5rpx;}.mar_y2{margin-top: 375rpx;}.mar_y3{margin-top: 562.5rpx}.mar_y4{margin-top: 748rpx;} | 25 | .mar_y1{margin-top: 187.5rpx;}.mar_y2{margin-top: 375rpx;}.mar_y3{margin-top: 562.5rpx}.mar_y4{margin-top: 748rpx;} |
23 | \ No newline at end of file | 26 | \ No newline at end of file |