cart.wxss
1.73 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
93
94
95
96
97
98
99
100
101
102
103
104
/* pack-cookbook/components/cart/cart.wxss */
@import "/app.wxss";
.cart{
background-color: #fefefe;
border-radius: 10rpx 10rpx 0 0;
width: 100%;
}
.cart image{width: 100%; height: 100%;}
.cart-title{
line-height: 60rpx;
height: 60rpx;
background-color: #F5F5F5;
color:#999999;
font-size: 24rpx;
border-radius: 10rpx 10rpx 0 0;
}
.cart-title .icon{
width: 26rpx;
height: 26rpx;
margin-right: 20rpx;
}
.cart-title .text{
margin-right: 5%;
}
.cart-body{
max-height: 620rpx;
overflow-y: auto;
padding: 0 5%;
}
.cart-item{
height: 100rpx;
line-height: 100rpx;
font-size: 30rpx;
}
.cart-item .name{
width: 60%;
overflow: hidden;
white-space:nowrap;
}
.cart-item .name .name{
width: auto;
max-width: 80%;
}
.cart-item .price{
width: 32%;
white-space:nowrap;
margin: 0 4%;
}
.cart-item .opt{
font-size: 36rpx;
font-weight: bold;
min-width: 160rpx;
width: 160rpx;
}
.jian,.add{
width: 60rpx;
height: 60rpx;
position: relative;
}
.jian::after{
position: absolute;
content: '';
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 60%;
height: 6rpx;
background-color: #999;
border-radius: 10rpx;
}
.cart-item .jian,.hasListModel .add{
width:36rpx;
height: 36rpx;
border-radius: 50%;
}
.cart-item .jian{
border: 2rpx solid #262628;
}
.cart-item .jian:after{
width: 75%;
height: 4rpx;
background-color: #262628;
}
.cart-item .add{
background-color: #fefefe;
background-image: url("http://nosqn.colorcun.com/custom/lite-yd-cook/image/add.png");
background-size: 100%;
width: 40rpx;
height: 40rpx;
}
.practice_name{
border: 2rpx solid #C8B16D;
font-size: 24rpx;
height: 30rpx;
line-height: 30rpx;
color:#C8B16D;
padding: 0 6rpx;
margin-left: 18rpx;
}