@conecli/cone-render 0.10.1-shop-beta.30 → 0.10.1-shop-beta.31

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