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

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