@conecli/cone-render 0.10.1-shop3.1 → 0.10.1-shop3.100

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