@conecli/cone-render 0.10.1-shop-beta.24 → 0.10.1-shop-beta.26

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 (44) hide show
  1. package/dist/common/accessibility.h5.ts +1 -1
  2. package/dist/common/const.ts +1 -1
  3. package/dist/common/index.h5.ts +1 -1
  4. package/dist/common/index.jd.ts +1 -1
  5. package/dist/common/index.ts +1 -1
  6. package/dist/common/index.weapp.ts +1 -1
  7. package/dist/common/token/index.h5.ts +1 -1
  8. package/dist/common/wxappApi.ascf.ts +1 -0
  9. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  10. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  11. package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
  12. package/dist/components/base/NetworkDataError/const.ts +1 -1
  13. package/dist/components/base/NetworkDataError/index.module.scss +1 -1
  14. package/dist/components/base/Price/Double/index.module.scss +1 -1
  15. package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -1
  16. package/dist/components/floorItem.tsx +1 -1
  17. package/dist/config/env.ts +1 -1
  18. package/dist/interface/component.ts +1 -1
  19. package/dist/interface/jumpEventReport.ts +1 -1
  20. package/dist/jumpEventReport/base.ts +1 -1
  21. package/dist/jumpEventReport/index.h5.ts +1 -1
  22. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  23. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  24. package/dist/jumpEventReport/logEventConfig.h5.ts +1 -1
  25. package/dist/jumpEventReport/web.base.ts +1 -1
  26. package/dist/jumpEventReport/web.jd.ts +1 -1
  27. package/dist/jumpEventReport/web.pc.ts +1 -1
  28. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  29. package/dist/language/en_US.json +55 -1
  30. package/dist/language/zh_CN.json +54 -0
  31. package/dist/language/zh_HK.json +54 -0
  32. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  33. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  34. package/dist/open/api/shopMember.ts +1 -1
  35. package/dist/open/api/util.ts +1 -1
  36. package/dist/sass/base.scss +8 -4
  37. package/dist/service/requestServer.h5.ts +1 -1
  38. package/dist/utils/connectNativeJsBridge.ts +1 -1
  39. package/dist/utils/h5Utils.ts +1 -1
  40. package/dist/utils/index.h5.ts +1 -1
  41. package/dist/utils/index.ts +1 -1
  42. package/dist/utils/index.weapp.ts +1 -1
  43. package/dist/utils/utils.ts +1 -1
  44. package/package.json +1 -1
@@ -1 +1 @@
1
- import React from 'react';
2
1
  export interface LazyLoadImageProps {
3
2
  src: string;
4
3
  lazyLoad?: boolean;
5
4
  imagRenderingSet?: boolean;
6
5
  width?: number | string;
7
6
  height?: number | string;
8
7
  className?: string;
9
8
  style?: object;
10
9
  backgroundColor?: string;
11
10
  errorSrc?: string;
12
11
  [key: string]: any;
13
12
  }
14
13
  export interface JdLoadingProps {
15
14
  className: string | null;
16
15
  hideState: boolean;
17
16
  fullState: boolean;
18
17
  localState: boolean;
19
18
  style: object;
20
19
  text: string | null;
21
20
  }
22
21
  export interface ShopConfigTabsItem {
23
22
  tabType: number;
24
23
  tabActBlurIcon?: string;
25
24
  tabText?: string;
26
25
  tabActClickIcon?: string;
27
26
  }
28
27
  export interface ShopConfigMenuItem extends ShopMenuListItem {
29
28
  url?: string;
30
29
  }
31
30
  export interface VipShopConfigMenuItem {
32
31
  menuName?: string;
33
32
  menuId: string | number;
34
33
  }
35
34
  export interface ShopTotalInfo {
36
35
  shopInfo: {
37
36
  shopId?: string;
38
37
  venderId?: string;
39
38
  shopName?: string;
40
39
  logoUrl?: string;
41
40
  followed?: boolean;
42
41
  followerCount?: number;
43
42
  closed?: boolean;
44
43
  filterShop?: boolean;
45
44
  [key: string]: any;
46
45
  };
47
46
  tabs?: [ShopConfigTabsItem];
48
47
  config?: {
49
48
  tabs: [ShopConfigTabsItem];
50
49
  mTabs: [ShopConfigTabsItem];
51
50
  bigBgImgUrl?: string;
52
51
  [key: string]: any;
53
52
  };
54
53
  menuInfo?: {
55
54
  menuList: [ShopConfigMenuItem];
56
55
  mMenuList: [ShopConfigMenuItem];
57
56
  [key: string]: any;
58
57
  };
59
58
  activityInfo?: {
60
59
  activityRuleType: number;
61
60
  isSign: number;
62
61
  followed: boolean;
63
62
  coupons?: ShopCouponListItem[];
64
63
  liveInfo?: {
65
64
  type: string;
66
65
  data: {
67
66
  living: {
68
67
  [key: string]: any;
69
68
  };
70
69
  playback: {
71
70
  [key: string]: any;
72
71
  };
73
72
  preview: {
74
73
  [key: string]: any;
75
74
  };
76
75
  };
77
76
  [key: string]: any;
78
77
  };
79
78
  signStatus?: {
80
79
  activityRuleType: number;
81
80
  interActActivityId: number;
82
81
  interActActivityType: number;
83
82
  isSign: number;
84
83
  source: number;
85
84
  };
86
85
  giftBagDataResult?: {
87
86
  activityId: number;
88
87
  activityType: number;
89
88
  giftButton: string;
90
89
  giftTitle: string;
91
90
  giftsToast: string;
92
91
  isVipGift: string;
93
92
  shopGifts: any[];
94
93
  };
95
94
  [key: string]: any;
96
95
  };
97
96
  extendInfo?: {
98
97
  coupons?: ShopCouponListItem[];
99
98
  liveInfo?: {
100
99
  type: string;
101
100
  data: {
102
101
  living: {
103
102
  [key: string]: any;
104
103
  };
105
104
  playback: {
106
105
  [key: string]: any;
107
106
  };
108
107
  preview: {
109
108
  [key: string]: any;
110
109
  };
111
110
  };
112
111
  [key: string]: any;
113
112
  };
114
113
  signStatus?: {
115
114
  activityRuleType: number;
116
115
  interActActivityId: number;
117
116
  interActActivityType: number;
118
117
  isSign: number;
119
118
  source: number;
120
119
  };
121
120
  };
122
121
  pageSet?: {
123
122
  [key: string]: any;
124
123
  };
125
124
  followed?: boolean;
126
125
  followCount?: number;
127
126
  }
128
127
  export interface PageSetData {
129
128
  backGround?: {
130
129
  type?: string;
131
130
  value?: string;
132
131
  } | null;
133
132
  [key: string]: any;
134
133
  }
135
134
  interface ShopContactInfoItem {
136
135
  hasImChat: boolean;
137
136
  infoTitle: string;
138
137
  typeCShopUrl?: string;
139
138
  infoDetail?: string;
140
139
  infoTelephone: string;
141
140
  infoType: string;
142
141
  }
143
142
  interface ShopBriefInfoItem {
144
143
  infoDetail: string;
145
144
  infoTitle: string;
146
145
  }
147
146
  interface ShopScoreItem {
148
147
  scoreColor: string;
149
148
  scoreNumber: string;
150
149
  scorePercent: string;
151
150
  scoreTitle: string;
152
151
  }
153
152
  export interface ShopDetailInfo {
154
153
  score?: ShopScoreItem[];
155
154
  shopContactInfo?: ShopContactInfoItem[];
156
155
  shopBriefInfo?: ShopBriefInfoItem[];
157
156
  shopStarInfo?: {
158
157
  title: string | null;
159
158
  scoreRankRateGrade: string;
160
159
  tip: string;
161
160
  descPageURL: string;
162
161
  };
163
162
  }
164
163
  export interface ShopContextValue {
165
164
  shopTotalInfo: ShopTotalInfo;
166
165
  urlQueryData?: object | null;
167
166
  oldUrlParamsToStr?: string;
168
167
  rootEleNode?: HTMLElement | null;
169
168
  updateShopFollowedStateFn: functionType;
170
169
  }
171
170
  export interface NetWorkErrorProps {
172
171
  className?: string;
173
172
  netWorkImageType?: string;
174
173
  message?: string;
175
174
  btnLabel?: string;
176
175
  subMessage?: string;
177
176
  netWorkDataType: string;
178
177
  netWorkShowType?: string;
179
178
  netWorkStyleType?: string;
180
179
  viewMaxHeight?: string;
181
180
  backgroundColorWhite?: boolean;
182
181
  refreshCallBackFn?: functionType | null;
183
182
  noPosition?: boolean;
184
183
  }
185
184
  export interface floorItemData {
186
185
  uid: string;
187
186
  floorIdx?: number;
188
187
  containerIndex?: number;
189
188
  containerId?: string;
190
189
  moduleFlag?: string;
191
190
  moduleName?: string;
192
191
  moduleAlias?: string;
193
192
  moduleId?: number;
194
193
  previewUri?: string;
195
194
  moduleType: number | string;
196
195
  sizeRule: number;
197
196
  visible: boolean;
198
197
  configEmpty?: boolean;
199
198
  floorPosition?: string;
200
199
  middleTemplateType?: string;
201
200
  middleTemplateId?: number;
202
201
  dsConfig?: any;
203
202
  jdrInfo?: any;
204
203
  floorExtInfo?: {
205
204
  moduleFlag?: string;
206
205
  moduleName?: string;
207
206
  moduleId?: number;
208
207
  currentTimeMillis?: number;
209
208
  floorHeight?: string;
210
209
  floorLoadWay?: number;
211
210
  floorKind?: number;
212
211
  transform?: boolean;
213
212
  modularPackResult?: {
214
213
  bundleUrl?: string;
215
214
  bundleFileName?: string;
216
215
  };
217
216
  shopId?: string;
218
217
  moduleDesignerType?: string;
219
218
  };
220
219
  showCommonFloorHead?: boolean;
221
220
  }
222
221
  export interface FloorInfoInterfaceResponseData {
223
222
  containers: ContainerItemData[];
224
223
  floors: floorItemData[];
225
224
  pageSet?: object;
226
225
  }
227
226
  export interface ContainerItemData {
228
227
  borderRadius: number;
229
228
  borderTopLeftRadius?: number;
230
229
  borderTopRightRadius?: number;
231
230
  borderBottomLeftRadius?: number;
232
231
  borderBottomRightRadius?: number;
233
232
  marginTop?: number;
234
233
  marginBottom?: number;
235
234
  marginLeft?: number;
236
235
  marginRight?: number;
237
236
  paddingTop?: number;
238
237
  paddingBottom?: number;
239
238
  paddingLeft?: number;
240
239
  paddingRight?: number;
241
240
  containerId: string;
242
241
  background?: string;
243
242
  containerPosition?: string;
244
243
  key?: string;
245
244
  floors: floorItemData[];
246
245
  includeUids: string[];
247
246
  typeCn: string;
248
247
  typeCode?: string;
249
248
  addLuxuryStyle?: boolean;
250
249
  addLuxuryBackupStyle?: boolean;
251
250
  renderExtendComponent?: functionType;
252
251
  insertContainerStartComponent?: functionType;
253
252
  floorExtendData?: any;
254
253
  }
255
254
  export interface FloorModuleData {
256
255
  floorIndex?: number;
257
256
  containerIndex?: number;
258
257
  floorData: floorItemData;
259
258
  children?: React.ReactElement;
260
259
  style?: {
261
260
  [key: string]: any;
262
261
  };
263
262
  layoutLeftRightMargin: number;
264
263
  containerBorderRadius?: number | { [key: string]: any };
265
264
  dataDefines?: DataDefinesItem[];
266
265
  updateShopFloorDataFn?: functionType;
267
266
  loadingEndComponentFn?: functionType;
268
267
  changeScrollTopFn?: functionType;
269
268
  changeScrollToLowerStateFn?: functionType | null;
270
269
  customerLayoutWidth?: number;
271
270
  builtInComponents?: any;
272
271
  updateContainerFloorListDataFn?: functionType;
273
272
  isRealTimeRender: boolean;
274
273
  forceRenderTime: number;
275
274
  luxuryFixed?: boolean;
276
275
  }
277
276
  export interface DecorateFloorModuleData extends FloorModuleData {
278
277
  source?: string;
279
278
  renderSourceType?: string;
280
279
  children?: any;
281
280
  extendInfoData?: object | undefined;
282
281
  updateContainerFloorListDataFn?: functionType;
283
282
  customErrorIsvFloorModule?: React.ReactElement | undefined;
284
283
  }
285
284
  export interface DecorateContainerData {
286
285
  containerIndex?: number;
287
286
  containerData?: any;
288
287
  shopTotalInfo?: any;
289
288
  selectContainerFn?: functionType;
290
289
  selectContainerId?: string;
291
290
  placeHolderPreContainerId?: string;
292
291
  children?: any;
293
292
  luxuryFixed?: boolean;
294
293
  style?: {
295
294
  [key: string]: any;
296
295
  };
297
296
  layoutLeftRightMargin?: number;
298
297
  urlQueryData?: object | any;
299
298
  }
300
299
  export interface PlaceHolderProps {
301
300
  containerId: string;
302
301
  placeHolderPreContainerId: string;
303
302
  isShowPlaceHolder?: boolean;
304
303
  }
305
304
  export interface ShopRankGradeProps {
306
305
  scoreGrade: number | string;
307
306
  className?: string;
308
307
  }
309
308
  export interface ShopRankGradeGradeArrItem {
310
309
  index: number;
311
310
  starState: string;
312
311
  }
313
312
  export interface DataDefinesItem {
314
313
  type: string;
315
314
  nodeText: {
316
315
 
317
316
  feedFlowInfo?: any;
318
317
  max?: any;
319
318
 
320
319
  data?: any;
321
320
  hotAreaHeight?: number;
322
321
  numShowPerLine?: number;
323
322
  };
324
323
  propertyName?: string;
325
324
  }
326
325
  export interface PriceProps {
327
326
  prefixCls?: string;
328
327
  className?: string;
329
328
  style?: React.CSSProperties;
330
329
 
331
330
  value: string | number;
332
331
 
333
332
  symbol?: string;
334
333
 
335
334
  currencySym?: string;
336
335
 
337
336
  symPos?: string;
338
337
 
339
338
  decLength?: number;
340
339
 
341
340
  decPos?: string;
342
341
 
343
342
  status?: string;
344
343
 
345
344
  symClassName?: string;
346
345
 
347
346
  intClassName?: string;
348
347
 
349
348
  decClassName?: string;
350
349
 
351
350
  noPriceClassName?: string;
352
351
 
353
352
  decToIntegerState?: boolean;
354
353
 
355
354
  isPlusPrice?: boolean;
356
355
 
357
356
  isSamsPrice?: boolean;
358
357
 
359
358
  isSfpPrice?: boolean;
360
359
 
361
360
  isMemberPrice?: boolean;
362
361
 
363
362
  memberPriceIcon?: string;
364
363
 
365
364
  isShowPriceLabel?: boolean;
366
365
 
367
366
  priceLabelText?: string;
368
367
 
369
368
  priceTextColor;
370
369
 
371
370
  useFontV2?: boolean;
372
371
  useFontV2Bold?: boolean;
373
372
  }
374
373
  export interface rankSkuItem {
375
374
  skuId: string;
376
375
  wareId: string;
377
376
  buyedStr?: string;
378
377
  imgPath: string;
379
378
  name: string;
380
379
  wareName: string;
381
380
  commentcount?: string;
382
381
  favRateDto?: {
383
382
  commentCountStr: string;
384
383
  };
385
384
  }
386
385
  export interface rankItem {
387
386
  title: string;
388
387
  rankId?: number;
389
388
  rankSkuInfoVoList: rankSkuItem[];
390
389
  }
391
390
  export interface MiniLoadFloorListRef {
392
391
  index: number;
393
392
  itemNum: number;
394
393
  list: (floorItemData | any)[];
395
394
  loadList: (floorItemData | any)[];
396
395
  max: number;
397
396
  }
398
397
  export interface HotStyleConfig {
399
398
  wHotMobile: number;
400
399
  hHotMobile: number;
401
400
  xHotMobile: number;
402
401
  yHotMobile: number;
403
402
  }
404
403
  export interface HotData {
405
404
  data?: HotDataItem[];
406
405
  hotAreaHeight?: number;
407
406
  }
408
407
  export interface HotDataItem {
409
408
  coordinate: {
410
409
  h: number;
411
410
  w: number;
412
411
  x: number;
413
412
  y: number;
414
413
  };
415
414
  detail: {
416
415
  configDataType: number;
417
416
  configDataValue: any;
418
417
  };
419
418
  dataSourceType: number;
420
419
  jdPrice?: boolean;
421
420
  prefix: string;
422
421
  price: string;
423
422
  priceStyleConfig: any;
424
423
  showSkuPrice: number;
425
424
  priceInfoDetail?: {
426
425
  jdPrice: string;
427
426
  };
428
427
  }
429
428
  export interface CountDownProps {
430
429
  residueTime: number;
431
430
  serverTime: number;
432
431
  className?: string;
433
432
  startTime: number;
434
433
  endTime: number;
435
434
  info?: any;
436
435
  startTitleText?: string | null;
437
436
  endTitleText?: string | null;
438
437
  fromEndText?: string | null;
439
438
  startTimeEndCallBack?: functionType | null;
440
439
  endTimeEndCallBack?: functionType | null;
441
440
  timeNumSpaceTextState: boolean;
442
441
  showDaytimeNumSpaceTextState?: boolean;
443
442
  onlyShowDayState?: boolean;
444
443
  onlyShowDaySpaceTextState?: boolean;
445
444
  showDayState?: boolean;
446
445
  showDayToSecondState?: boolean;
447
446
  showHourState: boolean;
448
447
  showMinuteState: boolean;
449
448
  showSecondState: boolean;
450
449
  getDaysToHours: boolean;
451
450
  fromStartText: null | string;
452
451
  numTextColor: null | string;
453
452
  textColor: null | string;
454
453
  numTextBgColor: null | string;
455
454
  useFontV2: boolean;
456
455
  useFontV2Bold: boolean;
457
456
  }
458
457
  export interface CountDownTimerRef {
459
458
  type: string;
460
459
  text: string | null | undefined;
461
460
  time?: number | null;
462
461
  endTime?: number | null;
463
462
  }
464
463
  export interface FilterBarSearchChangeType {
465
464
  id?: string;
466
465
  inStock: boolean;
467
466
  inStockText: string;
468
467
  showJdDeliver: boolean;
469
468
  showJdDeliverText: string;
470
469
  searchDataSetState: boolean;
471
470
  }
472
471
  export interface MultipleFilterListItem {
473
472
  id?: string;
474
473
  type: number;
475
474
  value: string;
476
475
  checked: boolean;
477
476
  text: string;
478
477
  }
479
478
  export interface FilterBarProps {
480
479
  className?: string;
481
480
  defaultShowType?: string | number;
482
481
  defaultSelected?: number;
483
482
  isTriggerFilterChangeOnInit?: boolean;
484
483
  onFilterChange?: functionType | null;
485
484
  onShowTypeChange?: functionType | null;
486
485
  instockSelected?: boolean;
487
486
  pageId?: undefined | string;
488
487
  searchDescription?: undefined | string;
489
488
  searchChangeType: FilterBarSearchChangeType;
490
489
  }
491
490
  export interface FilterRadioItemProps {
492
491
  filterType?: number;
493
492
  label: string;
494
493
  className: string;
495
494
  icon: boolean;
496
495
  onToggleChange?: functionType;
497
496
  onSelected: functionType;
498
497
  selected: boolean;
499
498
  type: string;
500
499
  switchOn: boolean;
501
500
  }
502
501
  export interface ShopNavBarScrollXOffsetRef {
503
502
  [key: number]: number;
504
503
  tabListPosResList?: number;
505
504
  }
506
505
  export interface SearchHotKeyWord {
507
506
  [key: string]: string;
508
507
  }
509
508
  export interface ProductWithFilterProps {
510
509
  listClassName?: string;
511
510
  filterBarEnabled?: boolean;
512
511
  keyWord: string;
513
512
  defaultKeyWord: string;
514
513
  totalHeight: number;
515
514
  defaultShowType?: undefined | string | number;
516
515
  searchType: string | number;
517
516
  skuId?: string | number;
518
517
  cateId?: undefined | string;
519
518
  pageId?: undefined | string;
520
519
  searchDescription?: undefined | string;
521
520
  useOutsideScrollView: boolean;
522
521
  extraParam: object;
523
522
  pageJumpParam?: object;
524
523
  enableEventUpdate?: boolean;
525
524
  showFilterBarSecondary?: boolean;
526
525
  displayHeight: number;
527
526
  toTop: boolean;
528
527
  tabContentShowState?: boolean;
529
528
  scrollToLowerState?: boolean;
530
529
  changeScrollToLowerStateFn?: functionType;
531
530
  changeProductWithFilterStateFn?: functionType;
532
531
  }
533
532
  export interface ShopMenuListItem {
534
533
  menuId: number;
535
534
  menuName: string;
536
535
  menuType?: string;
537
536
  icon?: string;
538
537
  text?: string;
539
538
  config?: object;
540
539
  subMenu?: any[];
541
540
  }
542
541
  export interface VipShopMenuListItem {
543
542
  menuId: number | string;
544
543
  menuName: string;
545
544
  iconAfter: string;
546
545
  iconBefore: string;
547
546
  jumpUrl: string;
548
547
  visible: boolean;
549
548
  }
550
549
  export interface DialogConfigBackFn {
551
550
  onClose?: functionType;
552
551
  onBeforeConfirm?: functionType;
553
552
  onConfirm?: functionType;
554
553
  onBackground?: functionType;
555
554
  onHide?: functionType;
556
555
  onInit?: functionType;
557
556
  onFormSubmit?: functionType;
558
557
  onFormReset?: functionType;
559
558
  }
560
559
  export interface DialogConfigProps extends DialogConfigBackFn {
561
560
  type: number;
562
561
  className?: string;
563
562
  style?: React.CSSProperties;
564
563
  title?: string;
565
564
  message?: string | null;
566
565
  closeBtnText?: string;
567
566
  closeBtnHideState?: boolean;
568
567
  confirmBtnText?: string;
569
568
  confirmBtnHideState?: boolean;
570
569
  hasFooter?: boolean;
571
570
  bodyNode?: React.ReactNode | null;
572
571
  footerNode?: React.ReactNode;
573
572
  show?: boolean;
574
573
  isCustom?: boolean;
575
574
  maskCloseable?: boolean;
576
575
  isFormDialog?: boolean;
577
576
  dialogTransition?: string;
578
577
  maskTransition?: string;
579
578
  usePortal?: boolean;
580
579
  forbiddenBgScrollState?: boolean;
581
580
  }
582
581
  export interface ActivityTabFullData {
583
582
  sortOrderFloorMapList: string[];
584
583
  serverTimeRes: number;
585
584
  loadingDataFinishState: boolean;
586
585
  secKillPage?: {
587
586
  [key: string]: string;
588
587
  };
589
588
  gwredPage?: {
590
589
  [key: string]: string;
591
590
  };
592
591
  orderFloorMap?: {
593
592
  [key: string]: string;
594
593
  };
595
594
  promotionFloorInfo?: {
596
595
  [key: string]: string;
597
596
  };
598
597
  shopSalePage?: {
599
598
  [key: string]: string;
600
599
  };
601
600
  signInfo?: {
602
601
  [key: string]: string;
603
602
  };
604
603
  speciSecKillPage?: {
605
604
  [key: string]: string;
606
605
  };
607
606
  couponInfos?: any[];
608
607
  }
609
608
  export interface PromotionTabData {
610
609
  loadingDataFinishState: boolean;
611
610
  hasGoodsFeeds: boolean;
612
611
  list: ContainerItemData[];
613
612
  }
614
613
  export interface NewWareInfoData {
615
614
  hasReady: boolean;
616
615
  hasNext: boolean;
617
616
  pageIdx: number;
618
617
  newWareList: {
619
618
  date: number;
620
619
  title: string;
621
620
  wareList: any[];
622
621
  }[];
623
622
  totalPage: number;
624
623
  totalCount: number;
625
624
  magicTabs: any[];
626
625
  videoTabs: any[];
627
626
  extend: null | {
628
627
  background: string;
629
628
  backgroundType: null;
630
629
  newProductList: any[];
631
630
  newProductSubTitle: string;
632
631
  };
633
632
  serialNew: {
634
633
  compName: string;
635
634
  firstText: string;
636
635
  headerImg: string;
637
636
  secText: string;
638
637
  serialUrl: string;
639
638
  skuInfoList: any[];
640
639
  }[];
641
640
  preferredGoods: null | {
642
641
  headerTitle: string;
643
642
  headerTagImg: null;
644
643
  itemList: any[];
645
644
  };
646
645
  }
647
646
  export interface ActivitySignInfo {
648
647
  source: number;
649
648
  isvUrl?: string;
650
649
  isvText?: string;
651
650
  isvImgUrl?: string;
652
651
  signImageUrl?: string;
653
652
  }
654
653
  export interface ShopLotteryInfo {
655
654
  signInfo: {
656
655
  activityRuleType: number;
657
656
  continueDay: number;
658
657
  isSign: number;
659
658
  signTotal: number;
660
659
  };
661
660
  winInfo: string[];
662
661
  tabNames: string[];
663
662
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
664
663
  products?: ShopLotteryProductItem[];
665
664
  }
666
665
  export interface ShopLotteryTabMenuListItem {
667
666
  id: number;
668
667
  name: string;
669
668
  type: string;
670
669
  }
671
670
  export interface ShopLotteryProductItem {
672
671
  wareId: string;
673
672
  imgPath: string;
674
673
  wareName: string;
675
674
  jdPrice: string;
676
675
  promotion: boolean;
677
676
  flashSale: number;
678
677
  status: number;
679
678
  isUnderCarriage: number;
680
679
  stock: number;
681
680
  addCart: boolean;
682
681
  addCartAbTest: boolean;
683
682
  preSale: boolean;
684
683
  emptyJDPrice: boolean;
685
684
  emptyPrice: boolean;
686
685
  }
687
686
  export interface ShopCouponListItem {
688
687
  couponId: number;
689
688
  type: number;
690
689
  couponName?: string;
691
690
  name?: string;
692
691
  beginTime: string;
693
692
  endTime: string;
694
693
  discount: number;
695
694
  quota: number;
696
695
  style: number;
697
696
  crmCoupon: boolean;
698
697
  applicability: boolean;
699
698
  act: string;
700
699
  bindType: number;
701
700
  isfansCoupon: boolean;
702
701
  couponSource: string;
703
702
  couponSourceDetail: string;
704
703
  channel: string;
705
704
  subChannel: string;
706
705
  couponStatus?: number;
707
706
  channelDetail?: string;
708
707
  minDiscount?: string | number;
709
708
  maxDiscount?: string | number;
710
709
  biinfo?: string;
711
710
  skus?: string;
712
711
  foldSpread?: boolean;
713
712
  couponFaceDescription?: string;
714
713
  appid?: string;
715
714
  platformid?: string;
716
715
  }
717
716
  export interface ShopProWaresListItem {
718
717
  wareId: number;
719
718
  wareImage: string;
720
719
  wareName: string;
721
720
  jdPrice: string;
722
721
  lineationPrice?: string;
723
722
  isPreSale: boolean;
724
723
  purchasePrice?: string;
725
724
  }
726
725
  export interface ShopPromotionWaresListInfo {
727
726
  hasNext: boolean;
728
727
  pageIdx: number;
729
728
  pageSize: number;
730
729
  skuList: ShopProWaresListItem[];
731
730
  totalSize: number;
732
731
  activityIntensity?: string;
733
732
  }
734
733
  export interface GuideInfoWaresListItem {
735
734
  wareId: number | string;
736
735
  imgPath: string;
737
736
  wareName: string;
738
737
  jdPrice: string;
739
738
  priceInfo?: PriceInfo;
740
739
  spPrice?: string;
741
740
  ppPrice?: string;
742
741
  }
743
742
  export interface GuideInfoWaresListInfo {
744
743
  hasNext: boolean;
745
744
  pageIdx: number;
746
745
  pageSize: number;
747
746
  wareList: GuideInfoWaresListItem[];
748
747
  totalSize: number;
749
748
  guideText: string;
750
749
  standbyText: string;
751
750
  testId: string;
752
751
  totalCount: number;
753
752
  totalPage: number;
754
753
  }
755
754
  export interface ShopVideosListItem {
756
755
  cmtid: string;
757
756
  content: string;
758
757
  days: string;
759
758
  height: string;
760
759
  openApp: string;
761
760
  playUrl: string;
762
761
  projectid: string;
763
762
  skuId: string;
764
763
  skuPic: string;
765
764
  videoCoverUrl: string;
766
765
  videoNum: string;
767
766
  width: string;
768
767
  }
769
768
  export interface ShopVideosListInfo {
770
769
  hasNext: boolean;
771
770
  pageIdx: number;
772
771
  pageSize: number;
773
772
  videoList: ShopVideosListItem[];
774
773
  videoEvenList: ShopVideosListItem[];
775
774
  videoOddList: ShopVideosListItem[];
776
775
  totalPage: number;
777
776
  videoItemWh: number;
778
777
  }
779
778
  export interface ShopMoreGoodsListInfo {
780
779
  hasNext: boolean;
781
780
  pageIdx: number;
782
781
  pageSize: number;
783
782
  wareList: ShopMoreGoodsListItem[];
784
783
  totalPage: number;
785
784
  }
786
785
  export interface ShopMoreGoodsListItem {
787
786
  wareId: number;
788
787
  imgPath: string;
789
788
  wareName: string;
790
789
  skVersionInfo: {};
791
790
  shareInfo: {
792
791
  title: string;
793
792
  content: string;
794
793
  url: string;
795
794
  img: string;
796
795
  };
797
796
  }
798
797
  export interface ShopFastShoppingSkuListItem {
799
798
  actId: number;
800
799
  displayTime: string;
801
800
  endTime: string;
802
801
  jgys: string;
803
802
  jdPrice?: string;
804
803
  redPrice: string;
805
804
  skuId: number;
806
805
  skuImg: string;
807
806
  skuName: string;
808
807
  soldOut: number;
809
808
  start: string | number;
810
809
  startTime: string;
811
810
  }
812
811
  export interface ShopFastShoppingSkuListInfo {
813
812
  nextPage: boolean;
814
813
  data: ShopFastShoppingSkuListItem[];
815
814
  total: number;
816
815
  serverTime?: number;
817
816
  displayTime?: string;
818
817
  startTime?: string;
819
818
  endTime?: string;
820
819
  }
821
820
  export interface ShopSpeciSecKillSkuListItem {
822
821
  displayTime: string;
823
822
  endTime: string;
824
823
  jdPrice?: string;
825
824
  miaoShaPrice: string;
826
825
  skuId: number;
827
826
  imageUrl: string;
828
827
  skuName: string;
829
828
  discountReason: string;
830
829
  operateWord: string;
831
830
  promotionId: string;
832
831
  seckillNum: string;
833
832
  soldOut: number;
834
833
  source: number;
835
834
  seckillType: number;
836
835
  start: string | number;
837
836
  startTime: string;
838
837
  }
839
838
  export interface ShopSpeciSecKillSkuListInfo {
840
839
  nextPage: boolean;
841
840
  data: ShopSpeciSecKillSkuListItem[];
842
841
  total: number;
843
842
  }
844
843
  export interface CategoryList {
845
844
  showType: number;
846
845
  insurancePriceSuffix?: string;
847
846
  hasCateList: boolean;
848
847
  wareInfoList: any;
849
848
  }
850
849
  export interface DecorationDataList {
851
850
  parentId: string;
852
851
  navigationDecorationData: any;
853
852
  index: number;
854
853
  }
855
854
  export interface ShopSignActivityRuleInfo {
856
855
  data: {
857
856
  activityDescription: string;
858
857
  activityTime: string;
859
858
  awardName: string;
860
859
  awardDescription: string[];
861
860
  } | null;
862
861
  loadState: boolean;
863
862
  }
864
863
  export interface ShopSignPrizeListItem {
865
864
  type: number;
866
865
  loadState: boolean;
867
866
  activeState: boolean;
868
867
  list: any[];
869
868
  expireList: any[];
870
869
  name: string;
871
870
  }
872
871
  export interface ShopSignPrizeListInfo {
873
872
  loadState: boolean;
874
873
  signPrizeList: ShopSignPrizeListItem[] | any[];
875
874
  }
876
875
  export interface VipShopHeader {
877
876
  current?: {
878
877
  className?: string;
879
878
  } | null;
880
879
  [key: string]: any;
881
880
  }
882
881
  export interface BuyerShowTabListInfoData {
883
882
  finishState: boolean;
884
883
  loadingDataFinishState: boolean;
885
884
  list: any[];
886
885
  evenList: any[];
887
886
  oddList: any[];
888
887
  }
889
888
  interface BuyerShowInfoImageItem {
890
889
  largePicURL: string;
891
890
  mediaType: string;
892
891
  picHeight: string;
893
892
  picURL: string;
894
893
  picWidth: string;
895
894
  }
896
895
  export interface BuyerShowInfoData {
897
896
  category: string;
898
897
  commentData: string;
899
898
  commentId: string;
900
899
  commentType: string;
901
900
  createdDate: string;
902
901
  guid: string;
903
902
  hadPraise: boolean;
904
903
  imageInfoList: BuyerShowInfoImageItem[];
905
904
  oldCommentId: string;
906
905
  praiseCnt: string;
907
906
  praiseCntNum: number;
908
907
  praiseUsable: boolean;
909
908
  resourceType: number;
910
909
  skuImgUrl: string;
911
910
  skuName: string;
912
911
  skuPrice: string;
913
912
  source: string;
914
913
  userImgURL: string;
915
914
  userLevel: null | string;
916
915
  userNickName: string;
917
916
  userPin: null | string;
918
917
  wareId: string;
919
918
  detailImageLoadState?: boolean;
920
919
  }
921
920
  export interface RecommendShopGuidListItem {
922
921
  followed: boolean;
923
922
  followerCount: number;
924
923
  longLogoStatus: number;
925
924
  recommendGoods: {
926
925
  imgUrl: string;
927
926
  wareId: string;
928
927
  wareName: string;
929
928
  }[];
930
929
  shopBanner: string;
931
930
  shopId: string;
932
931
  shopLogoImg: string;
933
932
  shopName: string;
934
933
  venderType: number;
935
934
  vendorId: string;
936
935
  }
937
936
 
938
937
  export interface InOrOutViewObserverProps {
939
938
  children?: React.ReactElement;
940
939
  className?: string;
941
940
 
942
941
  style?: object;
943
942
 
944
943
  threshold?: number;
945
944
 
946
945
  inViewCallback?: functionType;
947
946
 
948
947
  outViewCallback?: functionType;
949
948
  }
950
949
 
951
950
  export interface CustomVideoProps {
952
951
  isSystemVideo?: boolean;
953
952
  id?: string;
954
953
  className?: string;
955
954
 
956
955
  style?: object;
957
956
 
958
957
  videoStyle?: object;
959
958
 
960
959
  src: string;
961
960
 
962
961
  width?: string | number;
963
962
 
964
963
  height?: string | number;
965
964
 
966
965
  poster?: string;
967
966
 
968
967
  controls?: boolean;
969
968
 
970
969
  autoplay?: boolean;
971
970
 
972
971
  mockAutoplay?: boolean;
973
972
 
974
973
  loop?: boolean;
975
974
 
976
975
  showMuteBtn?: boolean;
977
976
 
978
977
  muteButtonPostion?: keyof MuteButtonPostion;
979
978
 
980
979
  muteBtnPicSrcObj?: muteBtnPicObj;
981
980
 
982
981
  muteBtnClassName?: string;
983
982
 
984
983
  muteBtnStyle?: object;
985
984
 
986
985
  showFullscreenBtn?: boolean;
987
986
 
988
987
  showCenterPlayBtn?: boolean;
989
988
 
990
989
  objectFit?: keyof ObjectFit;
991
990
 
992
991
  threshold?: number;
993
992
 
994
993
  onPlayCallback?: any;
995
994
 
996
995
  onPauseCallback?: any;
997
996
 
998
997
  onVideoApiCall?: functionType;
999
998
 
1000
999
  inViewCallback?: functionType;
1001
1000
 
1002
1001
  outViewCallback?: functionType;
1003
1002
  floorData: floorItemData;
1004
1003
  }
1005
1004
 
1006
1005
  interface muteBtnPicObj {
1007
1006
  IS_MUTED: string;
1008
1007
  NOT_MUTED: string;
1009
1008
  }
1010
1009
 
1011
1010
  interface MuteButtonPostion {
1012
1011
  topLeft;
1013
1012
  topRight;
1014
1013
  bottomLeft;
1015
1014
  bottomRight;
1016
1015
  }
1017
1016
 
1018
1017
  interface ObjectFit {
1019
1018
 
1020
1019
  contain;
1021
1020
 
1022
1021
  fill;
1023
1022
 
1024
1023
  cover;
1025
1024
  }
1026
1025
  interface SkuItem {
1027
1026
  id: number;
1028
1027
  name: string;
1029
1028
  imgMain: string;
1030
1029
  suggested: number;
1031
1030
  rankUrl: string;
1032
1031
  }
1033
1032
  export interface RankV1Item {
1034
1033
  id: number;
1035
1034
  type: number;
1036
1035
  rankUrl: string;
1037
1036
  title: string;
1038
1037
  hotPoint: string;
1039
1038
  skuCount: number;
1040
1039
  skuList: SkuItem[];
1041
1040
  }
1042
1041
  interface PriceInfo {
1043
1042
  jdPrice: string;
1044
1043
  finalPrice: string;
1045
1044
  priceText: string;
1046
1045
  priceType: number;
1047
1046
  hiddenPrice: boolean;
1048
1047
  isAuctionWare: boolean;
1049
1048
  isPinGouWare: boolean;
1050
1049
  showPromotionList: boolean;
1051
1050
  hitUserIdentity: boolean;
1052
1051
  }
1053
1052
  interface SkVersionInfo {
1054
1053
  priceInfo: PriceInfo;
1055
1054
  }
1056
1055
  export interface ProductItem {
1057
1056
  id: number;
1058
1057
  name: string;
1059
1058
  imgMain: string;
1060
1059
  priceJD: string;
1061
1060
  sellPoint: string;
1062
1061
  sellCount: number;
1063
1062
  sellCountDesc: string;
1064
1063
  rankDesc: string;
1065
1064
  suggested: number;
1066
1065
  skVersionInfo: SkVersionInfo;
1067
1066
  }
1067
+ import React from 'react';
1068
1068
  export interface LazyLoadImageProps {
1069
1069
  src: string;
1070
1070
  lazyLoad?: boolean;
1071
1071
  imagRenderingSet?: boolean;
1072
1072
  width?: number | string;
1073
1073
  height?: number | string;
1074
1074
  className?: string;
1075
1075
  style?: object;
1076
1076
  backgroundColor?: string;
1077
1077
  errorSrc?: string;
1078
1078
  [key: string]: any;
1079
1079
  }
1080
1080
  export interface JdLoadingProps {
1081
1081
  className: string | null;
1082
1082
  hideState: boolean;
1083
1083
  fullState: boolean;
1084
1084
  localState: boolean;
1085
1085
  style: object;
1086
1086
  text: string | null;
1087
1087
  }
1088
1088
  export interface ShopConfigTabsItem {
1089
1089
  tabType: number;
1090
1090
  tabActBlurIcon?: string;
1091
1091
  tabText?: string;
1092
1092
  tabActClickIcon?: string;
1093
1093
  }
1094
1094
  export interface ShopConfigMenuItem extends ShopMenuListItem {
1095
1095
  url?: string;
1096
1096
  }
1097
1097
  export interface VipShopConfigMenuItem {
1098
1098
  menuName?: string;
1099
1099
  menuId: string | number;
1100
1100
  }
1101
1101
  export interface ShopTotalInfo {
1102
1102
  shopInfo: {
1103
1103
  shopId?: string;
1104
1104
  venderId?: string;
1105
1105
  shopName?: string;
1106
1106
  logoUrl?: string;
1107
1107
  followed?: boolean;
1108
1108
  followerCount?: number;
1109
1109
  closed?: boolean;
1110
1110
  filterShop?: boolean;
1111
1111
  [key: string]: any;
1112
1112
  };
1113
1113
  tabs?: [ShopConfigTabsItem];
1114
1114
  config?: {
1115
1115
  tabs: [ShopConfigTabsItem];
1116
1116
  mTabs: [ShopConfigTabsItem];
1117
1117
  bigBgImgUrl?: string;
1118
1118
  [key: string]: any;
1119
1119
  };
1120
1120
  menuInfo?: {
1121
1121
  menuList: [ShopConfigMenuItem];
1122
1122
  mMenuList: [ShopConfigMenuItem];
1123
1123
  [key: string]: any;
1124
1124
  };
1125
1125
  activityInfo?: {
1126
1126
  activityRuleType: number;
1127
1127
  isSign: number;
1128
1128
  followed: boolean;
1129
1129
  coupons?: ShopCouponListItem[];
1130
1130
  liveInfo?: {
1131
1131
  type: string;
1132
1132
  data: {
1133
1133
  living: {
1134
1134
  [key: string]: any;
1135
1135
  };
1136
1136
  playback: {
1137
1137
  [key: string]: any;
1138
1138
  };
1139
1139
  preview: {
1140
1140
  [key: string]: any;
1141
1141
  };
1142
1142
  };
1143
1143
  [key: string]: any;
1144
1144
  };
1145
1145
  signStatus?: {
1146
1146
  activityRuleType: number;
1147
1147
  interActActivityId: number;
1148
1148
  interActActivityType: number;
1149
1149
  isSign: number;
1150
1150
  source: number;
1151
1151
  };
1152
1152
  giftBagDataResult?: {
1153
1153
  activityId: number;
1154
1154
  activityType: number;
1155
1155
  giftButton: string;
1156
1156
  giftTitle: string;
1157
1157
  giftsToast: string;
1158
1158
  isVipGift: string;
1159
1159
  shopGifts: any[];
1160
1160
  };
1161
1161
  [key: string]: any;
1162
1162
  };
1163
1163
  extendInfo?: {
1164
1164
  coupons?: ShopCouponListItem[];
1165
1165
  liveInfo?: {
1166
1166
  type: string;
1167
1167
  data: {
1168
1168
  living: {
1169
1169
  [key: string]: any;
1170
1170
  };
1171
1171
  playback: {
1172
1172
  [key: string]: any;
1173
1173
  };
1174
1174
  preview: {
1175
1175
  [key: string]: any;
1176
1176
  };
1177
1177
  };
1178
1178
  [key: string]: any;
1179
1179
  };
1180
1180
  signStatus?: {
1181
1181
  activityRuleType: number;
1182
1182
  interActActivityId: number;
1183
1183
  interActActivityType: number;
1184
1184
  isSign: number;
1185
1185
  source: number;
1186
1186
  };
1187
1187
  };
1188
1188
  pageSet?: {
1189
1189
  [key: string]: any;
1190
1190
  };
1191
1191
  followed?: boolean;
1192
1192
  followCount?: number;
1193
1193
  }
1194
1194
  export interface PageSetData {
1195
1195
  backGround?: {
1196
1196
  type?: string;
1197
1197
  value?: string;
1198
1198
  } | null;
1199
1199
  [key: string]: any;
1200
1200
  }
1201
1201
  interface ShopContactInfoItem {
1202
1202
  hasImChat: boolean;
1203
1203
  infoTitle: string;
1204
1204
  typeCShopUrl?: string;
1205
1205
  infoDetail?: string;
1206
1206
  infoTelephone: string;
1207
1207
  infoType: string;
1208
1208
  }
1209
1209
  interface ShopBriefInfoItem {
1210
1210
  infoDetail: string;
1211
1211
  infoTitle: string;
1212
1212
  }
1213
1213
  interface ShopScoreItem {
1214
1214
  scoreColor: string;
1215
1215
  scoreNumber: string;
1216
1216
  scorePercent: string;
1217
1217
  scoreTitle: string;
1218
1218
  }
1219
1219
  export interface ShopDetailInfo {
1220
1220
  score?: ShopScoreItem[];
1221
1221
  shopContactInfo?: ShopContactInfoItem[];
1222
1222
  shopBriefInfo?: ShopBriefInfoItem[];
1223
1223
  shopStarInfo?: {
1224
1224
  title: string | null;
1225
1225
  scoreRankRateGrade: string;
1226
1226
  tip: string;
1227
1227
  descPageURL: string;
1228
1228
  };
1229
1229
  }
1230
1230
  export interface ShopContextValue {
1231
1231
  shopTotalInfo: ShopTotalInfo;
1232
1232
  urlQueryData?: object | null;
1233
1233
  oldUrlParamsToStr?: string;
1234
1234
  rootEleNode?: HTMLElement | null;
1235
1235
  updateShopFollowedStateFn: functionType;
1236
1236
  }
1237
1237
  export interface NetWorkErrorProps {
1238
1238
  className?: string;
1239
1239
  netWorkImageType?: string;
1240
1240
  message?: string;
1241
1241
  btnLabel?: string;
1242
1242
  subMessage?: string;
1243
1243
  netWorkDataType: string;
1244
1244
  netWorkShowType?: string;
1245
1245
  netWorkStyleType?: string;
1246
1246
  viewMaxHeight?: string;
1247
1247
  backgroundColorWhite?: boolean;
1248
1248
  refreshCallBackFn?: functionType | null;
1249
1249
  noPosition?: boolean;
1250
1250
  }
1251
1251
  export interface floorItemData {
1252
1252
  uid: string;
1253
1253
  floorIdx?: number;
1254
1254
  containerIndex?: number;
1255
1255
  containerId?: string;
1256
1256
  moduleFlag?: string;
1257
1257
  moduleName?: string;
1258
1258
  moduleAlias?: string;
1259
1259
  moduleId?: number;
1260
1260
  previewUri?: string;
1261
1261
  moduleType: number | string;
1262
1262
  sizeRule: number;
1263
1263
  visible: boolean;
1264
1264
  configEmpty?: boolean;
1265
1265
  floorPosition?: string;
1266
1266
  middleTemplateType?: string;
1267
1267
  middleTemplateId?: number;
1268
1268
  dsConfig?: any;
1269
1269
  jdrInfo?: any;
1270
1270
  floorExtInfo?: {
1271
1271
  moduleFlag?: string;
1272
1272
  moduleName?: string;
1273
1273
  moduleId?: number;
1274
1274
  currentTimeMillis?: number;
1275
1275
  floorHeight?: string;
1276
1276
  floorLoadWay?: number;
1277
1277
  floorKind?: number;
1278
1278
  transform?: boolean;
1279
1279
  modularPackResult?: {
1280
1280
  bundleUrl?: string;
1281
1281
  bundleFileName?: string;
1282
1282
  };
1283
1283
  shopId?: string;
1284
1284
  moduleDesignerType?: string;
1285
1285
  };
1286
1286
  showCommonFloorHead?: boolean;
1287
1287
  }
1288
1288
  export interface FloorInfoInterfaceResponseData {
1289
1289
  containers: ContainerItemData[];
1290
1290
  floors: floorItemData[];
1291
1291
  pageSet?: object;
1292
1292
  }
1293
1293
  export interface ContainerItemData {
1294
1294
  borderRadius: number;
1295
1295
  borderTopLeftRadius?: number;
1296
1296
  borderTopRightRadius?: number;
1297
1297
  borderBottomLeftRadius?: number;
1298
1298
  borderBottomRightRadius?: number;
1299
1299
  marginTop?: number;
1300
1300
  marginBottom?: number;
1301
1301
  marginLeft?: number;
1302
1302
  marginRight?: number;
1303
1303
  paddingTop?: number;
1304
1304
  paddingBottom?: number;
1305
1305
  paddingLeft?: number;
1306
1306
  paddingRight?: number;
1307
1307
  containerId: string;
1308
1308
  background?: string;
1309
1309
  containerPosition?: string;
1310
1310
  key?: string;
1311
1311
  floors: floorItemData[];
1312
1312
  includeUids: string[];
1313
1313
  typeCn: string;
1314
1314
  typeCode?: string;
1315
1315
  addLuxuryStyle?: boolean;
1316
1316
  addLuxuryBackupStyle?: boolean;
1317
1317
  renderExtendComponent?: functionType;
1318
1318
  insertContainerStartComponent?: functionType;
1319
1319
  floorExtendData?: any;
1320
1320
  }
1321
1321
  export interface FloorModuleData {
1322
1322
  floorIndex?: number;
1323
1323
  containerIndex?: number;
1324
1324
  floorData: floorItemData;
1325
1325
  children?: React.ReactElement;
1326
1326
  style?: {
1327
1327
  [key: string]: any;
1328
1328
  };
1329
1329
  layoutLeftRightMargin: number;
1330
1330
  containerBorderRadius?: number | { [key: string]: any };
1331
1331
  dataDefines?: DataDefinesItem[];
1332
1332
  updateShopFloorDataFn?: functionType;
1333
1333
  loadingEndComponentFn?: functionType;
1334
1334
  changeScrollTopFn?: functionType;
1335
1335
  changeScrollToLowerStateFn?: functionType | null;
1336
1336
  customerLayoutWidth?: number;
1337
1337
  builtInComponents?: any;
1338
1338
  updateContainerFloorListDataFn?: functionType;
1339
1339
  isRealTimeRender: boolean;
1340
1340
  forceRenderTime: number;
1341
1341
  luxuryFixed?: boolean;
1342
1342
  }
1343
1343
  export interface DecorateFloorModuleData extends FloorModuleData {
1344
1344
  source?: string;
1345
1345
  memberBaseInfo?: {
1346
1346
  shopId?: string;
1347
1347
  venderId?: string;
1348
1348
  channel?: string;
1349
1349
  venderType?: string;
1350
1350
  showDefaultModule?: boolean;
1351
1351
  customerLevel?: string;
1352
1352
  isUserForMember?: boolean;
1353
1353
  isLv0?: boolean;
1354
1354
  levelZeroMenuUrl?: string;
1355
1355
  totalRefresh?: functionType;
1356
1356
  callOpenCardPopPage?: functionType;
1357
1357
  };
1358
1358
  renderSourceType?: string;
1359
1359
  children?: any;
1360
1360
  extendInfoData?: object | undefined;
1361
1361
  updateContainerFloorListDataFn?: functionType;
1362
1362
  customErrorIsvFloorModule?: React.ReactElement | undefined;
1363
1363
  }
1364
1364
  export interface DecorateContainerData {
1365
1365
  containerIndex?: number;
1366
1366
  containerData?: any;
1367
1367
  shopTotalInfo?: any;
1368
1368
  selectContainerFn?: functionType;
1369
1369
  selectContainerId?: string;
1370
1370
  placeHolderPreContainerId?: string;
1371
1371
  children?: any;
1372
1372
  luxuryFixed?: boolean;
1373
1373
  style?: {
1374
1374
  [key: string]: any;
1375
1375
  };
1376
1376
  layoutLeftRightMargin?: number;
1377
1377
  urlQueryData?: object | any;
1378
1378
  }
1379
1379
  export interface PlaceHolderProps {
1380
1380
  containerId: string;
1381
1381
  placeHolderPreContainerId: string;
1382
1382
  isShowPlaceHolder?: boolean;
1383
1383
  }
1384
1384
  export interface ShopRankGradeProps {
1385
1385
  scoreGrade: number | string;
1386
1386
  className?: string;
1387
1387
  }
1388
1388
  export interface ShopRankGradeGradeArrItem {
1389
1389
  index: number;
1390
1390
  starState: string;
1391
1391
  }
1392
1392
  export interface DataDefinesItem {
1393
1393
  type: string;
1394
1394
  nodeText: {
1395
1395
 
1396
1396
  feedFlowInfo?: any;
1397
1397
  max?: any;
1398
1398
 
1399
1399
  data?: any;
1400
1400
  hotAreaHeight?: number;
1401
1401
  numShowPerLine?: number;
1402
1402
  };
1403
1403
  propertyName?: string;
1404
1404
  }
1405
1405
  export interface PriceProps {
1406
1406
  prefixCls?: string;
1407
1407
  className?: string;
1408
1408
  style?: React.CSSProperties;
1409
1409
 
1410
1410
  value: string | number;
1411
1411
 
1412
1412
  symbol?: string;
1413
1413
 
1414
1414
  currencySym?: string;
1415
1415
 
1416
1416
  symPos?: string;
1417
1417
 
1418
1418
  decLength?: number;
1419
1419
 
1420
1420
  decPos?: string;
1421
1421
 
1422
1422
  status?: string;
1423
1423
 
1424
1424
  symClassName?: string;
1425
1425
 
1426
1426
  intClassName?: string;
1427
1427
 
1428
1428
  decClassName?: string;
1429
1429
 
1430
1430
  noPriceClassName?: string;
1431
1431
 
1432
1432
  decToIntegerState?: boolean;
1433
1433
 
1434
1434
  isPlusPrice?: boolean;
1435
1435
 
1436
1436
  isSamsPrice?: boolean;
1437
1437
 
1438
1438
  isSfpPrice?: boolean;
1439
1439
 
1440
1440
  isMemberPrice?: boolean;
1441
1441
 
1442
1442
  memberPriceIcon?: string;
1443
1443
 
1444
1444
  isShowPriceLabel?: boolean;
1445
1445
 
1446
1446
  priceLabelText?: string;
1447
1447
 
1448
1448
  priceTextColor;
1449
1449
 
1450
1450
  useFontV2?: boolean;
1451
1451
  useFontV2Bold?: boolean;
1452
1452
  }
1453
1453
  export interface rankSkuItem {
1454
1454
  skuId: string;
1455
1455
  wareId: string;
1456
1456
  buyedStr?: string;
1457
1457
  imgPath: string;
1458
1458
  name: string;
1459
1459
  wareName: string;
1460
1460
  commentcount?: string;
1461
1461
  favRateDto?: {
1462
1462
  commentCountStr: string;
1463
1463
  };
1464
1464
  }
1465
1465
  export interface rankItem {
1466
1466
  title: string;
1467
1467
  rankId?: number;
1468
1468
  rankSkuInfoVoList: rankSkuItem[];
1469
1469
  }
1470
1470
  export interface MiniLoadFloorListRef {
1471
1471
  index: number;
1472
1472
  itemNum: number;
1473
1473
  list: (floorItemData | any)[];
1474
1474
  loadList: (floorItemData | any)[];
1475
1475
  max: number;
1476
1476
  }
1477
1477
  export interface HotStyleConfig {
1478
1478
  wHotMobile: number;
1479
1479
  hHotMobile: number;
1480
1480
  xHotMobile: number;
1481
1481
  yHotMobile: number;
1482
1482
  }
1483
1483
  export interface HotData {
1484
1484
  data?: HotDataItem[];
1485
1485
  hotAreaHeight?: number;
1486
1486
  }
1487
1487
  export interface HotDataItem {
1488
1488
  coordinate: {
1489
1489
  h: number;
1490
1490
  w: number;
1491
1491
  x: number;
1492
1492
  y: number;
1493
1493
  };
1494
1494
  detail: {
1495
1495
  configDataType: number;
1496
1496
  configDataValue: any;
1497
1497
  };
1498
1498
  dataSourceType: number;
1499
1499
  jdPrice?: boolean;
1500
1500
  prefix: string;
1501
1501
  price: string;
1502
1502
  priceStyleConfig: any;
1503
1503
  showSkuPrice: number;
1504
1504
  priceInfoDetail?: {
1505
1505
  jdPrice: string;
1506
1506
  };
1507
1507
  }
1508
1508
  export interface CountDownProps {
1509
1509
  residueTime: number;
1510
1510
  serverTime: number;
1511
1511
  className?: string;
1512
1512
  startTime: number;
1513
1513
  endTime: number;
1514
1514
  info?: any;
1515
1515
  startTitleText?: string | null;
1516
1516
  endTitleText?: string | null;
1517
1517
  fromEndText?: string | null;
1518
1518
  startTimeEndCallBack?: functionType | null;
1519
1519
  endTimeEndCallBack?: functionType | null;
1520
1520
  timeNumSpaceTextState: boolean;
1521
1521
  showDaytimeNumSpaceTextState?: boolean;
1522
1522
  onlyShowDayState?: boolean;
1523
1523
  onlyShowDaySpaceTextState?: boolean;
1524
1524
  showDayState?: boolean;
1525
1525
  showDayToSecondState?: boolean;
1526
1526
  showHourState: boolean;
1527
1527
  showMinuteState: boolean;
1528
1528
  showSecondState: boolean;
1529
1529
  getDaysToHours: boolean;
1530
1530
  fromStartText: null | string;
1531
1531
  numTextColor: null | string;
1532
1532
  textColor: null | string;
1533
1533
  numTextBgColor: null | string;
1534
1534
  useFontV2: boolean;
1535
1535
  useFontV2Bold: boolean;
1536
1536
  }
1537
1537
  export interface CountDownTimerRef {
1538
1538
  type: string;
1539
1539
  text: string | null | undefined;
1540
1540
  time?: number | null;
1541
1541
  endTime?: number | null;
1542
1542
  }
1543
1543
  export interface FilterBarSearchChangeType {
1544
1544
  id?: string;
1545
1545
  inStock: boolean;
1546
1546
  inStockText: string;
1547
1547
  showJdDeliver: boolean;
1548
1548
  showJdDeliverText: string;
1549
1549
  searchDataSetState: boolean;
1550
1550
  }
1551
1551
  export interface MultipleFilterListItem {
1552
1552
  id?: string;
1553
1553
  type: number;
1554
1554
  value: string;
1555
1555
  checked: boolean;
1556
1556
  text: string;
1557
1557
  }
1558
1558
  export interface FilterBarProps {
1559
1559
  className?: string;
1560
1560
  showType?: string | number;
1561
1561
  defaultSelected?: number;
1562
1562
  isTriggerFilterChangeOnInit?: boolean;
1563
1563
  onFilterChange?: functionType | null;
1564
1564
  onShowTypeChange?: functionType | null;
1565
1565
  instockSelected?: boolean;
1566
1566
  pageId?: undefined | string;
1567
1567
  searchDescription?: undefined | string;
1568
1568
  searchChangeType: FilterBarSearchChangeType;
1569
1569
  placeholderDomRef?: HTMLElement | null;
1570
1570
  isFixed?: boolean;
1571
1571
  searchTab?: any;
1572
1572
  useNewMultiple?: boolean;
1573
1573
  }
1574
1574
  export interface FilterRadioItemProps {
1575
1575
  filterType?: number;
1576
1576
  label: string;
1577
1577
  className: string;
1578
1578
  icon: boolean;
1579
1579
  onToggleChange?: functionType;
1580
1580
  onSelected: functionType;
1581
1581
  selected: boolean;
1582
1582
  type: string;
1583
1583
  switchOn: boolean;
1584
1584
  }
1585
1585
  export interface ShopNavBarScrollXOffsetRef {
1586
1586
  [key: number]: number;
1587
1587
  tabListPosResList?: number;
1588
1588
  }
1589
1589
  export interface SearchHotKeyWord {
1590
1590
  [key: string]: string;
1591
1591
  }
1592
1592
  export interface ProductWithFilterProps {
1593
1593
  className?: string;
1594
1594
  listClassName?: string;
1595
1595
  gridListClassName?: string;
1596
1596
  filterBarEnabled?: boolean;
1597
1597
  height: number;
1598
1598
  minHeight: number;
1599
1599
  keyWord: string;
1600
1600
  defaultKeyWord: string;
1601
1601
  totalHeight: number;
1602
1602
  defaultShowType?: undefined | string | number;
1603
1603
  showType?: undefined | string | number;
1604
1604
  showTypeChangeDisable: boolean;
1605
1605
  searchType: string | number;
1606
1606
  loadState: string | number;
1607
1607
  skuId?: string | number;
1608
1608
  cateId?: undefined | string;
1609
1609
  pageId?: undefined | string;
1610
1610
  activityId?: undefined | string;
1611
1611
  activityType?: undefined | string;
1612
1612
  searchDescription?: undefined | string;
1613
1613
  useOutsideScrollView: boolean;
1614
1614
  extraParam: object;
1615
1615
  pageJumpParam?: object;
1616
1616
  enableEventUpdate?: boolean;
1617
1617
  showFilterBarSecondary?: boolean;
1618
1618
  showEmptyFloorTip?: boolean;
1619
1619
  displayHeight: number;
1620
1620
  toTop: boolean;
1621
1621
  tabContentShowState?: boolean;
1622
1622
  scrollToLowerState?: boolean;
1623
1623
  changeScrollToLowerStateFn?: functionType;
1624
1624
  changeProductWithFilterStateFn?: functionType;
1625
1625
  fetchProductsFun?: functionType;
1626
1626
  }
1627
1627
  export interface ShopMenuListItem {
1628
1628
  menuId: number;
1629
1629
  menuName: string;
1630
1630
  menuType?: string;
1631
1631
  icon?: string;
1632
1632
  text?: string;
1633
1633
  config?: object;
1634
1634
  subMenu?: any[];
1635
1635
  }
1636
1636
  export interface VipShopMenuListItem {
1637
1637
  menuId: number | string;
1638
1638
  menuName: string;
1639
1639
  iconAfter: string;
1640
1640
  iconBefore: string;
1641
1641
  jumpUrl: string;
1642
1642
  visible: boolean;
1643
1643
  }
1644
1644
  export interface DialogConfigBackFn {
1645
1645
  onClose?: functionType;
1646
1646
  onBeforeConfirm?: functionType;
1647
1647
  onConfirm?: functionType;
1648
1648
  onBackground?: functionType;
1649
1649
  onHide?: functionType;
1650
1650
  onInit?: functionType;
1651
1651
  onFormSubmit?: functionType;
1652
1652
  onFormReset?: functionType;
1653
1653
  }
1654
1654
  export interface DialogConfigProps extends DialogConfigBackFn {
1655
1655
  type: number;
1656
1656
  className?: string;
1657
1657
  style?: React.CSSProperties;
1658
1658
  title?: string;
1659
1659
  message?: string | null;
1660
1660
  closeBtnText?: string;
1661
1661
  closeBtnHideState?: boolean;
1662
1662
  confirmBtnText?: string;
1663
1663
  confirmBtnHideState?: boolean;
1664
1664
  hasFooter?: boolean;
1665
1665
  bodyNode?: React.ReactNode | null;
1666
1666
  footerNode?: React.ReactNode;
1667
1667
  show?: boolean;
1668
1668
  isCustom?: boolean;
1669
1669
  maskCloseable?: boolean;
1670
1670
  isFormDialog?: boolean;
1671
1671
  dialogTransition?: string;
1672
1672
  maskTransition?: string;
1673
1673
  usePortal?: boolean;
1674
1674
  forbiddenBgScrollState?: boolean;
1675
1675
  }
1676
1676
  export interface ActivityTabFullData {
1677
1677
  sortOrderFloorMapList: string[];
1678
1678
  serverTimeRes: number;
1679
1679
  loadingDataFinishState: boolean;
1680
1680
  secKillPage?: {
1681
1681
  [key: string]: string;
1682
1682
  };
1683
1683
  gwredPage?: {
1684
1684
  [key: string]: string;
1685
1685
  };
1686
1686
  orderFloorMap?: {
1687
1687
  [key: string]: string;
1688
1688
  };
1689
1689
  promotionFloorInfo?: {
1690
1690
  [key: string]: string;
1691
1691
  };
1692
1692
  shopSalePage?: {
1693
1693
  [key: string]: string;
1694
1694
  };
1695
1695
  signInfo?: {
1696
1696
  [key: string]: string;
1697
1697
  };
1698
1698
  speciSecKillPage?: {
1699
1699
  [key: string]: string;
1700
1700
  };
1701
1701
  couponInfos?: any[];
1702
1702
  }
1703
1703
  export interface PromotionTabData {
1704
1704
  loadingDataFinishState: boolean;
1705
1705
  hasGoodsFeeds: boolean;
1706
1706
  list: ContainerItemData[];
1707
1707
  }
1708
1708
  export interface NewWareInfoData {
1709
1709
  hasReady: boolean;
1710
1710
  hasNext: boolean;
1711
1711
  pageIdx: number;
1712
1712
  newWareList: {
1713
1713
  date: number;
1714
1714
  title: string;
1715
1715
  wareList: any[];
1716
1716
  }[];
1717
1717
  totalPage: number;
1718
1718
  totalCount: number;
1719
1719
  magicTabs: any[];
1720
1720
  videoTabs: any[];
1721
1721
  extend: null | {
1722
1722
  background: string;
1723
1723
  backgroundType: null;
1724
1724
  newProductList: any[];
1725
1725
  newProductSubTitle: string;
1726
1726
  };
1727
1727
  serialNew: {
1728
1728
  compName: string;
1729
1729
  firstText: string;
1730
1730
  headerImg: string;
1731
1731
  secText: string;
1732
1732
  serialUrl: string;
1733
1733
  skuInfoList: any[];
1734
1734
  }[];
1735
1735
  preferredGoods: null | {
1736
1736
  headerTitle: string;
1737
1737
  headerTagImg: null;
1738
1738
  itemList: any[];
1739
1739
  };
1740
1740
  }
1741
1741
  export interface ActivitySignInfo {
1742
1742
  source: number;
1743
1743
  isvUrl?: string;
1744
1744
  isvText?: string;
1745
1745
  isvImgUrl?: string;
1746
1746
  signImageUrl?: string;
1747
1747
  }
1748
1748
  export interface ShopLotteryInfo {
1749
1749
  signInfo: {
1750
1750
  activityRuleType: number;
1751
1751
  continueDay: number;
1752
1752
  isSign: number;
1753
1753
  signTotal: number;
1754
1754
  };
1755
1755
  winInfo: string[];
1756
1756
  tabNames: string[];
1757
1757
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
1758
1758
  products?: ShopLotteryProductItem[];
1759
1759
  }
1760
1760
  export interface ShopLotteryTabMenuListItem {
1761
1761
  id: number;
1762
1762
  name: string;
1763
1763
  type: string;
1764
1764
  }
1765
1765
  export interface ShopLotteryProductItem {
1766
1766
  wareId: string;
1767
1767
  imgPath: string;
1768
1768
  wareName: string;
1769
1769
  jdPrice: string;
1770
1770
  promotion: boolean;
1771
1771
  flashSale: number;
1772
1772
  status: number;
1773
1773
  isUnderCarriage: number;
1774
1774
  stock: number;
1775
1775
  addCart: boolean;
1776
1776
  addCartAbTest: boolean;
1777
1777
  preSale: boolean;
1778
1778
  emptyJDPrice: boolean;
1779
1779
  emptyPrice: boolean;
1780
1780
  }
1781
1781
  export interface ShopCouponListItem {
1782
1782
  couponId: number;
1783
1783
  type: number;
1784
1784
  couponName?: string;
1785
1785
  name?: string;
1786
1786
  beginTime: string;
1787
1787
  endTime: string;
1788
1788
  discount: number;
1789
1789
  quota: number;
1790
1790
  style: number;
1791
1791
  crmCoupon: boolean;
1792
1792
  applicability: boolean;
1793
1793
  act: string;
1794
1794
  bindType: number;
1795
1795
  isfansCoupon: boolean;
1796
1796
  couponSource: string;
1797
1797
  couponSourceDetail: string;
1798
1798
  channel: string;
1799
1799
  subChannel: string;
1800
1800
  couponStatus?: number;
1801
1801
  channelDetail?: string;
1802
1802
  minDiscount?: string | number;
1803
1803
  maxDiscount?: string | number;
1804
1804
  biinfo?: string;
1805
1805
  skus?: string;
1806
1806
  foldSpread?: boolean;
1807
1807
  couponFaceDescription?: string;
1808
1808
  appid?: string;
1809
1809
  platformid?: string;
1810
1810
  }
1811
1811
  export interface ShopProWaresListItem {
1812
1812
  wareId: number;
1813
1813
  wareImage: string;
1814
1814
  wareName: string;
1815
1815
  jdPrice: string;
1816
1816
  lineationPrice?: string;
1817
1817
  isPreSale: boolean;
1818
1818
  purchasePrice?: string;
1819
1819
  }
1820
1820
  export interface ShopPromotionWaresListInfo {
1821
1821
  hasNext: boolean;
1822
1822
  pageIdx: number;
1823
1823
  pageSize: number;
1824
1824
  skuList: ShopProWaresListItem[];
1825
1825
  totalSize: number;
1826
1826
  activityIntensity?: string;
1827
1827
  }
1828
1828
  export interface GuideInfoWaresListItem {
1829
1829
  wareId: number | string;
1830
1830
  imgPath: string;
1831
1831
  wareName: string;
1832
1832
  jdPrice: string;
1833
1833
  priceInfo?: PriceInfo;
1834
1834
  spPrice?: string;
1835
1835
  ppPrice?: string;
1836
1836
  }
1837
1837
  export interface GuideInfoWaresListInfo {
1838
1838
  hasNext: boolean;
1839
1839
  pageIdx: number;
1840
1840
  pageSize: number;
1841
1841
  wareList: GuideInfoWaresListItem[];
1842
1842
  totalSize: number;
1843
1843
  guideText: string;
1844
1844
  standbyText: string;
1845
1845
  testId: string;
1846
1846
  totalCount: number;
1847
1847
  totalPage: number;
1848
1848
  }
1849
1849
  export interface ShopVideosListItem {
1850
1850
  cmtid: string;
1851
1851
  content: string;
1852
1852
  days: string;
1853
1853
  height: string;
1854
1854
  openApp: string;
1855
1855
  playUrl: string;
1856
1856
  projectid: string;
1857
1857
  skuId: string;
1858
1858
  skuPic: string;
1859
1859
  videoCoverUrl: string;
1860
1860
  videoNum: string;
1861
1861
  width: string;
1862
1862
  }
1863
1863
  export interface ShopVideosListInfo {
1864
1864
  hasNext: boolean;
1865
1865
  pageIdx: number;
1866
1866
  pageSize: number;
1867
1867
  videoList: ShopVideosListItem[];
1868
1868
  videoEvenList: ShopVideosListItem[];
1869
1869
  videoOddList: ShopVideosListItem[];
1870
1870
  totalPage: number;
1871
1871
  videoItemWh: number;
1872
1872
  }
1873
1873
  export interface ShopMoreGoodsListInfo {
1874
1874
  hasNext: boolean;
1875
1875
  pageIdx: number;
1876
1876
  pageSize: number;
1877
1877
  wareList: ShopMoreGoodsListItem[];
1878
1878
  totalPage: number;
1879
1879
  }
1880
1880
  export interface ShopMoreGoodsListItem {
1881
1881
  wareId: number;
1882
1882
  imgPath: string;
1883
1883
  wareName: string;
1884
1884
  skVersionInfo: {};
1885
1885
  shareInfo: {
1886
1886
  title: string;
1887
1887
  content: string;
1888
1888
  url: string;
1889
1889
  img: string;
1890
1890
  };
1891
1891
  }
1892
1892
  export interface ShopFastShoppingSkuListItem {
1893
1893
  actId: number;
1894
1894
  displayTime: string;
1895
1895
  endTime: string;
1896
1896
  jgys: string;
1897
1897
  jdPrice?: string;
1898
1898
  redPrice: string;
1899
1899
  skuId: number;
1900
1900
  skuImg: string;
1901
1901
  skuName: string;
1902
1902
  soldOut: number;
1903
1903
  start: string | number;
1904
1904
  startTime: string;
1905
1905
  }
1906
1906
  export interface ShopFastShoppingSkuListInfo {
1907
1907
  nextPage: boolean;
1908
1908
  data: ShopFastShoppingSkuListItem[];
1909
1909
  total: number;
1910
1910
  serverTime?: number;
1911
1911
  displayTime?: string;
1912
1912
  startTime?: string;
1913
1913
  endTime?: string;
1914
1914
  }
1915
1915
  export interface ShopSpeciSecKillSkuListItem {
1916
1916
  displayTime: string;
1917
1917
  endTime: string;
1918
1918
  jdPrice?: string;
1919
1919
  miaoShaPrice: string;
1920
1920
  skuId: number;
1921
1921
  imageUrl: string;
1922
1922
  skuName: string;
1923
1923
  discountReason: string;
1924
1924
  operateWord: string;
1925
1925
  promotionId: string;
1926
1926
  seckillNum: string;
1927
1927
  soldOut: number;
1928
1928
  source: number;
1929
1929
  seckillType: number;
1930
1930
  start: string | number;
1931
1931
  startTime: string;
1932
1932
  }
1933
1933
  export interface ShopSpeciSecKillSkuListInfo {
1934
1934
  nextPage: boolean;
1935
1935
  data: ShopSpeciSecKillSkuListItem[];
1936
1936
  total: number;
1937
1937
  }
1938
1938
  export interface CategoryList {
1939
1939
  showType: number;
1940
1940
  insurancePriceSuffix?: string;
1941
1941
  hasCateList: boolean;
1942
1942
  wareInfoList: any;
1943
1943
  }
1944
1944
  export interface DecorationDataList {
1945
1945
  parentId: string;
1946
1946
  navigationDecorationData: any;
1947
1947
  index: number;
1948
1948
  }
1949
1949
  export interface ShopSignActivityRuleInfo {
1950
1950
  data: {
1951
1951
  activityDescription: string;
1952
1952
  activityTime: string;
1953
1953
  awardName: string;
1954
1954
  awardDescription: string[];
1955
1955
  } | null;
1956
1956
  loadState: boolean;
1957
1957
  }
1958
1958
  export interface ShopSignPrizeListItem {
1959
1959
  type: number;
1960
1960
  loadState: boolean;
1961
1961
  activeState: boolean;
1962
1962
  list: any[];
1963
1963
  expireList: any[];
1964
1964
  name: string;
1965
1965
  }
1966
1966
  export interface ShopSignPrizeListInfo {
1967
1967
  loadState: boolean;
1968
1968
  signPrizeList: ShopSignPrizeListItem[] | any[];
1969
1969
  }
1970
1970
  export interface VipShopHeader {
1971
1971
  current?: {
1972
1972
  className?: string;
1973
1973
  } | null;
1974
1974
  [key: string]: any;
1975
1975
  }
1976
1976
  export interface BuyerShowTabListInfoData {
1977
1977
  finishState: boolean;
1978
1978
  loadingDataFinishState: boolean;
1979
1979
  list: any[];
1980
1980
  evenList: any[];
1981
1981
  oddList: any[];
1982
1982
  }
1983
1983
  interface BuyerShowInfoImageItem {
1984
1984
  largePicURL: string;
1985
1985
  mediaType: string;
1986
1986
  picHeight: string;
1987
1987
  picURL: string;
1988
1988
  picWidth: string;
1989
1989
  }
1990
1990
  export interface BuyerShowInfoData {
1991
1991
  category: string;
1992
1992
  commentData: string;
1993
1993
  commentId: string;
1994
1994
  commentType: string;
1995
1995
  createdDate: string;
1996
1996
  guid: string;
1997
1997
  hadPraise: boolean;
1998
1998
  imageInfoList: BuyerShowInfoImageItem[];
1999
1999
  oldCommentId: string;
2000
2000
  praiseCnt: string;
2001
2001
  praiseCntNum: number;
2002
2002
  praiseUsable: boolean;
2003
2003
  resourceType: number;
2004
2004
  skuImgUrl: string;
2005
2005
  skuName: string;
2006
2006
  skuPrice: string;
2007
2007
  source: string;
2008
2008
  userImgURL: string;
2009
2009
  userLevel: null | string;
2010
2010
  userNickName: string;
2011
2011
  userPin: null | string;
2012
2012
  wareId: string;
2013
2013
  detailImageLoadState?: boolean;
2014
2014
  }
2015
2015
  export interface RecommendShopGuidListItem {
2016
2016
  followed: boolean;
2017
2017
  followerCount: number;
2018
2018
  longLogoStatus: number;
2019
2019
  recommendGoods: {
2020
2020
  imgUrl: string;
2021
2021
  wareId: string;
2022
2022
  wareName: string;
2023
2023
  }[];
2024
2024
  shopBanner: string;
2025
2025
  shopId: string;
2026
2026
  shopLogoImg: string;
2027
2027
  shopName: string;
2028
2028
  venderType: number;
2029
2029
  vendorId: string;
2030
2030
  }
2031
2031
 
2032
2032
  export interface InOrOutViewObserverProps {
2033
2033
  children?: React.ReactElement;
2034
2034
  className?: string;
2035
2035
 
2036
2036
  style?: object;
2037
2037
 
2038
2038
  threshold?: number;
2039
2039
 
2040
2040
  inViewCallback?: functionType;
2041
2041
 
2042
2042
  outViewCallback?: functionType;
2043
2043
  }
2044
2044
 
2045
2045
  export interface CustomVideoProps {
2046
2046
  isSystemVideo?: boolean;
2047
2047
  id?: string;
2048
2048
  className?: string;
2049
2049
 
2050
2050
  style?: object;
2051
2051
 
2052
2052
  videoStyle?: object;
2053
2053
 
2054
2054
  src: string;
2055
2055
 
2056
2056
  width?: string | number;
2057
2057
 
2058
2058
  height?: string | number;
2059
2059
 
2060
2060
  poster?: string;
2061
2061
 
2062
2062
  controls?: boolean;
2063
2063
 
2064
2064
  autoplay?: boolean;
2065
2065
 
2066
2066
  mockAutoplay?: boolean;
2067
2067
 
2068
2068
  loop?: boolean;
2069
2069
 
2070
2070
  showMuteBtn?: boolean;
2071
2071
 
2072
2072
  muteButtonPostion?: keyof MuteButtonPostion;
2073
2073
 
2074
2074
  muteBtnPicSrcObj?: muteBtnPicObj;
2075
2075
 
2076
2076
  muteBtnClassName?: string;
2077
2077
 
2078
2078
  muteBtnStyle?: object;
2079
2079
 
2080
2080
  showFullscreenBtn?: boolean;
2081
2081
 
2082
2082
  showCenterPlayBtn?: boolean;
2083
2083
 
2084
2084
  objectFit?: keyof ObjectFit;
2085
2085
 
2086
2086
  threshold?: number;
2087
2087
 
2088
2088
  onPlayCallback?: any;
2089
2089
 
2090
2090
  onPauseCallback?: any;
2091
2091
 
2092
2092
  onVideoApiCall?: functionType;
2093
2093
 
2094
2094
  inViewCallback?: functionType;
2095
2095
 
2096
2096
  outViewCallback?: functionType;
2097
2097
  floorData: floorItemData;
2098
2098
  }
2099
2099
 
2100
2100
  interface muteBtnPicObj {
2101
2101
  IS_MUTED: string;
2102
2102
  NOT_MUTED: string;
2103
2103
  }
2104
2104
 
2105
2105
  interface MuteButtonPostion {
2106
2106
  topLeft;
2107
2107
  topRight;
2108
2108
  bottomLeft;
2109
2109
  bottomRight;
2110
2110
  }
2111
2111
 
2112
2112
  interface ObjectFit {
2113
2113
 
2114
2114
  contain;
2115
2115
 
2116
2116
  fill;
2117
2117
 
2118
2118
  cover;
2119
2119
  }
2120
2120
  interface SkuItem {
2121
2121
  id: number;
2122
2122
  name: string;
2123
2123
  imgMain: string;
2124
2124
  suggested: number;
2125
2125
  rankUrl: string;
2126
2126
  }
2127
2127
  export interface RankV1Item {
2128
2128
  id: number;
2129
2129
  type: number;
2130
2130
  rankUrl: string;
2131
2131
  title: string;
2132
2132
  hotPoint: string;
2133
2133
  skuCount: number;
2134
2134
  skuList: SkuItem[];
2135
2135
  }
2136
2136
  interface PriceInfo {
2137
2137
  jdPrice: string;
2138
2138
  finalPrice: string;
2139
2139
  priceText: string;
2140
2140
  priceType: number;
2141
2141
  hiddenPrice: boolean;
2142
2142
  isAuctionWare: boolean;
2143
2143
  isPinGouWare: boolean;
2144
2144
  showPromotionList: boolean;
2145
2145
  hitUserIdentity: boolean;
2146
2146
  }
2147
2147
  interface SkVersionInfo {
2148
2148
  priceInfo: PriceInfo;
2149
2149
  }
2150
2150
  export interface ProductItem {
2151
2151
  id: number;
2152
2152
  name: string;
2153
2153
  imgMain: string;
2154
2154
  priceJD: string;
2155
2155
  sellPoint: string;
2156
2156
  sellCount: number;
2157
2157
  sellCountDesc: string;
2158
2158
  rankDesc: string;
2159
2159
  suggested: number;
2160
2160
  skVersionInfo: SkVersionInfo;
2161
2161
  }