Commit e80018a4f3273b4c547ab80f99ec68cac6a2d6a9
1 parent
155d94c5
天天特惠组件数据绑定
Showing
1 changed file
with
11 additions
and
3 deletions
src/components/preferential/preferential.less
| 1 | 1 | .item_box{ |
| 2 | 2 | margin: 20px; |
| 3 | 3 | display: flex; |
| 4 | - justify-content: space-between; | |
| 5 | 4 | .left{ |
| 5 | + width:350px; | |
| 6 | 6 | img{ |
| 7 | 7 | display: block; |
| 8 | 8 | width:350px; |
| 9 | 9 | height:160px; |
| 10 | 10 | } |
| 11 | + img:nth-child(2),img:nth-child(3){ | |
| 12 | + margin-top: 10px; | |
| 13 | + } | |
| 11 | 14 | } |
| 12 | 15 | .right{ |
| 13 | - flex: 1; | |
| 16 | + width:350px; | |
| 14 | 17 | display: flex; |
| 15 | 18 | justify-content: space-between; |
| 16 | 19 | flex-wrap: wrap; |
| 20 | + margin-left: 10px; | |
| 21 | + img{ | |
| 22 | + display: block; | |
| 23 | + } | |
| 17 | 24 | .first{ |
| 18 | 25 | width:350px; |
| 19 | 26 | height: 330px; |
| 27 | + margin-bottom: 10px; | |
| 20 | 28 | } |
| 21 | 29 | .item{ |
| 22 | 30 | width:350px; |
| 23 | - height:150px; | |
| 31 | + height:160px; | |
| 24 | 32 | } |
| 25 | 33 | } |
| 26 | 34 | } | ... | ... |