@conecli/cone-render 0.10.1-isv2.1 → 0.10.1-isv2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.ts +1 -1
- package/dist/common/const.ts +1 -1
- package/dist/common/environmentType.ts +1 -1
- package/dist/common/index.h5.ts +1 -1
- package/dist/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/pageType.ts +1 -1
- package/dist/common/sgmCustomCode.ts +1 -1
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CountDown/index.module.scss +49 -44
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/common.ts +1 -0
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
- package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +11 -3
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +3 -0
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +8 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/decorate/DecorateFloorModule/index.module.scss +11 -0
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
- package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
- package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
- package/dist/components/floorItem.jd.tsx +1 -1
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/floorItem.weapp.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -1
- package/dist/interface/common.ts +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/index.jd.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.jdb.ts +1 -1
- package/dist/jumpEventReport/web.jdjch.ts +1 -1
- package/dist/jumpEventReport/web.jxwxapp.ts +1 -1
- package/dist/jumpEventReport/web.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjapp.ts +1 -1
- package/dist/jumpEventReport/web.tjm.ts +1 -1
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/modules/ContainerFloorList/index.h5.module.scss +1 -0
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/device.ts +1 -1
- package/dist/open/api/request.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/sass/app.h5.scss +5 -0
- package/dist/sass/base.scss +183 -137
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/http/colorSign.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -0
- package/dist/service/http/index.h5.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -0
- package/dist/service/requestServer.ts +1 -1
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/sgmCodeUtils.ts +1 -1
- package/dist/utils/taroRenderUtil.ts +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +35 -29
- package/dist/utils/memberFormatUtils.js +0 -1
package/dist/sass/base.scss
CHANGED
|
@@ -1,296 +1,337 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'JDZhengHT-Bold';
|
|
4
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Bold.ttf) format('truetype');
|
|
5
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Bold.ttf') format('truetype');
|
|
6
|
+
font-weight: normal;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'JDZhengHT-Light';
|
|
12
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Light.ttf) format('truetype');
|
|
13
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Light.ttf') format('truetype');
|
|
14
|
+
font-weight: normal;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'JDZhengHT-Regular';
|
|
20
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Regular.ttf) format('truetype');
|
|
21
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Regular.ttf') format('truetype');
|
|
22
|
+
font-weight: normal;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'JDZhengHT-EN-Bold';
|
|
28
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZhengHei_01_Bold.ttf') format('truetype');
|
|
29
|
+
}
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'JDZhengHeiV2-Bold';
|
|
32
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Bold.otf')
|
|
33
|
+
format('truetype');
|
|
34
|
+
font-weight: normal;
|
|
35
|
+
font-style: normal;
|
|
9
36
|
}
|
|
10
37
|
|
|
11
38
|
@font-face {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
39
|
+
font-family: 'JDZhengHeiV2-Light';
|
|
40
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Light.ttf) format('truetype');
|
|
41
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Light.otf')
|
|
42
|
+
format('truetype');
|
|
43
|
+
font-weight: normal;
|
|
44
|
+
font-style: normal;
|
|
18
45
|
}
|
|
19
46
|
|
|
20
47
|
@font-face {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
48
|
+
font-family: 'JDZhengHeiV2-Regular';
|
|
49
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Regular.ttf) format('truetype');
|
|
50
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Regular.otf ')
|
|
51
|
+
format('truetype');
|
|
52
|
+
font-weight: normal;
|
|
53
|
+
font-style: normal;
|
|
27
54
|
}
|
|
28
55
|
|
|
29
56
|
@font-face {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
57
|
+
font-family: 'JDZhengHeiV2-Heavy';
|
|
58
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Heavy.otf')
|
|
59
|
+
format('truetype');
|
|
60
|
+
font-weight: normal;
|
|
61
|
+
font-style: normal;
|
|
33
62
|
}
|
|
34
63
|
|
|
35
64
|
.font-jdzht {
|
|
36
|
-
|
|
65
|
+
font-family: 'JDZhengHT-Regular';
|
|
37
66
|
}
|
|
38
67
|
|
|
39
68
|
.font-jdzht-bold {
|
|
40
|
-
|
|
69
|
+
font-family: 'JDZhengHT-Bold';
|
|
41
70
|
}
|
|
42
71
|
|
|
43
72
|
.font-jdzht-en-bold {
|
|
44
|
-
|
|
73
|
+
font-family: 'JDZhengHT-EN-Bold';
|
|
45
74
|
}
|
|
46
75
|
|
|
47
76
|
.font-jdzht-light {
|
|
48
|
-
|
|
77
|
+
font-family: 'JDZhengHT-Light';
|
|
78
|
+
}
|
|
79
|
+
.font-jdzht-v2 {
|
|
80
|
+
font-family: 'JDZhengHeiV2-Regular';
|
|
81
|
+
}
|
|
82
|
+
.font-jdzht-v2-bold {
|
|
83
|
+
font-family: 'JDZhengHeiV2-Bold';
|
|
84
|
+
}
|
|
85
|
+
.font-jdzht-v2-heavy {
|
|
86
|
+
font-family: 'JDZhengHeiV2-Heavy';
|
|
49
87
|
}
|
|
50
88
|
|
|
89
|
+
.font-jdzht-v2-light {
|
|
90
|
+
font-family: 'JDZhengHeiV2-Light';
|
|
91
|
+
}
|
|
51
92
|
|
|
52
93
|
.border-box {
|
|
53
|
-
|
|
94
|
+
box-sizing: border-box;
|
|
54
95
|
}
|
|
55
96
|
|
|
56
97
|
|
|
57
98
|
.content-box {
|
|
58
|
-
|
|
99
|
+
box-sizing: content-box;
|
|
59
100
|
}
|
|
60
101
|
|
|
61
102
|
|
|
62
103
|
.flexible-box {
|
|
63
|
-
|
|
104
|
+
display: flex;
|
|
64
105
|
}
|
|
65
106
|
|
|
66
107
|
.flexible-box-important {
|
|
67
|
-
|
|
108
|
+
display: flex !important;
|
|
68
109
|
}
|
|
69
110
|
|
|
70
111
|
//竖向布局
|
|
71
112
|
.flexible-box-h {
|
|
72
|
-
|
|
73
|
-
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
74
115
|
}
|
|
75
116
|
|
|
76
117
|
.flexible-box-h-important {
|
|
77
|
-
|
|
78
|
-
|
|
118
|
+
display: flex !important;
|
|
119
|
+
flex-direction: column !important;
|
|
79
120
|
}
|
|
80
121
|
|
|
81
122
|
//垂直居中布局
|
|
82
123
|
.flexible-vertical-center-box {
|
|
83
|
-
|
|
84
|
-
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
85
126
|
}
|
|
86
127
|
|
|
87
128
|
//水平居中布局
|
|
88
129
|
.flexible-horizontal-center-box {
|
|
89
|
-
|
|
90
|
-
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: center;
|
|
91
132
|
}
|
|
92
133
|
|
|
93
134
|
//水平垂直居中布局
|
|
94
135
|
.flexible-center-box {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
justify-content: center;
|
|
98
139
|
}
|
|
99
140
|
|
|
100
141
|
|
|
101
142
|
.adaptive-box-flex {
|
|
102
|
-
|
|
143
|
+
flex: 1;
|
|
103
144
|
}
|
|
104
145
|
|
|
105
146
|
.left {
|
|
106
|
-
|
|
147
|
+
float: left;
|
|
107
148
|
}
|
|
108
149
|
|
|
109
150
|
.right {
|
|
110
|
-
|
|
151
|
+
float: right;
|
|
111
152
|
}
|
|
112
153
|
|
|
113
154
|
.vertical-align-t {
|
|
114
|
-
|
|
155
|
+
vertical-align: top;
|
|
115
156
|
}
|
|
116
157
|
|
|
117
158
|
.vertical-align-m {
|
|
118
|
-
|
|
159
|
+
vertical-align: middle;
|
|
119
160
|
}
|
|
120
161
|
|
|
121
162
|
.vertical-align-b {
|
|
122
|
-
|
|
163
|
+
vertical-align: bottom;
|
|
123
164
|
}
|
|
124
165
|
|
|
125
166
|
.margin-lr-auto {
|
|
126
|
-
|
|
167
|
+
margin: 0 auto;
|
|
127
168
|
}
|
|
128
169
|
|
|
129
170
|
.pos-relative {
|
|
130
|
-
|
|
171
|
+
position: relative;
|
|
131
172
|
}
|
|
132
173
|
|
|
133
174
|
.pos-absolute {
|
|
134
|
-
|
|
175
|
+
position: absolute;
|
|
135
176
|
}
|
|
136
177
|
|
|
137
178
|
.pos-fixed {
|
|
138
|
-
|
|
179
|
+
position: fixed;
|
|
139
180
|
}
|
|
140
181
|
|
|
141
182
|
.align-left {
|
|
142
|
-
|
|
183
|
+
text-align: left;
|
|
143
184
|
}
|
|
144
185
|
|
|
145
186
|
.align-center {
|
|
146
|
-
|
|
187
|
+
text-align: center;
|
|
147
188
|
}
|
|
148
189
|
|
|
149
190
|
.align-right {
|
|
150
|
-
|
|
191
|
+
text-align: right;
|
|
151
192
|
}
|
|
152
193
|
|
|
153
194
|
.display-none {
|
|
154
|
-
|
|
195
|
+
display: none;
|
|
155
196
|
}
|
|
156
197
|
|
|
157
198
|
.display-none-important {
|
|
158
|
-
|
|
199
|
+
display: none !important;
|
|
159
200
|
}
|
|
160
201
|
|
|
161
202
|
.display-block {
|
|
162
|
-
|
|
203
|
+
display: block;
|
|
163
204
|
}
|
|
164
205
|
|
|
165
206
|
.display-block-important {
|
|
166
|
-
|
|
207
|
+
display: block !important;
|
|
167
208
|
}
|
|
168
209
|
|
|
169
210
|
.display-inline-block {
|
|
170
|
-
|
|
211
|
+
display: inline-block;
|
|
171
212
|
}
|
|
172
213
|
|
|
173
214
|
.display-inline-block-important {
|
|
174
|
-
|
|
215
|
+
display: inline-block !important;
|
|
175
216
|
}
|
|
176
217
|
|
|
177
218
|
.display-inline {
|
|
178
|
-
|
|
219
|
+
display: inline;
|
|
179
220
|
}
|
|
180
221
|
|
|
181
222
|
.display-inline-important {
|
|
182
|
-
|
|
223
|
+
display: inline !important;
|
|
183
224
|
}
|
|
184
225
|
|
|
185
226
|
.font-bold {
|
|
186
|
-
|
|
227
|
+
font-weight: bold;
|
|
187
228
|
}
|
|
188
229
|
|
|
189
230
|
.pointer {
|
|
190
|
-
|
|
231
|
+
cursor: pointer;
|
|
191
232
|
}
|
|
192
233
|
|
|
193
234
|
.over-hidden {
|
|
194
|
-
|
|
235
|
+
overflow: hidden;
|
|
195
236
|
}
|
|
196
237
|
|
|
197
238
|
.over-auto {
|
|
198
|
-
|
|
239
|
+
overflow: auto;
|
|
199
240
|
}
|
|
200
241
|
|
|
201
242
|
.over-auto-hidden-x {
|
|
202
|
-
|
|
203
|
-
|
|
243
|
+
overflow: auto;
|
|
244
|
+
overflow-x: hidden;
|
|
204
245
|
}
|
|
205
246
|
|
|
206
247
|
.over-auto-hidden-y {
|
|
207
|
-
|
|
208
|
-
|
|
248
|
+
overflow: auto;
|
|
249
|
+
overflow-y: hidden;
|
|
209
250
|
}
|
|
210
251
|
|
|
211
252
|
.over-x-auto {
|
|
212
|
-
|
|
213
|
-
|
|
253
|
+
overflow-x: auto;
|
|
254
|
+
overflow-y: hidden;
|
|
214
255
|
}
|
|
215
256
|
|
|
216
257
|
.over-y-auto {
|
|
217
|
-
|
|
218
|
-
|
|
258
|
+
overflow-y: auto;
|
|
259
|
+
overflow-x: hidden;
|
|
219
260
|
}
|
|
220
261
|
|
|
221
262
|
.font-size-0 {
|
|
222
|
-
|
|
263
|
+
font-size: 0;
|
|
223
264
|
}
|
|
224
265
|
|
|
225
266
|
|
|
226
267
|
.text-ellipsis {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
268
|
+
overflow: hidden;
|
|
269
|
+
white-space: nowrap;
|
|
270
|
+
text-overflow: ellipsis;
|
|
230
271
|
}
|
|
231
272
|
|
|
232
273
|
.text-ellipsis-2 {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
274
|
+
display: -webkit-box;
|
|
275
|
+
overflow: hidden;
|
|
276
|
+
word-break: break-all;
|
|
277
|
+
text-overflow: ellipsis;
|
|
278
|
+
-webkit-line-clamp: 2;
|
|
279
|
+
|
|
280
|
+
-webkit-box-orient: vertical;
|
|
240
281
|
}
|
|
241
282
|
|
|
242
283
|
.text-ellipsis-3 {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
284
|
+
display: -webkit-box;
|
|
285
|
+
overflow: hidden;
|
|
286
|
+
word-break: break-all;
|
|
287
|
+
text-overflow: ellipsis;
|
|
288
|
+
-webkit-line-clamp: 3;
|
|
289
|
+
|
|
290
|
+
-webkit-box-orient: vertical;
|
|
250
291
|
}
|
|
251
292
|
|
|
252
293
|
.text-ellipsis-no-omit {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
294
|
+
overflow: hidden;
|
|
295
|
+
white-space: nowrap;
|
|
296
|
+
text-overflow: clip;
|
|
297
|
+
//display: -webkit-box;
|
|
298
|
+
//overflow: hidden;
|
|
299
|
+
//word-break: break-all;
|
|
300
|
+
//text-overflow: ellipsis;
|
|
301
|
+
//-webkit-line-clamp: 1;
|
|
302
|
+
//
|
|
303
|
+
//-webkit-box-orient: inherit;
|
|
263
304
|
}
|
|
264
305
|
|
|
265
306
|
.text-ellipsis-1-no-omit {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
307
|
+
display: -webkit-box;
|
|
308
|
+
overflow: hidden;
|
|
309
|
+
word-break: break-all;
|
|
310
|
+
text-overflow: ellipsis;
|
|
311
|
+
-webkit-line-clamp: 1;
|
|
312
|
+
|
|
313
|
+
// -webkit-box-orient: inherit;
|
|
314
|
+
-webkit-box-orient: vertical;
|
|
274
315
|
}
|
|
275
316
|
|
|
276
317
|
.text-ellipsis-2-no-omit {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
318
|
+
display: -webkit-box;
|
|
319
|
+
overflow: hidden;
|
|
320
|
+
word-break: break-all;
|
|
321
|
+
text-overflow: ellipsis;
|
|
322
|
+
-webkit-line-clamp: 2;
|
|
323
|
+
|
|
324
|
+
-webkit-box-orient: inherit;
|
|
284
325
|
}
|
|
285
326
|
|
|
286
327
|
.text-ellipsis-3-no-omit {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
328
|
+
display: -webkit-box;
|
|
329
|
+
overflow: hidden;
|
|
330
|
+
word-break: break-all;
|
|
331
|
+
text-overflow: ellipsis;
|
|
332
|
+
-webkit-line-clamp: 3;
|
|
333
|
+
|
|
334
|
+
-webkit-box-orient: inherit;
|
|
294
335
|
}
|
|
295
336
|
|
|
296
337
|
|
|
@@ -315,7 +356,12 @@
|
|
|
315
356
|
//-webkit-transform-style: preserve-3d;
|
|
316
357
|
}
|
|
317
358
|
}
|
|
318
|
-
|
|
359
|
+
.visibility-hide {
|
|
360
|
+
visibility: hidden !important;
|
|
361
|
+
}
|
|
362
|
+
.visibility-show {
|
|
363
|
+
visibility: visible !important;
|
|
364
|
+
}
|
|
319
365
|
|
|
320
366
|
.d-half-1px-line::after {
|
|
321
367
|
border-width: 0;
|
|
@@ -324,21 +370,21 @@
|
|
|
324
370
|
}
|
|
325
371
|
//解决安卓行高不居中对齐问题
|
|
326
372
|
.d-android-vertical-align {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
373
|
+
&:before {
|
|
374
|
+
content: '';
|
|
375
|
+
display: inline-block;
|
|
376
|
+
margin-top: 1px;
|
|
377
|
+
width: 0;
|
|
378
|
+
min-height: 10px;
|
|
379
|
+
height: 100%;
|
|
380
|
+
vertical-align: middle;
|
|
381
|
+
}
|
|
336
382
|
}
|
|
337
383
|
|
|
338
384
|
.d-button-no-border {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
385
|
+
&::after {
|
|
386
|
+
border: none;
|
|
387
|
+
}
|
|
342
388
|
}
|
|
343
389
|
.slide-in-left {
|
|
344
390
|
animation: slide-in-left 1s forwards;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { api } from '../api'
|
|
2
1
|
clientVersion: '11.0.0',
|
|
3
2
|
client: 'wh5',
|
|
4
3
|
area: '1_72_2799_0',
|
|
5
4
|
uuid: UUID,
|
|
6
5
|
functionId: string,
|
|
7
6
|
body = {},
|
|
8
7
|
options = {},
|
|
9
8
|
requestOptions = {},
|
|
10
9
|
const params = Object.assign(
|
|
11
10
|
{},
|
|
12
11
|
{
|
|
13
12
|
t: Date.now(),
|
|
14
13
|
functionId,
|
|
15
14
|
appid: 'shop_m_jd_com',
|
|
16
15
|
body: JSON.stringify(body),
|
|
17
16
|
},
|
|
18
17
|
clientParams,
|
|
19
18
|
options,
|
|
20
19
|
)
|
|
21
20
|
console.warn(
|
|
22
21
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
23
22
|
)
|
|
24
23
|
return http.post(api.apiFunc, params, requestOptions)
|
|
24
|
+
import Taro from '@tarojs/taro';
|
|
25
25
|
clientVersion:
|
|
26
26
|
isJdApp && jdAppVersionStr !== '' ? jdAppVersionStr : '11.0.0',
|
|
27
27
|
client: isJdApp ? (isIosDevice ? 'apple' : 'android') : isPc ? 'pc' : 'wh5',
|
|
28
28
|
screen: `${Math.ceil(window.screen?.width * devicePixelRatio)}*${Math.ceil(
|
|
29
29
|
window.screen?.height * devicePixelRatio,
|
|
30
30
|
)}`,
|
|
31
31
|
area: '1_72_2799_0',
|
|
32
32
|
uuid: UUID,
|
|
33
33
|
if(area && area !== ""){
|
|
34
34
|
clientParams.area = area
|
|
35
35
|
}
|
|
36
36
|
console.warn("cone-render中对外暴露fetchGateway收到原生端获取传来的四级地址信息",area,"更新后的接口底层信息", clientParams)
|
|
37
37
|
functionId: string,
|
|
38
38
|
body = {},
|
|
39
39
|
options = {},
|
|
40
40
|
requestOptions = {},
|
|
41
41
|
const params = Object.assign(
|
|
42
42
|
{},
|
|
43
43
|
{
|
|
44
44
|
t: Date.now(),
|
|
45
45
|
functionId,
|
|
46
46
|
appid: 'shop_m_jd_com',
|
|
47
47
|
body: JSON.stringify(body),
|
|
48
48
|
},
|
|
49
49
|
clientParams,
|
|
50
50
|
options,
|
|
51
51
|
{
|
|
52
52
|
area: clientParams.area,
|
|
53
53
|
client: !isJdApp && options?.client ? options?.client : clientParams.client ,
|
|
54
54
|
clientVersion: !isJdApp && options?.clientVersion ? options?.clientVersion : clientParams.clientVersion,
|
|
55
55
|
}
|
|
56
56
|
)
|
|
57
57
|
console.warn(
|
|
58
58
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
59
59
|
"底层默认的clientParams",
|
|
60
60
|
clientParams,
|
|
61
61
|
"下发的options",
|
|
62
62
|
options,
|
|
63
63
|
"最后params",
|
|
64
64
|
params
|
|
65
65
|
)
|
|
66
66
|
return http.post(api.apiFunc, params, requestOptions)
|