@conecli/cone-render 0.10.1-shop3.89 → 0.10.1-shop3.90

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.
@@ -1 +1 @@
1
- import global from '../common';
2
1
  objectToUrlEncode,
3
2
  isH5AndJingGouMini,
4
3
  public jingGouMiniState: boolean;
5
4
  private isH5OpenToWxapp: boolean;
6
5
  constructor(opt) {
7
6
  super(opt);
8
7
  this.jingGouMiniState = false;
9
8
  this.getConfig(opt);
10
9
  console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch));
11
10
  this.isH5OpenToWxapp = window.shopGlobalSwitch?.openMobileShopToWxApp == 'true';
12
11
  this.init();
13
12
  }
14
13
  getConfig(opt) {
15
14
  return Object.assign(this, {}, defaultConfig, super.getConfig(opt), opt);
16
15
  }
17
16
 
18
17
 
19
18
  async init() {
20
19
  if (window.isJingGouMiniViewState) {
21
20
  this.jingGouMiniState = true;
22
21
  } else {
23
22
  console.log('初始化进行小程序环境检查, 当前是否是京购小程序里的H5', isH5AndJingGouMini);
24
23
  if (isH5AndJingGouMini && this.isH5OpenToWxapp) {
25
24
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if');
26
25
  this.jingGouMiniState = true;
27
26
  window.isJingGouMiniViewState = true;
28
27
  console.log('进入了 iwx?.miniProgram then 但是没有继续跳转的逻辑 ');
29
28
  global.info.isJingGouMiniViewState = true;
30
29
  } else {
31
30
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle');
32
31
  }
33
32
  }
34
33
  }
35
34
 
36
35
  jdJumpToMiniPage(pageUrl, logEventInfo, type = 'navigateTo') {
37
36
  this.jdNavigateToNative(
38
37
  pageUrl,
39
38
  logEventInfo,
40
39
  () => {
41
40
  console.log('JD.wxappext.goto');
42
41
  if (wx?.miniProgram[type]) {
43
42
  wx?.miniProgram[type]({
44
43
  url: pageUrl,
45
44
  });
46
45
  } else if (has && has.ascfweb && has.ascfweb[type]) {
47
46
  has.ascfweb[type]({
48
47
  url: pageUrl,
49
48
  });
50
49
  }
51
50
  },
52
51
  () => {
53
52
  console.log('JD.wxappext.goto2');
54
53
  if (wx?.miniProgram[type]) {
55
54
  wx?.miniProgram[type]({
56
55
  url: pageUrl,
57
56
  });
58
57
  } else if (has && has.ascfweb && has.ascfweb[type]) {
59
58
  has.ascfweb[type]({
60
59
  url: pageUrl,
61
60
  });
62
61
  }
63
62
  },
64
63
  );
65
64
  }
66
65
 
67
66
  jdJumpToTabAllProduct(shopId, venderId, logEventInfo = {}) {
68
67
  console.log('web.wxapp.ts - jdJumpToTabAllProduct');
69
68
  if (typeof shopId === 'undefined') shopId = global.info.queryInfo.shopId;
70
69
  if (typeof venderId === 'undefined') venderId = global.info.queryInfo.venderId;
71
70
  if (this.jingGouMiniState) {
72
71
  const param = {
73
72
  shopId,
74
73
  venderId,
75
74
  tabActive: SECTION_HOME_TAB_NAME_TYPE[SECTION_HOME_TAB_TYPE.HOME_PRODUCT],
76
75
  };
77
76
  const url = `${this.jumpMiniPath.shopx}?${objectToUrlEncode(param)}`;
78
77
  this.jdJumpToMiniPage(url, logEventInfo);
79
78
  } else {
80
79
  super.jdJumpToTabAllProduct(shopId, venderId, logEventInfo);
81
80
  }
82
81
  }
83
82
 
84
83
  jdJumpToTopTabBase(type, shopInfo = {}) {
85
84
  const getInfo = Object.assign(
86
85
  {},
87
86
  {
88
87
  shopId: global.info.queryInfo.shopId,
89
88
  venderId: global.info.queryInfo.venderId,
90
89
  },
91
90
  shopInfo,
92
91
  );
93
92
  if (this.jingGouMiniState) {
94
93
  const { shopId, venderId, ...otherInfo } = getInfo;
95
94
  const param = {
96
95
  shopId,
97
96
  venderId,
98
97
  tabActive: type,
99
98
  };
100
99
  const url = `${this.jumpMiniPath.shopx}?${objectToUrlEncode(param)}`;
101
100
  this.jdJumpToMiniPage(url, otherInfo);
102
101
  } else {
103
102
  super.jdJumpToTopTabBase(type, shopInfo);
104
103
  }
105
104
  }
106
105
 
107
106
  jdJumpToWeb(url, logEventInfo) {
108
107
  console.log('web.wxapp.ts - jdJumpToWeb', url);
109
108
  console.log('jingGouMiniState', this.jingGouMiniState);
110
109
  if (this.jingGouMiniState) {
111
110
  const encodeUrl = `${this.jumpMiniPath.h5}?encode_url=${encodeURIComponent(url)}`;
112
111
  this.jdJumpToMiniPage(encodeUrl, logEventInfo);
113
112
  } else {
114
113
  super.jdJumpToWeb(url, logEventInfo);
115
114
  }
116
115
  }
117
116
 
118
117
  jdJumpToWebInner(url, logEventInfo) {
119
118
  super.jdJumpToWeb(url, logEventInfo);
120
119
  }
121
120
 
122
121
  jdJumpToProduct(skuIds, logEventInfo) {
123
122
  if (this.jingGouMiniState) {
124
123
  const detailUrl = `${this.jumpMiniPath.detail}?sku=${skuIds}`;
125
124
  this.jdJumpToMiniPage(detailUrl, logEventInfo);
126
125
  } else {
127
126
  super.jdJumpToProduct(skuIds, logEventInfo);
128
127
  }
129
128
  }
130
129
 
131
130
  jdJumpSkuInfoToProduct(skuInfo: any = {}, logEventInfo) {
132
131
  const getSkuId = skuInfo?.skuId;
133
132
  this.jdJumpToProduct(getSkuId, logEventInfo);
134
133
  }
135
134
 
136
135
  jdJumpToCartPage(logEventInfo) {
137
136
  console.log('跳转到购物车页面', logEventInfo);
138
137
  }
139
138
 
140
139
  jdJumpToShopHome(shopInfo) {
141
140
  console.log('[降级H5] jdJumpToShopHome web.wxapp', shopInfo);
142
141
  console.log(
143
142
  'global.info.queryInfo.shopId',
144
143
  global.info.queryInfo.shopId,
145
144
  global.info.queryInfo.venderId,
146
145
  );
147
146
  const currentShopInfo = {
148
147
  shopId: global.info.queryInfo.shopId,
149
148
  venderId: global.info.queryInfo.venderId,
150
149
  };
151
150
  const restParams =
152
151
  (shopInfo?.shopId && shopInfo.shopId !== currentShopInfo.shopId) ||
153
152
  (shopInfo?.venderId && shopInfo.venderId !== currentShopInfo.venderId)
154
153
  ? {}
155
154
  : currentShopInfo;
156
155
  const getInfo = Object.assign({}, restParams, shopInfo);
157
156
  const { type = 'navigateTo', ...otherShopInfo } = getInfo;
158
157
  if (this.jingGouMiniState) {
159
158
  let shopUrl = `${this.jumpMiniPath.shopx}${window.location.search}`;
160
159
  if (
161
160
  /(\/shop\/(samCenter|samCard))|(\/sale\/home)|(\/favorite)/.test(window.location.pathname)
162
161
  ) {
163
162
  shopUrl = `${this.jumpMiniPath.shopx}?${objectToUrlEncode(
164
163
  this.getShopIdsInfo(otherShopInfo),
165
164
  )}`;
166
165
  }
167
166
  this.jdJumpToMiniPage(shopUrl, otherShopInfo, type);
168
167
  } else {
169
168
  super.jdJumpToShopHome(otherShopInfo);
170
169
  }
171
170
  }
172
171
 
173
172
  jdJumpToShopCategory(params) {
174
173
  console.log('[降级H5] jdJumpToShopCategory web.wxapp');
175
174
  const { type = 'navigateTo', ...otherShopInfo } = params;
176
175
  console.log('获取分类跳转参数', params);
177
176
  if (this.jingGouMiniState) {
178
177
  this.jdJumpToTopTabBase('classify', otherShopInfo);
179
178
  } else {
180
179
  super.jdJumpToShopCategory(otherShopInfo);
181
180
  }
182
181
  }
183
182
 
184
183
  jdJumpToLive(liveInfo, logEventInfo = {}) {
185
184
  if (liveInfo?.liveId) {
186
185
  if (this.jingGouMiniState && liveInfo?.openWxappToLiveRoom) {
187
186
  this.jdJumpToMiniPage(`${this.jumpMiniPath.jdLive}?liveId=${liveInfo.liveId}&origin=473`, {
188
187
  logEventInfo,
189
188
  });
190
189
  } else {
191
190
  this.jdJumpToWeb(
192
191
  `${this.jumpWebUrl.mLive}/${liveInfo.liveId}?${
193
192
  this.jingGouMiniState ? 'origin=0&appid=jdgw' : 'origin=30'
194
193
  }`,
195
194
  logEventInfo,
196
195
  );
197
196
  }
198
197
  }
199
198
  }
200
199
 
201
200
  jdJumpToShopLight(shopInfo) {
202
201
  if (this.jingGouMiniState) {
203
202
  this.jdJumpToMiniPage(
204
203
  `${this.jumpMiniPath.shopLight}?${objectToUrlEncode(
205
204
  this.getShopIdOrVenderIdParams(shopInfo),
206
205
  )}`,
207
206
  {
208
207
  ...shopInfo,
209
208
  },
210
209
  );
211
210
  } else {
212
211
  this.jdNavigateToNative(
213
212
  `${this.jumpWebUrl.shopLight}?${objectToUrlEncode(
214
213
  this.getShopIdOrVenderIdParams(shopInfo),
215
214
  )}`,
216
215
  {
217
216
  ...shopInfo,
218
217
  },
219
218
  );
220
219
  }
221
220
  }
222
221
  jdJumpToCouponSearchProductList(couponId, logEventInfo = {}) {
223
222
  if (this.jingGouMiniState) {
224
223
  const detailUrl = `${this.jumpMiniPath.searchCoupon}?batch=${couponId}`;
225
224
  this.jdJumpToMiniPage(detailUrl, logEventInfo);
226
225
  } else {
227
226
  super.jdJumpToCouponSearchProductList(couponId, logEventInfo);
228
227
  }
229
228
  }
229
+ import global from '../common';
230
230
  objectToUrlEncode,
231
231
  isH5AndJingGouMini,
232
232
  isAscfApp,
233
233
  public jingGouMiniState: boolean;
234
234
  private isH5OpenToWxapp: boolean;
235
235
  constructor(opt) {
236
236
  super(opt);
237
237
  this.jingGouMiniState = false;
238
238
  this.getConfig(opt);
239
239
  console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch));
240
240
  this.isH5OpenToWxapp = window.shopGlobalSwitch?.openMobileShopToWxApp == 'true';
241
241
  this.init();
242
242
  }
243
243
  getConfig(opt) {
244
244
  return Object.assign(this, {}, defaultConfig, super.getConfig(opt), opt);
245
245
  }
246
246
 
247
247
 
248
248
  async init() {
249
249
  if (window.isJingGouMiniViewState) {
250
250
  this.jingGouMiniState = true;
251
251
  } else {
252
252
  console.log('初始化进行小程序环境检查, 当前是否是京购小程序里的H5', isH5AndJingGouMini);
253
253
  if ((isH5AndJingGouMini || isAscfApp) && this.isH5OpenToWxapp) {
254
254
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if');
255
255
  this.jingGouMiniState = true;
256
256
  window.isJingGouMiniViewState = true;
257
257
  console.log('进入了 iwx?.miniProgram then 但是没有继续跳转的逻辑 ');
258
258
  global.info.isJingGouMiniViewState = true;
259
259
  } else {
260
260
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle');
261
261
  }
262
262
  }
263
263
  }
264
264
 
265
265
  jdJumpToMiniPage(pageUrl, logEventInfo, type = 'navigateTo') {
266
266
  this.jdNavigateToNative(
267
267
  pageUrl,
268
268
  logEventInfo,
269
269
  () => {
270
270
  console.log('JD.wxappext.goto');
271
271
  if (wx?.miniProgram[type]) {
272
272
  wx?.miniProgram[type]({
273
273
  url: pageUrl,
274
274
  });
275
275
  } else if (has && has.ascfweb && has.ascfweb[type]) {
276
276
  has.ascfweb[type]({
277
277
  url: pageUrl,
278
278
  });
279
279
  }
280
280
  },
281
281
  () => {
282
282
  console.log('JD.wxappext.goto2');
283
283
  if (wx?.miniProgram[type]) {
284
284
  wx?.miniProgram[type]({
285
285
  url: pageUrl,
286
286
  });
287
287
  } else if (has && has.ascfweb && has.ascfweb[type]) {
288
288
  has.ascfweb[type]({
289
289
  url: pageUrl,
290
290
  });
291
291
  }
292
292
  },
293
293
  );
294
294
  }
295
295
 
296
296
  jdJumpToTabAllProduct(shopId, venderId, logEventInfo = {}) {
297
297
  console.log('web.wxapp.ts - jdJumpToTabAllProduct');
298
298
  if (typeof shopId === 'undefined') shopId = global.info.queryInfo.shopId;
299
299
  if (typeof venderId === 'undefined') venderId = global.info.queryInfo.venderId;
300
300
  if (this.jingGouMiniState) {
301
301
  const param = {
302
302
  shopId,
303
303
  venderId,
304
304
  tabActive: SECTION_HOME_TAB_NAME_TYPE[SECTION_HOME_TAB_TYPE.HOME_PRODUCT],
305
305
  };
306
306
  const url = `${this.jumpMiniPath.shopx}?${objectToUrlEncode(param)}`;
307
307
  this.jdJumpToMiniPage(url, logEventInfo);
308
308
  } else {
309
309
  super.jdJumpToTabAllProduct(shopId, venderId, logEventInfo);
310
310
  }
311
311
  }
312
312
 
313
313
  jdJumpToTopTabBase(type, shopInfo = {}) {
314
314
  const getInfo = Object.assign(
315
315
  {},
316
316
  {
317
317
  shopId: global.info.queryInfo.shopId,
318
318
  venderId: global.info.queryInfo.venderId,
319
319
  },
320
320
  shopInfo,
321
321
  );
322
322
  if (this.jingGouMiniState) {
323
323
  const { shopId, venderId, ...otherInfo } = getInfo;
324
324
  const param = {
325
325
  shopId,
326
326
  venderId,
327
327
  tabActive: type,
328
328
  };
329
329
  const url = `${this.jumpMiniPath.shopx}?${objectToUrlEncode(param)}`;
330
330
  this.jdJumpToMiniPage(url, otherInfo);
331
331
  } else {
332
332
  super.jdJumpToTopTabBase(type, shopInfo);
333
333
  }
334
334
  }
335
335
 
336
336
  jdJumpToWeb(url, logEventInfo) {
337
337
  console.log('web.wxapp.ts - jdJumpToWeb', url);
338
338
  console.log('jingGouMiniState', this.jingGouMiniState);
339
339
  if (this.jingGouMiniState) {
340
340
  const encodeUrl = `${this.jumpMiniPath.h5}?encode_url=${encodeURIComponent(url)}`;
341
341
  this.jdJumpToMiniPage(encodeUrl, logEventInfo);
342
342
  } else {
343
343
  super.jdJumpToWeb(url, logEventInfo);
344
344
  }
345
345
  }
346
346
 
347
347
  jdJumpToWebInner(url, logEventInfo) {
348
348
  super.jdJumpToWeb(url, logEventInfo);
349
349
  }
350
350
 
351
351
  jdJumpToProduct(skuIds, logEventInfo) {
352
352
  if (this.jingGouMiniState) {
353
353
  const detailUrl = `${this.jumpMiniPath.detail}?sku=${skuIds}`;
354
354
  this.jdJumpToMiniPage(detailUrl, logEventInfo);
355
355
  } else {
356
356
  super.jdJumpToProduct(skuIds, logEventInfo);
357
357
  }
358
358
  }
359
359
 
360
360
  jdJumpSkuInfoToProduct(skuInfo: any = {}, logEventInfo) {
361
361
  const getSkuId = skuInfo?.skuId;
362
362
  this.jdJumpToProduct(getSkuId, logEventInfo);
363
363
  }
364
364
 
365
365
  jdJumpToCartPage(logEventInfo) {
366
366
  console.log('跳转到购物车页面', logEventInfo);
367
367
  }
368
368
 
369
369
  jdJumpToShopHome(shopInfo) {
370
370
  console.log('[降级H5] jdJumpToShopHome web.wxapp', shopInfo);
371
371
  console.log(
372
372
  'global.info.queryInfo.shopId',
373
373
  global.info.queryInfo.shopId,
374
374
  global.info.queryInfo.venderId,
375
375
  );
376
376
  const currentShopInfo = {
377
377
  shopId: global.info.queryInfo.shopId,
378
378
  venderId: global.info.queryInfo.venderId,
379
379
  };
380
380
  const restParams =
381
381
  (shopInfo?.shopId && shopInfo.shopId !== currentShopInfo.shopId) ||
382
382
  (shopInfo?.venderId && shopInfo.venderId !== currentShopInfo.venderId)
383
383
  ? {}
384
384
  : currentShopInfo;
385
385
  const getInfo = Object.assign({}, restParams, shopInfo);
386
386
  const { type = 'navigateTo', ...otherShopInfo } = getInfo;
387
387
  if (this.jingGouMiniState) {
388
388
  let shopUrl = `${this.jumpMiniPath.shopx}${window.location.search}`;
389
389
  if (
390
390
  /(\/shop\/(samCenter|samCard))|(\/sale\/home)|(\/favorite)/.test(window.location.pathname)
391
391
  ) {
392
392
  shopUrl = `${this.jumpMiniPath.shopx}?${objectToUrlEncode(
393
393
  this.getShopIdsInfo(otherShopInfo),
394
394
  )}`;
395
395
  }
396
396
  this.jdJumpToMiniPage(shopUrl, otherShopInfo, type);
397
397
  } else {
398
398
  super.jdJumpToShopHome(otherShopInfo);
399
399
  }
400
400
  }
401
401
 
402
402
  jdJumpToShopCategory(params) {
403
403
  console.log('[降级H5] jdJumpToShopCategory web.wxapp');
404
404
  const { type = 'navigateTo', ...otherShopInfo } = params;
405
405
  console.log('获取分类跳转参数', params);
406
406
  if (this.jingGouMiniState) {
407
407
  this.jdJumpToTopTabBase('classify', otherShopInfo);
408
408
  } else {
409
409
  super.jdJumpToShopCategory(otherShopInfo);
410
410
  }
411
411
  }
412
412
 
413
413
  jdJumpToLive(liveInfo, logEventInfo = {}) {
414
414
  if (liveInfo?.liveId) {
415
415
  if (this.jingGouMiniState && liveInfo?.openWxappToLiveRoom) {
416
416
  this.jdJumpToMiniPage(`${this.jumpMiniPath.jdLive}?liveId=${liveInfo.liveId}&origin=473`, {
417
417
  logEventInfo,
418
418
  });
419
419
  } else {
420
420
  this.jdJumpToWeb(
421
421
  `${this.jumpWebUrl.mLive}/${liveInfo.liveId}?${
422
422
  this.jingGouMiniState ? 'origin=0&appid=jdgw' : 'origin=30'
423
423
  }`,
424
424
  logEventInfo,
425
425
  );
426
426
  }
427
427
  }
428
428
  }
429
429
 
430
430
  jdJumpToShopLight(shopInfo) {
431
431
  if (this.jingGouMiniState) {
432
432
  this.jdJumpToMiniPage(
433
433
  `${this.jumpMiniPath.shopLight}?${objectToUrlEncode(
434
434
  this.getShopIdOrVenderIdParams(shopInfo),
435
435
  )}`,
436
436
  {
437
437
  ...shopInfo,
438
438
  },
439
439
  );
440
440
  } else {
441
441
  this.jdNavigateToNative(
442
442
  `${this.jumpWebUrl.shopLight}?${objectToUrlEncode(
443
443
  this.getShopIdOrVenderIdParams(shopInfo),
444
444
  )}`,
445
445
  {
446
446
  ...shopInfo,
447
447
  },
448
448
  );
449
449
  }
450
450
  }
451
451
  jdJumpToCouponSearchProductList(couponId, logEventInfo = {}) {
452
452
  if (this.jingGouMiniState) {
453
453
  const detailUrl = `${this.jumpMiniPath.searchCoupon}?batch=${couponId}`;
454
454
  this.jdJumpToMiniPage(detailUrl, logEventInfo);
455
455
  } else {
456
456
  super.jdJumpToCouponSearchProductList(couponId, logEventInfo);
457
457
  }
458
458
  }
@@ -1 +1 @@
1
- import {
2
1
  dateFormat,
3
2
  showSuccessToast,
4
3
  showFailToast,
5
4
  showNormalToast,
6
5
  isJdApp,
7
6
  isH5AndJdShopView,
8
7
  isH5,
9
8
  isH5AndJdShopViewH5Scroll,
10
9
  stopNativeScrollEvent,
11
10
  pxTransformFromData,
12
11
  remoteCustomReport,
13
12
  isLanguageForEn,
14
13
  isLanguageForHk,
15
14
  languageNowType,
16
15
  lodashThrottle,
17
16
  countStringify,
18
17
  dateFormat,
19
18
  countFormat: countStringify,
20
19
  showSuccessToast,
21
20
  showFailToast,
22
21
  showNormalToast,
23
22
  openDialog: openTaroEventDialog,
24
23
  closeDialog: closeTaroEventDialog,
25
24
  isJdApp,
26
25
  isH5AndJdShopView,
27
26
  isH5,
28
27
  isH5AndJdShopViewH5Scroll,
29
28
  stopNativeScrollEvent,
30
29
  pxTransformFromData,
31
30
  remoteCustomReport,
32
31
  isLanguageForEn,
33
32
  isLanguageForHk,
34
33
  languageNowType,
35
34
  lodashThrottle,
35
+ import {
36
36
  dateFormat,
37
37
  showSuccessToast,
38
38
  showFailToast,
39
39
  showNormalToast,
40
40
  isJdApp,
41
41
  isH5AndJdShopView,
42
42
  isH5,
43
43
  isH5AndJdShopViewH5Scroll,
44
44
  stopNativeScrollEvent,
45
45
  pxTransformFromData,
46
46
  remoteCustomReport,
47
47
  isLanguageForEn,
48
48
  isLanguageForHk,
49
49
  languageNowType,
50
50
  lodashThrottle,
51
51
  countStringify,
52
52
  draBusinessCustomLogReport
53
53
  dateFormat,
54
54
  countFormat: countStringify,
55
55
  showSuccessToast,
56
56
  showFailToast,
57
57
  showNormalToast,
58
58
  openDialog: openTaroEventDialog,
59
59
  closeDialog: closeTaroEventDialog,
60
60
  isJdApp,
61
61
  isH5AndJdShopView,
62
62
  isH5,
63
63
  isH5AndJdShopViewH5Scroll,
64
64
  stopNativeScrollEvent,
65
65
  pxTransformFromData,
66
66
  remoteCustomReport,
67
67
  isLanguageForEn,
68
68
  isLanguageForHk,
69
69
  languageNowType,
70
70
  lodashThrottle,
71
71
  draBusinessCustomLogReport
@@ -29,7 +29,8 @@
29
29
  }
30
30
  @font-face {
31
31
  font-family: 'JDZhengHeiV2-Bold';
32
- src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Bold.otf')
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')
33
34
  format('truetype');
34
35
  font-weight: normal;
35
36
  font-style: normal;
@@ -38,7 +39,8 @@
38
39
  @font-face {
39
40
  font-family: 'JDZhengHeiV2-Light';
40
41
  //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
+ //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')
42
44
  format('truetype');
43
45
  font-weight: normal;
44
46
  font-style: normal;
@@ -47,7 +49,8 @@
47
49
  @font-face {
48
50
  font-family: 'JDZhengHeiV2-Regular';
49
51
  //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 ')
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')
51
54
  format('truetype');
52
55
  font-weight: normal;
53
56
  font-style: normal;
@@ -55,7 +58,8 @@
55
58
 
56
59
  @font-face {
57
60
  font-family: 'JDZhengHeiV2-Heavy';
58
- src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Heavy.otf')
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')
59
63
  format('truetype');
60
64
  font-weight: normal;
61
65
  font-style: normal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conecli/cone-render",
3
- "version": "0.10.1-shop3.89",
3
+ "version": "0.10.1-shop3.90",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist/"