index.wxss
2.35 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
.modal {
position: fixed;
left: 0;
right: 0;
top: 0;
right: 0;
background: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
}
.center_box {
width: calc(100% - 180rpx);
/* min-height: 100px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center; */
}
.modal-body {
position: absolute;
top: 84rpx;
left: 50%;
transform: translate(-50%, 0);
width: calc(100% - 180rpx);
height: 100rpx;
}
.modal-close-icon {
display: flex;
align-items: center;
justify-content: flex-end;
}
.close_icon {
width: 48rpx;
height: 48rpx;
}
.modal_main_bg {
width: 100%;
position: relative;
}
.body_bg_icon {
width: 100%;
height: calc(100% - 64rpx);
position: absolute;
left: 0;
right: 0;
top: 64rpx;
bottom: 0;
z-index: -1;
}
.modal-bg-icon {
width: 100%;
height: 228rpx;
display: flex;
justify-content: flex-end;
}
.bg_icon {
width: 100%;
height: 228rpx;
}
.modal_element_box {
width: 100%;
height: 124rpx;
position: relative;
box-sizing: border-box;
padding: 0 38rpx;
margin-bottom: 16rpx;
}
.box_bg_img {
width: calc(100% - 76rpx);
height: 100%;
position: absolute;
left: 50%;
top: 0;
bottom: 0;
transform: translate(-50%, 0);
}
.scroll_modal {
height: 560rpx;
width: 100%;
}
.element_name {
color: #333435;
font-size: 28rpx;
position: absolute;
top: 50%;
left: 84rpx;
transform: translate(0, -50%);
font-weight: 600;
}
.element_min_name {
color: #929293;
font-size: 24rpx;
position: absolute;
bottom: 24rpx;
left: 84rpx;
font-weight: 400;
}
.element_price {
position: absolute;
right: 55rpx;
top: 10rpx;
width: 139rpx;
height: 59rpx;
text-align: center;
line-height: 59rpx;
color: #F13C3D;
font-weight: 600;
font-size: 36rpx;
}
.blank_box {
position: absolute;
right: 55rpx;
bottom: 0;
width: 139rpx;
height: 59rpx;
}
.modal_btn {
text-align: center;
margin-top: 4rpx;
position: relative;
}
.btn_text {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: #FFFFFF;
font-size: 36rpx;
top: 61rpx;
}
.btn_bg_cion {
width: 452rpx;
height: 132rpx;
}
.text_index {
z-index: 2;
}
.text_hide_1 {
width: 40%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}