addressManager.wxss
3.5 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
.my-address-page {
width: 100%;
/* background: lightblue; */
overflow: hidden;
/* margin-bottom: 170rpx; */
height: 1000rpx;
}
.add-addressButton {
position: absolute;
margin-left: 40rpx;
margin-right: 40rpx;
bottom: 40rpx;
height: 100rpx;
width: 670rpx;
display: flex;
justify-content: center;
align-items: center;
color: white;
background-color: #002B47;
font-size: 32rpx;
font-family: PingFang-SC-Regular;
}
.empty-style {
text-align: center;
margin-left: auto;
margin-right:auto;
color: #444;
margin-top:50%;
font-size: 34rpx;
}
.emptyClass{
display: flex;
flex-direction: column;
align-items: center
}
.address-container {
margin-bottom: 120rpx;
}
.my-address-page .address-item {
display: block;
padding-top: 44rpx;
padding-left: 40rpx;
padding-right: 40rpx;
color: #b0b0b0;
background: #fff;
position: relative;
}
.address-item .current-select-image {
width:60rpx;
height:60rpx;
position: absolute;
right: 0rpx;
top: 0rpx;
}
.my-address-page .address-item .name-container {
display: flex;
align-items: center;
position: relative;
}
.my-address-page .address-item .name-container .name {
/* display: inline-block; */
max-width: 380rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: PingFang-SC-Medium;
font-weight: 500;
font-size: 32rpx;
color: black;
}
.my-address-page .address-item .name-container .tel {
margin-left: 40rpx;
font-family: SFProText-Medium;
font-weight: 500;
font-size: 32rpx;
color: black;
}
.my-address-page .address-item .default {
background-color: #002B47;
color: white;
font-size: 22rpx;
font-family: PingFang-SC-Regular;
padding: 6rpx 18rpx;
margin-left: 18rpx;
}
.my-address-page .address-item .name-container .edit {
color: black;
font-size: 24rpx;
font-family: PingFang-SC-Regular;
position: absolute;
right: 0;
}
.my-address-page .address-item .address-info {
margin-top: 20rpx;
font-family: PingFang-SC-Regular;
font-size: 28rpx;
line-height: 40rpx;
color: #999999;
word-break:break-all;
display:-webkit-box;
-webkit-box-pack: center;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}
.my-address-page .address-item .separator {
margin-top: 40rpx;
height: 1rpx;
background-color: #e0e0e0;
}
.my-address-page .address-item .action {
display: flex;
justify-content: space-between;
align-items: center;
height: 88rpx;
}
.my-address-page .address-item .action .left {
display: flex;
align-items: center;
width: 50%;
}
.my-address-page .address-item .action .right {
display: flex;
justify-content: flex-end;
align-items: center;
width: 50%;
}
.my-address-page .address-item .action .opt-text {
margin-left: 10rpx;
font-family: PingFang-SC-Regular;
font-size: 12px;
color: #444444;
}
.my-address-page .address-item .action .select-image {
width: 34rpx;
height: 34rpx;
}
.my-address-page .address-item .name, .my-address-page .address-item .tel {
font-family: PingFang-SC-Regular;
font-size: 28rpx;
line-height: 40rpx;
color: #444444;
}
.my-address-page .address-item .action .delete, .my-address-page .address-item .action .edit {
display: flex;
align-items: center;
text-align: right;
color: #ce0b24;
font-size: 28rpx;
}
.my-address-page .address-item .action .delete{
margin-left: 64rpx;
}