Commit e80018a4f3273b4c547ab80f99ec68cac6a2d6a9

Authored by zhiyangdu
1 parent 155d94c5

天天特惠组件数据绑定

src/components/preferential/preferential.less
1 .item_box{ 1 .item_box{
2 margin: 20px; 2 margin: 20px;
3 display: flex; 3 display: flex;
4 - justify-content: space-between;  
5 .left{ 4 .left{
  5 + width:350px;
6 img{ 6 img{
7 display: block; 7 display: block;
8 width:350px; 8 width:350px;
9 height:160px; 9 height:160px;
10 } 10 }
  11 + img:nth-child(2),img:nth-child(3){
  12 + margin-top: 10px;
  13 + }
11 } 14 }
12 .right{ 15 .right{
13 - flex: 1; 16 + width:350px;
14 display: flex; 17 display: flex;
15 justify-content: space-between; 18 justify-content: space-between;
16 flex-wrap: wrap; 19 flex-wrap: wrap;
  20 + margin-left: 10px;
  21 + img{
  22 + display: block;
  23 + }
17 .first{ 24 .first{
18 width:350px; 25 width:350px;
19 height: 330px; 26 height: 330px;
  27 + margin-bottom: 10px;
20 } 28 }
21 .item{ 29 .item{
22 width:350px; 30 width:350px;
23 - height:150px; 31 + height:160px;
24 } 32 }
25 } 33 }
26 } 34 }