@conecli/cone-render 0.10.1-shop3.97 → 0.10.1-shop3.98

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