card.wxss
1.88 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
@import "../../../iconfont.wxss";
.address {
height: 210rpx;
line-height: 200rpx;
padding: 0 66rpx 10rpx 104rpx;
font-size: 28rpx;
background-color: #fff;
box-sizing: border-box;
position: relative;
}
.address:after {
content: '';
width: 100%;
height: 10rpx;
background: url('https://cdn.yoho.cn/yoho-brand-shop/assets/img/cart/address-bottom-line-min.png');
position: absolute;
left: 0;
bottom: 0;
}
.address .icon-location {
font-size: 54rpx;
color: #585858;
position: absolute;
left: 30rpx;
}
.address .icon-right {
font-size: 48rpx;
color: #e0e0e0;
position: absolute;
right: 18rpx;
}
.address .consignee {
width: 100%;
display: inline-block;
vertical-align: middle;
line-height: 1.5;
}
.address .consignee .name,
.address .consignee .phone {
max-width: 34%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: inline-block;
font-weight: 700;
}
.address .consignee .name {
margin-right: 20rpx;
}
.address .consignee .direction {
display: block;
margin-top: 20rpx;
word-break:break-all;
}
.address-empty {
padding: 0;
}
.address-empty .add-address {
line-height: 100rpx;
}
.address-empty .add-wechat-address {
border-top: 1rpx solid #f0f0f0;
}
.address-empty .add-address .left-icon {
display: inline-block;
width: 46rpx;
height: 46rpx;
line-height: 44rpx;
vertical-align: middle;
text-align: center;
border: 1rpx solid #e0e0e0;
border-radius: 50%;
margin-left: 30rpx;
margin-right: 20rpx;
}
.address-empty .add-address .text {
vertical-align: middle;
}
.address.address-empty:after {
height: 1rpx;
background: #e0e0e0;
}
.address.frame .name,
.address.frame .phone,
.address.frame .direction{
width: 100%;
height: 36rpx;
background-color: #f3f3f3;
color: #f3f3f3;
}