cart.wxss
1.9 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* pack-cookbook/pages/cart.wxss */
page{
background-color: #F5F5F5;
}
.header{
height: 280rpx;
background-color: #262628;
margin-top: -2rpx;
color:#FEFEFE;
font-size: 34rpx;
}
.page{
position: fixed;
top:150rpx;
bottom: 0;
left: 10rpx;
right: 10rpx;
background-color: #fefefe;
border-radius: 10rpx;
overflow-y: auto;
}
.footer{
position: fixed;
bottom: 0;
left: 0;
right: 0;
text-align: center;
background-color: #f5f5f5;
}
.footer .infos{
margin: 0 10rpx 20rpx;
background-color: #fefefe;
border-radius: 10rpx 10rpx 0 0;
font-size: 28rpx;
padding: 0 20rpx;
}
.footer .infos .item{
height: 100rpx;
line-height: 100rpx;
}
.infos input{
text-align: right;
}
.infos .desc{
margin-right: 20rpx;
white-space:nowrap;
overflow: hidden;
max-width: 95%;
color: #999999;
}
.footer .submit{
height: 98rpx;
line-height: 98rpx;
background-color: #262628;
color:#fefefe;
font-size: 34rpx;
}
.total{
height: 140rpx;
line-height: 140rpx;
border-top: 2rpx solid #F5F5F5;
border-radius: 0 0 10rpx 10rpx;
margin:0 10rpx 20rpx;
text-align: right;
background-color: #fefefe;
font-weight: bold;
font-size: 36rpx;
padding-right: 34rpx;
}
.carts{
overflow-y: auto;
padding: 0 5% 680rpx;
}
.carts image{
width: 100%;
height: 100%;
}
.carts .icon{
width: 48rpx;
min-width: 48rpx;
height: 48rpx;
background-color: #f5f5f5;
border-radius: 50%;
overflow: hidden;
margin-right: 20rpx;
}
.carts .title{
height:80rpx;
line-height: 80rpx;
font-size: 28rpx;
border-bottom: 2rpx solid #F5F5F5;
}
.cart-body{
}
.cart-item{
height: 100rpx;
line-height: 100rpx;
font-size: 34rpx;
}
.cart-item .name{
width: 60%;
overflow: hidden;
white-space:nowrap;
}
.cart-item .price{
width: 32%;
white-space:nowrap;
margin: 0 4%;
}
.cart-item .opt{
font-size: 36rpx;
font-weight: bold;
min-width: 80rpx;
width: 80rpx;
text-align: right;
}