spec.wxss
1.31 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
@import '../../app.wxss'
.modal-mask{
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0,0,0,.49);
z-index: 999;
}
.modal{
width: 670rpx;
height: 720rpx;
border-radius: 20rpx;
box-sizing: border-box;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
z-index: 1000;
overflow-y: scroll;
}
.spec-content{
width: 100%;
padding-left: 40rpx;
box-sizing: border-box;
line-height: 1.4;
padding-top: 20rpx;
max-height: 600rpx;
overflow-y: scroll;
}
.food-name,.spec-title{
width: 100%;
padding: 20rpx 0;
}
.food-name{
width:100%;
padding-right: 40rpx;
text-align: center;
box-sizing: border-box;
}
.spec-list{
width: 100%;
}
.spec-single{
width: 170rpx;
height: 64rpx;
border-radius: 10rpx;
border:2rpx solid #EFEFEF;
box-sizing: border-box;
margin-right:40rpx;
margin-bottom: 30rpx;
}
.spec-single.active{
background: #FFE6E6;
border-color: #FD777D;
}
.spec-main{
width: 100%;
height: 120rpx;
padding: 0 60rpx;
border-top:2rpx solid #EFEFEF;
box-sizing: border-box;
border-radius:0 0 20rpx 20rpx;
}
.spec-button{
width: 250rpx;
height: 80rpx;
border-radius: 40rpx;
}
.close{
width: 60rpx;
height: 60rpx;
position: fixed;
left: 0;
right: 0;
top: 860rpx;
bottom: 0;
margin: auto;
z-index: 1000;
}
.close image{
width: 100%;
height: 100%;
}