cook-class.wxss
1.72 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
83
84
85
86
87
88
89
90
91
92
/* component/cook-class/cook-class.wxss */
@import '../../app.wxss';
.cook-class{
width:100%;
top:150rpx;
left:0;
bottom:0;
position: fixed;
background:#353535;
z-index:1000;
padding-top:80rpx;
box-sizing:border-box;
overflow-y: auto;
padding-bottom: 160rpx;
}
.menu-list{
width:100%;
height:100%;
}
.cook-class-single{
padding:0 20rpx;
padding-top:40rpx;
padding-bottom:10rpx;
}
.cook-class-single-active{
border-bottom:2px solid #fff;
font-weight:bold;
}
.menu-fixed{
position:absolute;
bottom:10px;
left:10px;
width:80rpx;
height:80rpx;
padding:5rpx;
box-sizing:border-box;
}
.menu-fixed-image-close{
width:70rpx;
height:70rpx;
border-radius:50%;
position: fixed;
bottom: 40rpx;
left: 40rpx;
}
.hasListModel{
width: 180rpx;
padding-top:0rpx;
padding-left: 0;
background-color: #F5F5F5;
}
.hasListModel .cook-class-single{
width: 180rpx;
color: #999999;
font-size: 30rpx;
padding:18rpx 0rpx;
border-width:0 ;
}
.hasListModel .menu-fixed{
display: none;
}
.hasListModel .cook-class-single-active{
border-bottom-width:0 ;
background-color:#FEFEFE;
color:#353535;
font-weight: blod;
}
.hasListModel .cook-class-single-active:before{
position: absolute;
content: '';
top:0;
left:0;
width: 4rpx;
height: 100%;
background-color: #353535;
}
.hasListModel .line2more{
height: 90rpx;
width:140rpx;
vertical-align: middle;
overflow: hidden;
text-align: center;
margin: auto;
text-overflow:ellipsis;
display: -webkit-box;
/*-webkit-box-orient: vertical;*/
/*-webkit-line-clamp: 2;*/
-webkit-box-align: center;
}