@conecli/cone-render 0.10.1-shop-beta.53 → 0.10.1-shop-beta.55

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