m-list-view.less
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*
* list css
* Code at 2015/01/27
* by van
*/
@import "var";
.list-view {
border-top: 1px solid #ddd;
}
.list-view li {
border-bottom: 1px solid #ddd;
padding: 13px 0;
background: #fff;
}
.list-view li.on {
background: #eee;
}
.list-view .in-block {
display: inline-block;
vertical-align: middle;
}
.list-view .as-block {
display: block;
}
/* 普通类表内容样式 */
.list-view img {
width: 80px;
height: 80px;
margin: 0 15px;
}
.list-view .info {
height: 36px;
overflow: hidden;
margin: 0 10px 25px 0;
}
.from,
.price {
margin-right: 15px;
}
.price {
color: #fa4545;
font-size: 16px;
float: left;
}
.from {
color: #999;
font-size: 12px;
float: right;
}
.img-link {
float: left;
}
.go-kinds,
.go-detail {
display: block;
width: 50px;
padding: 51px 20px;
position: absolute;
top: 0;
right: 0;
text-align: right;
i {
display: inline-block;
width: 10px;
height: 16px;
background-position: -31px -236px;
}
}