@conecli/cone-render 0.10.1-shop3.5 → 0.10.1-shop3.50
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/README.md +1 -1
- package/dist/common/accessibility.h5.ts +1 -0
- package/dist/common/accessibility.ts +0 -0
- package/dist/common/const.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/jdplayerSdk.weapp.tsx +1 -0
- package/dist/common/jssdk.ts +1 -1
- package/dist/common/jssdk.weapp.ts +1 -0
- package/dist/common/pageType.ts +1 -1
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/common/wxappApi.ts +1 -1
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CommonFloorHead/index.module.scss +126 -111
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index-back.tsx +1 -0
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
- package/dist/components/base/Dialog/index.module.scss +11 -0
- package/dist/components/base/InOrOutViewObserver/index.weapp.tsx +1 -0
- package/dist/components/base/InViewRender/index.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.weapp.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +118 -72
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.module.scss +12 -0
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +24 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/debug/DebugLayout/index.module.scss +2 -2
- package/dist/components/floorItem.weapp.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/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.h5.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.h5.ts +1 -0
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web/report.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjm.ts +1 -1
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/language/en_US.json +231 -0
- package/dist/language/zh_CN.json +231 -0
- package/dist/language/zh_HK.json +231 -0
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -56
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/shopMember.weapp.ts +1 -0
- package/dist/open/api/util.ts +1 -1
- package/dist/open/index.ts +1 -1
- package/dist/sass/app.h5.scss +278 -224
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/fetchGateway.weapp.ts +1 -0
- package/dist/service/fetchJsonp.weapp.ts +1 -0
- package/dist/service/http/colorSign.ts +1 -1
- package/dist/service/http/const.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -1
- package/dist/service/http/httpInterceptors.weapp.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -1
- package/dist/service/requestServer.ts +1 -1
- package/dist/service/requestServer.weapp.ts +1 -0
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/harmonyCallRouter.h5.ts +1 -0
- package/dist/utils/harmonyCallRouter.ts +0 -0
- 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/jumpExtMapUtil.h5.ts +1 -0
- package/dist/utils/jumpExtMapUtil.ts +1 -0
- package/dist/utils/log.ts +1 -0
- package/dist/utils/{sColor.js → sColor.ts} +1 -1
- package/dist/utils/sColor.weapp.ts +1 -0
- package/dist/utils/utils.ts +1 -1
- package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
- package/dist/wxapp/common/user_info.js +1 -1
- package/package.json +160 -141
- package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
- package/dist/utils/priceUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import { isApp, getUrlQuery } from '../utils/jm-common'
|
|
2
1
|
console.log('h5', isReflexToH5, getUrlQuery(window.location.href, 'reflex'))
|
|
3
2
|
return new Promise((resolve, reject) => {
|
|
4
3
|
if (isReflexToH5) {
|
|
5
4
|
import('./web.base')
|
|
6
5
|
.then(({ JumpEventWebReport }) => {
|
|
7
6
|
if (JumpEventWebReport) {
|
|
8
7
|
console.log('加载普通浏览器h5相关跳转事件js')
|
|
9
8
|
JumpEventReport = new JumpEventWebReport({})
|
|
10
9
|
resolve(JumpEventReport)
|
|
11
10
|
}
|
|
12
11
|
})
|
|
13
12
|
.catch((err) => {
|
|
14
13
|
reject(err)
|
|
15
14
|
})
|
|
16
15
|
} else {
|
|
17
16
|
if (isApp('wx') && isApp('mp') && isH5AdnJxMini) {
|
|
18
17
|
import('./web.jxwxapp')
|
|
19
18
|
.then(({ JdJumpWebToJxWxapp }) => {
|
|
20
19
|
if (JdJumpWebToJxWxapp) {
|
|
21
20
|
JumpEventReport = new JdJumpWebToJxWxapp({})
|
|
22
21
|
resolve(JumpEventReport)
|
|
23
22
|
}
|
|
24
23
|
})
|
|
25
24
|
.catch((err) => {
|
|
26
25
|
reject(err)
|
|
27
26
|
})
|
|
28
27
|
} else if (isApp('wx') && isApp('mp')) {
|
|
29
28
|
import('./web.wxapp')
|
|
30
29
|
.then(({ JdJumpWebToWxapp }) => {
|
|
31
30
|
if (JdJumpWebToWxapp) {
|
|
32
31
|
JumpEventReport = new JdJumpWebToWxapp({})
|
|
33
32
|
resolve(JumpEventReport)
|
|
34
33
|
}
|
|
35
34
|
})
|
|
36
35
|
.catch((err) => {
|
|
37
36
|
reject(err)
|
|
38
37
|
})
|
|
39
38
|
} else if (isApp('jd') && !isApp('jdharmony')) {
|
|
40
39
|
import('./web.jd')
|
|
41
40
|
.then(({ JdJumpWebToJdApp }) => {
|
|
42
41
|
if (JdJumpWebToJdApp) {
|
|
43
42
|
JumpEventReport = new JdJumpWebToJdApp({})
|
|
44
43
|
resolve(JumpEventReport)
|
|
45
44
|
}
|
|
46
45
|
})
|
|
47
46
|
.catch((err) => {
|
|
48
47
|
reject(err)
|
|
49
48
|
})
|
|
50
49
|
} else if (isApp('jdb')) {
|
|
51
50
|
import('./web.jdb')
|
|
52
51
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
53
52
|
if (JdbJumpWebToJdbApp) {
|
|
54
53
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
55
54
|
resolve(JumpEventReport)
|
|
56
55
|
}
|
|
57
56
|
})
|
|
58
57
|
.catch((err) => {
|
|
59
58
|
reject(err)
|
|
60
59
|
})
|
|
61
60
|
} else if (isApp('jdjch')) {
|
|
62
61
|
import('./web.jdjch')
|
|
63
62
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
64
63
|
if (JdbJumpWebToJdbApp) {
|
|
65
64
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
66
65
|
resolve(JumpEventReport)
|
|
67
66
|
}
|
|
68
67
|
})
|
|
69
68
|
.catch((err) => {
|
|
70
69
|
reject(err)
|
|
71
70
|
})
|
|
72
71
|
} else if (isApp('tjapp')) {
|
|
73
72
|
import('./web.tjapp')
|
|
74
73
|
.then(({ tjJumpWebTotjApp }) => {
|
|
75
74
|
if (tjJumpWebTotjApp) {
|
|
76
75
|
console.log('加载特价app内h5相关跳转事件js')
|
|
77
76
|
JumpEventReport = new tjJumpWebTotjApp({})
|
|
78
77
|
resolve(JumpEventReport)
|
|
79
78
|
}
|
|
80
79
|
})
|
|
81
80
|
.catch((err) => {
|
|
82
81
|
reject(err)
|
|
83
82
|
})
|
|
84
83
|
} else if (isPc) {
|
|
85
84
|
import('./web.pc')
|
|
86
85
|
.then(({ JumpEventWebReport }) => {
|
|
87
86
|
if (JumpEventWebReport) {
|
|
88
87
|
JumpEventReport = new JumpEventWebReport({})
|
|
89
88
|
resolve(JumpEventReport)
|
|
90
89
|
}
|
|
91
90
|
})
|
|
92
91
|
.catch((err) => {
|
|
93
92
|
reject(err)
|
|
94
93
|
})
|
|
95
94
|
} else if (isTjJxM || isTjM) {
|
|
96
95
|
import('./web.tjm')
|
|
97
96
|
.then(({ JumpEventTJWebReport }) => {
|
|
98
97
|
if (JumpEventTJWebReport) {
|
|
99
98
|
JumpEventReport = new JumpEventTJWebReport({})
|
|
100
99
|
resolve(JumpEventReport)
|
|
101
100
|
}
|
|
102
101
|
})
|
|
103
102
|
.catch((err) => {
|
|
104
103
|
reject(err)
|
|
105
104
|
})
|
|
106
105
|
} else {
|
|
107
106
|
import('./web.base')
|
|
108
107
|
.then(({ JumpEventWebReport }) => {
|
|
109
108
|
if (JumpEventWebReport) {
|
|
110
109
|
JumpEventReport = new JumpEventWebReport({})
|
|
111
110
|
resolve(JumpEventReport)
|
|
112
111
|
}
|
|
113
112
|
})
|
|
114
113
|
.catch((err) => {
|
|
115
114
|
reject(err)
|
|
116
115
|
})
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
118
|
})
|
|
119
|
+
import { isApp, getUrlQuery } from '../utils/jm-common';
|
|
120
120
|
console.log('h5', isReflexToH5, getUrlQuery(window.location.href, 'reflex'));
|
|
121
121
|
return new Promise((resolve, reject) => {
|
|
122
122
|
if (isReflexToH5) {
|
|
123
123
|
import('./web.base')
|
|
124
124
|
.then(({ JumpEventWebReport }) => {
|
|
125
125
|
if (JumpEventWebReport) {
|
|
126
126
|
console.log('加载普通浏览器h5相关跳转事件js');
|
|
127
127
|
JumpEventReport = new JumpEventWebReport({});
|
|
128
128
|
resolve(JumpEventReport);
|
|
129
129
|
}
|
|
130
130
|
})
|
|
131
131
|
.catch((err) => {
|
|
132
132
|
reject(err);
|
|
133
133
|
});
|
|
134
134
|
} else {
|
|
135
135
|
if (isApp('wx') && isApp('mp') && isH5AdnJxMini) {
|
|
136
136
|
import('./web.jxwxapp')
|
|
137
137
|
.then(({ JdJumpWebToJxWxapp }) => {
|
|
138
138
|
if (JdJumpWebToJxWxapp) {
|
|
139
139
|
JumpEventReport = new JdJumpWebToJxWxapp({});
|
|
140
140
|
resolve(JumpEventReport);
|
|
141
141
|
}
|
|
142
142
|
})
|
|
143
143
|
.catch((err) => {
|
|
144
144
|
reject(err);
|
|
145
145
|
});
|
|
146
146
|
} else if (isApp('wx') && isApp('mp')) {
|
|
147
147
|
import('./web.wxapp')
|
|
148
148
|
.then(({ JdJumpWebToWxapp }) => {
|
|
149
149
|
if (JdJumpWebToWxapp) {
|
|
150
150
|
JumpEventReport = new JdJumpWebToWxapp({});
|
|
151
151
|
resolve(JumpEventReport);
|
|
152
152
|
}
|
|
153
153
|
})
|
|
154
154
|
.catch((err) => {
|
|
155
155
|
reject(err);
|
|
156
156
|
});
|
|
157
157
|
} else if (
|
|
158
158
|
isApp('jd') &&
|
|
159
159
|
(isNewHarmonyShop || !isApp('jdharmony') || (isApp('jdharmony') && getPageType() === 'member-fast-card'))
|
|
160
160
|
) {
|
|
161
161
|
import('./web.jd')
|
|
162
162
|
.then(({ JdJumpWebToJdApp }) => {
|
|
163
163
|
if (JdJumpWebToJdApp) {
|
|
164
164
|
JumpEventReport = new JdJumpWebToJdApp({});
|
|
165
165
|
resolve(JumpEventReport);
|
|
166
166
|
}
|
|
167
167
|
})
|
|
168
168
|
.catch((err) => {
|
|
169
169
|
reject(err);
|
|
170
170
|
});
|
|
171
171
|
} else if (isApp('jdb')) {
|
|
172
172
|
import('./web.jdb')
|
|
173
173
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
174
174
|
if (JdbJumpWebToJdbApp) {
|
|
175
175
|
JumpEventReport = new JdbJumpWebToJdbApp({});
|
|
176
176
|
resolve(JumpEventReport);
|
|
177
177
|
}
|
|
178
178
|
})
|
|
179
179
|
.catch((err) => {
|
|
180
180
|
reject(err);
|
|
181
181
|
});
|
|
182
182
|
} else if (isApp('jdjch')) {
|
|
183
183
|
import('./web.jdjch')
|
|
184
184
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
185
185
|
if (JdbJumpWebToJdbApp) {
|
|
186
186
|
JumpEventReport = new JdbJumpWebToJdbApp({});
|
|
187
187
|
resolve(JumpEventReport);
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
.catch((err) => {
|
|
191
191
|
reject(err);
|
|
192
192
|
});
|
|
193
193
|
} else if (isApp('tjapp')) {
|
|
194
194
|
import('./web.tjapp')
|
|
195
195
|
.then(({ tjJumpWebTotjApp }) => {
|
|
196
196
|
if (tjJumpWebTotjApp) {
|
|
197
197
|
console.log('加载特价app内h5相关跳转事件js');
|
|
198
198
|
JumpEventReport = new tjJumpWebTotjApp({});
|
|
199
199
|
resolve(JumpEventReport);
|
|
200
200
|
}
|
|
201
201
|
})
|
|
202
202
|
.catch((err) => {
|
|
203
203
|
reject(err);
|
|
204
204
|
});
|
|
205
205
|
} else if (isPc) {
|
|
206
206
|
import('./web.pc')
|
|
207
207
|
.then(({ JumpEventWebReport }) => {
|
|
208
208
|
if (JumpEventWebReport) {
|
|
209
209
|
JumpEventReport = new JumpEventWebReport({});
|
|
210
210
|
resolve(JumpEventReport);
|
|
211
211
|
}
|
|
212
212
|
})
|
|
213
213
|
.catch((err) => {
|
|
214
214
|
reject(err);
|
|
215
215
|
});
|
|
216
216
|
} else if (isTjJxM || isTjM) {
|
|
217
217
|
import('./web.tjm')
|
|
218
218
|
.then(({ JumpEventTJWebReport }) => {
|
|
219
219
|
if (JumpEventTJWebReport) {
|
|
220
220
|
JumpEventReport = new JumpEventTJWebReport({});
|
|
221
221
|
resolve(JumpEventReport);
|
|
222
222
|
}
|
|
223
223
|
})
|
|
224
224
|
.catch((err) => {
|
|
225
225
|
reject(err);
|
|
226
226
|
});
|
|
227
227
|
} else {
|
|
228
228
|
import('./web.base')
|
|
229
229
|
.then(({ JumpEventWebReport }) => {
|
|
230
230
|
if (JumpEventWebReport) {
|
|
231
231
|
JumpEventReport = new JumpEventWebReport({});
|
|
232
232
|
resolve(JumpEventReport);
|
|
233
233
|
}
|
|
234
234
|
})
|
|
235
235
|
.catch((err) => {
|
|
236
236
|
reject(err);
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
});
|