-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.wxss
99 lines (99 loc) · 2.02 KB
/
index.wxss
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
/* pages/cart/index.wxss */
/* 支付页面 */
page {
margin-bottom: 100rpx;
}
.address_info {
padding: 20rpx;
border-bottom: 6rpx solid var(--themeColor);
}
.address_info .info {
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
}
.address_info .info .tel {
text-align: right;
}
.shop_cart {
font-size: 34rpx;
color: var(--themeColor);
padding: 20rpx;
border-bottom: 10rpx solid #eee;
}
.cart_content .cart_item {
padding: 20rpx;
display: flex;
border-bottom: 1px solid #999;
}
.cart_content .cart_item .cart_img {
flex: 2;
display: flex;
justify-content: center;
align-items: center;
}
.cart_content .cart_item .cart_img image {
width: 80%;
}
.cart_content .cart_item .cart_info {
flex: 5;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.cart_content .cart_item .cart_info .cart_info_name {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
font-size: 28rpx;
}
.cart_content .cart_item .cart_info .cart_info_text {
display: flex;
justify-content: space-between;
align-items: center;
}
.cart_content .cart_item .cart_info .cart_info_text .cart_info_price {
font-size: 30rpx;
font-weight: 600;
color: var(--themeColor);
}
.cart_content .cart_item .cart_info .cart_info_text .cart_info_tool {
display: flex;
}
.cart_content .cart_item .cart_info .cart_info_text .cart_info_tool .cart_info_num {
width: 60rpx;
height: 40rpx;
display: flex;
justify-content: center;
align-items: center;
}
.cart_total {
display: flex;
height: 90rpx;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
border-top: 1px solid #ddd;
background-color: #fff;
}
.cart_total .price {
flex: 3;
text-align: right;
padding-right: 10rpx;
}
.cart_total .price .total text {
color: var(--themeColor);
}
.cart_total .price .freight_tips {
font-size: 28rpx;
}
.cart_total .pay {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
background-color: var(--themeColor);
}