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

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
  }
472
471
  export interface CountDownTimerRef {
473
472
  type: string;
474
473
  text: string | null | undefined;
475
474
  time?: number | null;
476
475
  endTime?: number | null;
477
476
  }
478
477
  export interface FilterBarSearchChangeType {
479
478
  id?: string;
480
479
  inStock: boolean;
481
480
  inStockText: string;
482
481
  showJdDeliver: boolean;
483
482
  showJdDeliverText: string;
484
483
  searchDataSetState: boolean;
485
484
  }
486
485
  export interface MultipleFilterListItem {
487
486
  id?: string;
488
487
  type: number;
489
488
  value: string;
490
489
  checked: boolean;
491
490
  text: string;
492
491
  }
493
492
  export interface FilterBarProps {
494
493
  className?: string;
495
494
  showType?: string | number;
496
495
  defaultSelected?: number;
497
496
  isTriggerFilterChangeOnInit?: boolean;
498
497
  onFilterChange?: functionType | null;
499
498
  onShowTypeChange?: functionType | null;
500
499
  instockSelected?: boolean;
501
500
  pageId?: undefined | string;
502
501
  searchDescription?: undefined | string;
503
502
  searchChangeType: FilterBarSearchChangeType;
504
503
  placeholderDomRef?: HTMLElement | null;
505
504
  isFixed?: boolean;
506
505
  searchTab?: any;
507
506
  useNewMultiple?: boolean;
508
507
  }
509
508
  export interface FilterRadioItemProps {
510
509
  filterType?: number;
511
510
  label: string;
512
511
  className: string;
513
512
  icon: boolean;
514
513
  onToggleChange?: functionType;
515
514
  onSelected: functionType;
516
515
  selected: boolean;
517
516
  type: string;
518
517
  switchOn: boolean;
519
518
  }
520
519
  export interface ShopNavBarScrollXOffsetRef {
521
520
  [key: number]: number;
522
521
  tabListPosResList?: number;
523
522
  }
524
523
  export interface SearchHotKeyWord {
525
524
  [key: string]: string;
526
525
  }
527
526
  export interface ProductWithFilterProps {
528
527
  className?: string;
529
528
  listClassName?: string;
530
529
  gridListClassName?: string;
531
530
  filterBarEnabled?: boolean;
532
531
  height: number;
533
532
  minHeight: number;
534
533
  keyWord: string;
535
534
  defaultKeyWord: string;
536
535
  totalHeight: number;
537
536
  defaultShowType?: undefined | string | number;
538
537
  showType?: undefined | string | number;
539
538
  showTypeChangeDisable: boolean;
540
539
  searchType: string | number;
541
540
  loadState: string | number;
542
541
  skuId?: string | number;
543
542
  cateId?: undefined | string;
544
543
  pageId?: undefined | string;
545
544
  activityId?: undefined | string;
546
545
  activityType?: undefined | string;
547
546
  searchDescription?: undefined | string;
548
547
  useOutsideScrollView: boolean;
549
548
  extraParam: object;
550
549
  pageJumpParam?: object;
551
550
  enableEventUpdate?: boolean;
552
551
  showFilterBarSecondary?: boolean;
553
552
  showEmptyFloorTip?: boolean;
554
553
  displayHeight: number;
555
554
  toTop: boolean;
556
555
  tabContentShowState?: boolean;
557
556
  scrollToLowerState?: boolean;
558
557
  changeScrollToLowerStateFn?: functionType;
559
558
  changeProductWithFilterStateFn?: functionType;
560
559
  fetchProductsFun?: functionType;
561
560
  }
562
561
  export interface ShopMenuListItem {
563
562
  menuId: number;
564
563
  menuName: string;
565
564
  menuType?: string;
566
565
  icon?: string;
567
566
  text?: string;
568
567
  config?: object;
569
568
  subMenu?: any[];
570
569
  }
571
570
  export interface VipShopMenuListItem {
572
571
  menuId: number | string;
573
572
  menuName: string;
574
573
  iconAfter: string;
575
574
  iconBefore: string;
576
575
  jumpUrl: string;
577
576
  visible: boolean;
578
577
  }
579
578
  export interface DialogConfigBackFn {
580
579
  onClose?: functionType;
581
580
  onBeforeConfirm?: functionType;
582
581
  onConfirm?: functionType;
583
582
  onBackground?: functionType;
584
583
  onHide?: functionType;
585
584
  onInit?: functionType;
586
585
  onFormSubmit?: functionType;
587
586
  onFormReset?: functionType;
588
587
  }
589
588
  export interface DialogConfigProps extends DialogConfigBackFn {
590
589
  type: number;
591
590
  className?: string;
592
591
  style?: React.CSSProperties;
593
592
  title?: string;
594
593
  message?: string | null;
595
594
  closeBtnText?: string;
596
595
  closeBtnHideState?: boolean;
597
596
  confirmBtnText?: string;
598
597
  confirmBtnHideState?: boolean;
599
598
  hasFooter?: boolean;
600
599
  bodyNode?: React.ReactNode | null;
601
600
  footerNode?: React.ReactNode;
602
601
  show?: boolean;
603
602
  isCustom?: boolean;
604
603
  maskCloseable?: boolean;
605
604
  isFormDialog?: boolean;
606
605
  dialogTransition?: string;
607
606
  maskTransition?: string;
608
607
  usePortal?: boolean;
609
608
  forbiddenBgScrollState?: boolean;
610
609
  }
611
610
  export interface ActivityTabFullData {
612
611
  sortOrderFloorMapList: string[];
613
612
  serverTimeRes: number;
614
613
  loadingDataFinishState: boolean;
615
614
  secKillPage?: {
616
615
  [key: string]: string;
617
616
  };
618
617
  gwredPage?: {
619
618
  [key: string]: string;
620
619
  };
621
620
  orderFloorMap?: {
622
621
  [key: string]: string;
623
622
  };
624
623
  promotionFloorInfo?: {
625
624
  [key: string]: string;
626
625
  };
627
626
  shopSalePage?: {
628
627
  [key: string]: string;
629
628
  };
630
629
  signInfo?: {
631
630
  [key: string]: string;
632
631
  };
633
632
  speciSecKillPage?: {
634
633
  [key: string]: string;
635
634
  };
636
635
  couponInfos?: any[];
637
636
  }
638
637
  export interface PromotionTabData {
639
638
  loadingDataFinishState: boolean;
640
639
  hasGoodsFeeds: boolean;
641
640
  list: ContainerItemData[];
642
641
  }
643
642
  export interface NewWareInfoData {
644
643
  hasReady: boolean;
645
644
  hasNext: boolean;
646
645
  pageIdx: number;
647
646
  newWareList: {
648
647
  date: number;
649
648
  title: string;
650
649
  wareList: any[];
651
650
  }[];
652
651
  totalPage: number;
653
652
  totalCount: number;
654
653
  magicTabs: any[];
655
654
  videoTabs: any[];
656
655
  extend: null | {
657
656
  background: string;
658
657
  backgroundType: null;
659
658
  newProductList: any[];
660
659
  newProductSubTitle: string;
661
660
  };
662
661
  serialNew: {
663
662
  compName: string;
664
663
  firstText: string;
665
664
  headerImg: string;
666
665
  secText: string;
667
666
  serialUrl: string;
668
667
  skuInfoList: any[];
669
668
  }[];
670
669
  preferredGoods: null | {
671
670
  headerTitle: string;
672
671
  headerTagImg: null;
673
672
  itemList: any[];
674
673
  };
675
674
  }
676
675
  export interface ActivitySignInfo {
677
676
  source: number;
678
677
  isvUrl?: string;
679
678
  isvText?: string;
680
679
  isvImgUrl?: string;
681
680
  signImageUrl?: string;
682
681
  }
683
682
  export interface ShopLotteryInfo {
684
683
  signInfo: {
685
684
  activityRuleType: number;
686
685
  continueDay: number;
687
686
  isSign: number;
688
687
  signTotal: number;
689
688
  };
690
689
  winInfo: string[];
691
690
  tabNames: string[];
692
691
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
693
692
  products?: ShopLotteryProductItem[];
694
693
  }
695
694
  export interface ShopLotteryTabMenuListItem {
696
695
  id: number;
697
696
  name: string;
698
697
  type: string;
699
698
  }
700
699
  export interface ShopLotteryProductItem {
701
700
  wareId: string;
702
701
  imgPath: string;
703
702
  wareName: string;
704
703
  jdPrice: string;
705
704
  promotion: boolean;
706
705
  flashSale: number;
707
706
  status: number;
708
707
  isUnderCarriage: number;
709
708
  stock: number;
710
709
  addCart: boolean;
711
710
  addCartAbTest: boolean;
712
711
  preSale: boolean;
713
712
  emptyJDPrice: boolean;
714
713
  emptyPrice: boolean;
715
714
  }
716
715
  export interface ShopCouponListItem {
717
716
  couponId: number;
718
717
  type: number;
719
718
  couponName?: string;
720
719
  name?: string;
721
720
  beginTime: string;
722
721
  endTime: string;
723
722
  discount: number;
724
723
  quota: number;
725
724
  style: number;
726
725
  crmCoupon: boolean;
727
726
  applicability: boolean;
728
727
  act: string;
729
728
  bindType: number;
730
729
  isfansCoupon: boolean;
731
730
  couponSource: string;
732
731
  couponSourceDetail: string;
733
732
  channel: string;
734
733
  subChannel: string;
735
734
  couponStatus?: number;
736
735
  channelDetail?: string;
737
736
  minDiscount?: string | number;
738
737
  maxDiscount?: string | number;
739
738
  biinfo?: string;
740
739
  skus?: string;
741
740
  foldSpread?: boolean;
742
741
  couponFaceDescription?: string;
743
742
  appid?: string;
744
743
  platformid?: string;
745
744
  }
746
745
  export interface ShopProWaresListItem {
747
746
  wareId: number;
748
747
  wareImage: string;
749
748
  wareName: string;
750
749
  jdPrice: string;
751
750
  lineationPrice?: string;
752
751
  isPreSale: boolean;
753
752
  purchasePrice?: string;
754
753
  }
755
754
  export interface ShopPromotionWaresListInfo {
756
755
  hasNext: boolean;
757
756
  pageIdx: number;
758
757
  pageSize: number;
759
758
  skuList: ShopProWaresListItem[];
760
759
  totalSize: number;
761
760
  activityIntensity?: string;
762
761
  }
763
762
  export interface GuideInfoWaresListItem {
764
763
  wareId: number | string;
765
764
  imgPath: string;
766
765
  wareName: string;
767
766
  jdPrice: string;
768
767
  priceInfo?: PriceInfo;
769
768
  spPrice?: string;
770
769
  ppPrice?: string;
771
770
  }
772
771
  export interface GuideInfoWaresListInfo {
773
772
  hasNext: boolean;
774
773
  pageIdx: number;
775
774
  pageSize: number;
776
775
  wareList: GuideInfoWaresListItem[];
777
776
  totalSize: number;
778
777
  guideText: string;
779
778
  standbyText: string;
780
779
  testId: string;
781
780
  totalCount: number;
782
781
  totalPage: number;
783
782
  }
784
783
  export interface ShopVideosListItem {
785
784
  cmtid: string;
786
785
  content: string;
787
786
  days: string;
788
787
  height: string;
789
788
  openApp: string;
790
789
  playUrl: string;
791
790
  projectid: string;
792
791
  skuId: string;
793
792
  skuPic: string;
794
793
  videoCoverUrl: string;
795
794
  videoNum: string;
796
795
  width: string;
797
796
  }
798
797
  export interface ShopVideosListInfo {
799
798
  hasNext: boolean;
800
799
  pageIdx: number;
801
800
  pageSize: number;
802
801
  videoList: ShopVideosListItem[];
803
802
  videoEvenList: ShopVideosListItem[];
804
803
  videoOddList: ShopVideosListItem[];
805
804
  totalPage: number;
806
805
  videoItemWh: number;
807
806
  }
808
807
  export interface ShopMoreGoodsListInfo {
809
808
  hasNext: boolean;
810
809
  pageIdx: number;
811
810
  pageSize: number;
812
811
  wareList: ShopMoreGoodsListItem[];
813
812
  totalPage: number;
814
813
  }
815
814
  export interface ShopMoreGoodsListItem {
816
815
  wareId: number;
817
816
  imgPath: string;
818
817
  wareName: string;
819
818
  skVersionInfo: {};
820
819
  shareInfo: {
821
820
  title: string;
822
821
  content: string;
823
822
  url: string;
824
823
  img: string;
825
824
  };
826
825
  }
827
826
  export interface ShopFastShoppingSkuListItem {
828
827
  actId: number;
829
828
  displayTime: string;
830
829
  endTime: string;
831
830
  jgys: string;
832
831
  jdPrice?: string;
833
832
  redPrice: string;
834
833
  skuId: number;
835
834
  skuImg: string;
836
835
  skuName: string;
837
836
  soldOut: number;
838
837
  start: string | number;
839
838
  startTime: string;
840
839
  }
841
840
  export interface ShopFastShoppingSkuListInfo {
842
841
  nextPage: boolean;
843
842
  data: ShopFastShoppingSkuListItem[];
844
843
  total: number;
845
844
  serverTime?: number;
846
845
  displayTime?: string;
847
846
  startTime?: string;
848
847
  endTime?: string;
849
848
  }
850
849
  export interface ShopSpeciSecKillSkuListItem {
851
850
  displayTime: string;
852
851
  endTime: string;
853
852
  jdPrice?: string;
854
853
  miaoShaPrice: string;
855
854
  skuId: number;
856
855
  imageUrl: string;
857
856
  skuName: string;
858
857
  discountReason: string;
859
858
  operateWord: string;
860
859
  promotionId: string;
861
860
  seckillNum: string;
862
861
  soldOut: number;
863
862
  source: number;
864
863
  seckillType: number;
865
864
  start: string | number;
866
865
  startTime: string;
867
866
  }
868
867
  export interface ShopSpeciSecKillSkuListInfo {
869
868
  nextPage: boolean;
870
869
  data: ShopSpeciSecKillSkuListItem[];
871
870
  total: number;
872
871
  }
873
872
  export interface CategoryList {
874
873
  showType: number;
875
874
  insurancePriceSuffix?: string;
876
875
  hasCateList: boolean;
877
876
  wareInfoList: any;
878
877
  }
879
878
  export interface DecorationDataList {
880
879
  parentId: string;
881
880
  navigationDecorationData: any;
882
881
  index: number;
883
882
  }
884
883
  export interface ShopSignActivityRuleInfo {
885
884
  data: {
886
885
  activityDescription: string;
887
886
  activityTime: string;
888
887
  awardName: string;
889
888
  awardDescription: string[];
890
889
  } | null;
891
890
  loadState: boolean;
892
891
  }
893
892
  export interface ShopSignPrizeListItem {
894
893
  type: number;
895
894
  loadState: boolean;
896
895
  activeState: boolean;
897
896
  list: any[];
898
897
  expireList: any[];
899
898
  name: string;
900
899
  }
901
900
  export interface ShopSignPrizeListInfo {
902
901
  loadState: boolean;
903
902
  signPrizeList: ShopSignPrizeListItem[] | any[];
904
903
  }
905
904
  export interface VipShopHeader {
906
905
  current?: {
907
906
  className?: string;
908
907
  } | null;
909
908
  [key: string]: any;
910
909
  }
911
910
  export interface BuyerShowTabListInfoData {
912
911
  finishState: boolean;
913
912
  loadingDataFinishState: boolean;
914
913
  list: any[];
915
914
  evenList: any[];
916
915
  oddList: any[];
917
916
  }
918
917
  interface BuyerShowInfoImageItem {
919
918
  largePicURL: string;
920
919
  mediaType: string;
921
920
  picHeight: string;
922
921
  picURL: string;
923
922
  picWidth: string;
924
923
  }
925
924
  export interface BuyerShowInfoData {
926
925
  category: string;
927
926
  commentData: string;
928
927
  commentId: string;
929
928
  commentType: string;
930
929
  createdDate: string;
931
930
  guid: string;
932
931
  hadPraise: boolean;
933
932
  imageInfoList: BuyerShowInfoImageItem[];
934
933
  oldCommentId: string;
935
934
  praiseCnt: string;
936
935
  praiseCntNum: number;
937
936
  praiseUsable: boolean;
938
937
  resourceType: number;
939
938
  skuImgUrl: string;
940
939
  skuName: string;
941
940
  skuPrice: string;
942
941
  source: string;
943
942
  userImgURL: string;
944
943
  userLevel: null | string;
945
944
  userNickName: string;
946
945
  userPin: null | string;
947
946
  wareId: string;
948
947
  detailImageLoadState?: boolean;
949
948
  }
950
949
  export interface RecommendShopGuidListItem {
951
950
  followed: boolean;
952
951
  followerCount: number;
953
952
  longLogoStatus: number;
954
953
  recommendGoods: {
955
954
  imgUrl: string;
956
955
  wareId: string;
957
956
  wareName: string;
958
957
  }[];
959
958
  shopBanner: string;
960
959
  shopId: string;
961
960
  shopLogoImg: string;
962
961
  shopName: string;
963
962
  venderType: number;
964
963
  vendorId: string;
965
964
  }
966
965
 
967
966
  export interface InOrOutViewObserverProps {
968
967
  children?: React.ReactElement;
969
968
  className?: string;
970
969
 
971
970
  style?: object;
972
971
 
973
972
  threshold?: number;
974
973
 
975
974
  inViewCallback?: functionType;
976
975
 
977
976
  outViewCallback?: functionType;
978
977
  }
979
978
 
980
979
  export interface CustomVideoProps {
981
980
  isSystemVideo?: boolean;
982
981
  id?: string;
983
982
  className?: string;
984
983
 
985
984
  style?: object;
986
985
 
987
986
  videoStyle?: object;
988
987
 
989
988
  src: string;
990
989
 
991
990
  width?: string | number;
992
991
 
993
992
  height?: string | number;
994
993
 
995
994
  poster?: string;
996
995
 
997
996
  controls?: boolean;
998
997
 
999
998
  autoplay?: boolean;
1000
999
 
1001
1000
  mockAutoplay?: boolean;
1002
1001
 
1003
1002
  loop?: boolean;
1004
1003
 
1005
1004
  showMuteBtn?: boolean;
1006
1005
 
1007
1006
  muteButtonPostion?: keyof MuteButtonPostion;
1008
1007
 
1009
1008
  muteBtnPicSrcObj?: muteBtnPicObj;
1010
1009
 
1011
1010
  muteBtnClassName?: string;
1012
1011
 
1013
1012
  muteBtnStyle?: object;
1014
1013
 
1015
1014
  showFullscreenBtn?: boolean;
1016
1015
 
1017
1016
  showCenterPlayBtn?: boolean;
1018
1017
 
1019
1018
  objectFit?: keyof ObjectFit;
1020
1019
 
1021
1020
  threshold?: number;
1022
1021
 
1023
1022
  onPlayCallback?: any;
1024
1023
 
1025
1024
  onPauseCallback?: any;
1026
1025
 
1027
1026
  onVideoApiCall?: functionType;
1028
1027
 
1029
1028
  inViewCallback?: functionType;
1030
1029
 
1031
1030
  outViewCallback?: functionType;
1032
1031
  floorData: floorItemData;
1033
1032
  }
1034
1033
 
1035
1034
  interface muteBtnPicObj {
1036
1035
  IS_MUTED: string;
1037
1036
  NOT_MUTED: string;
1038
1037
  }
1039
1038
 
1040
1039
  interface MuteButtonPostion {
1041
1040
  topLeft;
1042
1041
  topRight;
1043
1042
  bottomLeft;
1044
1043
  bottomRight;
1045
1044
  }
1046
1045
 
1047
1046
  interface ObjectFit {
1048
1047
 
1049
1048
  contain;
1050
1049
 
1051
1050
  fill;
1052
1051
 
1053
1052
  cover;
1054
1053
  }
1055
1054
  interface SkuItem {
1056
1055
  id: number;
1057
1056
  name: string;
1058
1057
  imgMain: string;
1059
1058
  suggested: number;
1060
1059
  rankUrl: string;
1061
1060
  }
1062
1061
  export interface RankV1Item {
1063
1062
  id: number;
1064
1063
  type: number;
1065
1064
  rankUrl: string;
1066
1065
  title: string;
1067
1066
  hotPoint: string;
1068
1067
  skuCount: number;
1069
1068
  skuList: SkuItem[];
1070
1069
  }
1071
1070
  interface PriceInfo {
1072
1071
  jdPrice: string;
1073
1072
  finalPrice: string;
1074
1073
  priceText: string;
1075
1074
  priceType: number;
1076
1075
  hiddenPrice: boolean;
1077
1076
  isAuctionWare: boolean;
1078
1077
  isPinGouWare: boolean;
1079
1078
  showPromotionList: boolean;
1080
1079
  hitUserIdentity: boolean;
1081
1080
  }
1082
1081
  interface SkVersionInfo {
1083
1082
  priceInfo: PriceInfo;
1084
1083
  }
1085
1084
  export interface ProductItem {
1086
1085
  id: number;
1087
1086
  name: string;
1088
1087
  imgMain: string;
1089
1088
  priceJD: string;
1090
1089
  sellPoint: string;
1091
1090
  sellCount: number;
1092
1091
  sellCountDesc: string;
1093
1092
  rankDesc: string;
1094
1093
  suggested: number;
1095
1094
  skVersionInfo: SkVersionInfo;
1096
1095
  }
1096
+ import React from 'react';
1097
1097
  export interface LazyLoadImageProps {
1098
1098
  src: string;
1099
1099
  lazyLoad?: boolean;
1100
1100
  imagRenderingSet?: boolean;
1101
1101
  width?: number | string;
1102
1102
  height?: number | string;
1103
1103
  className?: string;
1104
1104
  style?: object;
1105
1105
  backgroundColor?: string;
1106
1106
  errorSrc?: string;
1107
1107
  [key: string]: any;
1108
1108
  }
1109
1109
  export interface JdLoadingProps {
1110
1110
  className: string | null;
1111
1111
  hideState: boolean;
1112
1112
  fullState: boolean;
1113
1113
  localState: boolean;
1114
1114
  style: object;
1115
1115
  text: string | null;
1116
1116
  }
1117
1117
  export interface ShopConfigTabsItem {
1118
1118
  tabType: number;
1119
1119
  tabActBlurIcon?: string;
1120
1120
  tabText?: string;
1121
1121
  tabActClickIcon?: string;
1122
1122
  }
1123
1123
  export interface ShopConfigMenuItem extends ShopMenuListItem {
1124
1124
  url?: string;
1125
1125
  }
1126
1126
  export interface VipShopConfigMenuItem {
1127
1127
  menuName?: string;
1128
1128
  menuId: string | number;
1129
1129
  }
1130
1130
  export interface ShopTotalInfo {
1131
1131
  shopInfo: {
1132
1132
  shopId?: string;
1133
1133
  venderId?: string;
1134
1134
  shopName?: string;
1135
1135
  logoUrl?: string;
1136
1136
  followed?: boolean;
1137
1137
  followerCount?: number;
1138
1138
  closed?: boolean;
1139
1139
  filterShop?: boolean;
1140
1140
  [key: string]: any;
1141
1141
  };
1142
1142
  tabs?: [ShopConfigTabsItem];
1143
1143
  config?: {
1144
1144
  tabs: [ShopConfigTabsItem];
1145
1145
  mTabs: [ShopConfigTabsItem];
1146
1146
  bigBgImgUrl?: string;
1147
1147
  [key: string]: any;
1148
1148
  };
1149
1149
  menuInfo?: {
1150
1150
  menuList: [ShopConfigMenuItem];
1151
1151
  mMenuList: [ShopConfigMenuItem];
1152
1152
  [key: string]: any;
1153
1153
  };
1154
1154
  activityInfo?: {
1155
1155
  activityRuleType: number;
1156
1156
  isSign: number;
1157
1157
  followed: boolean;
1158
1158
  coupons?: ShopCouponListItem[];
1159
1159
  liveInfo?: {
1160
1160
  type: string;
1161
1161
  data: {
1162
1162
  living: {
1163
1163
  [key: string]: any;
1164
1164
  };
1165
1165
  playback: {
1166
1166
  [key: string]: any;
1167
1167
  };
1168
1168
  preview: {
1169
1169
  [key: string]: any;
1170
1170
  };
1171
1171
  };
1172
1172
  [key: string]: any;
1173
1173
  };
1174
1174
  signStatus?: {
1175
1175
  activityRuleType: number;
1176
1176
  interActActivityId: number;
1177
1177
  interActActivityType: number;
1178
1178
  isSign: number;
1179
1179
  source: number;
1180
1180
  };
1181
1181
  giftBagDataResult?: {
1182
1182
  activityId: number;
1183
1183
  activityType: number;
1184
1184
  giftButton: string;
1185
1185
  giftTitle: string;
1186
1186
  giftsToast: string;
1187
1187
  isVipGift: string;
1188
1188
  shopGifts: any[];
1189
1189
  };
1190
1190
  [key: string]: any;
1191
1191
  };
1192
1192
  extendInfo?: {
1193
1193
  coupons?: ShopCouponListItem[];
1194
1194
  liveInfo?: {
1195
1195
  type: string;
1196
1196
  data: {
1197
1197
  living: {
1198
1198
  [key: string]: any;
1199
1199
  };
1200
1200
  playback: {
1201
1201
  [key: string]: any;
1202
1202
  };
1203
1203
  preview: {
1204
1204
  [key: string]: any;
1205
1205
  };
1206
1206
  };
1207
1207
  [key: string]: any;
1208
1208
  };
1209
1209
  signStatus?: {
1210
1210
  activityRuleType: number;
1211
1211
  interActActivityId: number;
1212
1212
  interActActivityType: number;
1213
1213
  isSign: number;
1214
1214
  source: number;
1215
1215
  };
1216
1216
  };
1217
1217
  pageSet?: {
1218
1218
  [key: string]: any;
1219
1219
  };
1220
1220
  followed?: boolean;
1221
1221
  followCount?: number;
1222
1222
  }
1223
1223
  export interface PageSetData {
1224
1224
  backGround?: {
1225
1225
  type?: string;
1226
1226
  value?: string;
1227
1227
  } | null;
1228
1228
  [key: string]: any;
1229
1229
  }
1230
1230
  interface ShopContactInfoItem {
1231
1231
  hasImChat: boolean;
1232
1232
  infoTitle: string;
1233
1233
  typeCShopUrl?: string;
1234
1234
  infoDetail?: string;
1235
1235
  infoTelephone: string;
1236
1236
  infoType: string;
1237
1237
  }
1238
1238
  interface ShopBriefInfoItem {
1239
1239
  infoDetail: string;
1240
1240
  infoTitle: string;
1241
1241
  }
1242
1242
  interface ShopScoreItem {
1243
1243
  scoreColor: string;
1244
1244
  scoreNumber: string;
1245
1245
  scorePercent: string;
1246
1246
  scoreTitle: string;
1247
1247
  }
1248
1248
  export interface ShopDetailInfo {
1249
1249
  score?: ShopScoreItem[];
1250
1250
  shopContactInfo?: ShopContactInfoItem[];
1251
1251
  shopBriefInfo?: ShopBriefInfoItem[];
1252
1252
  shopStarInfo?: {
1253
1253
  title: string | null;
1254
1254
  scoreRankRateGrade: string;
1255
1255
  tip: string;
1256
1256
  descPageURL: string;
1257
1257
  };
1258
1258
  }
1259
1259
  export interface ShopContextValue {
1260
1260
  shopTotalInfo: ShopTotalInfo;
1261
1261
  urlQueryData?: object | null;
1262
1262
  oldUrlParamsToStr?: string;
1263
1263
  rootEleNode?: HTMLElement | null;
1264
1264
  updateShopFollowedStateFn: functionType;
1265
1265
  }
1266
1266
  export interface NetWorkErrorProps {
1267
1267
  className?: string;
1268
1268
  netWorkImageType?: string;
1269
1269
  message?: string;
1270
1270
  btnLabel?: string;
1271
1271
  subMessage?: string;
1272
1272
  netWorkDataType: string;
1273
1273
  netWorkShowType?: string;
1274
1274
  netWorkStyleType?: string;
1275
1275
  viewMaxHeight?: string;
1276
1276
  backgroundColorWhite?: boolean;
1277
1277
  refreshCallBackFn?: functionType | null;
1278
1278
  noPosition?: boolean;
1279
1279
  }
1280
1280
  export interface floorItemData {
1281
1281
  uid: string;
1282
1282
  floorIdx?: number;
1283
1283
  containerIndex?: number;
1284
1284
  containerId?: string;
1285
1285
  moduleFlag?: string;
1286
1286
  moduleName?: string;
1287
1287
  moduleAlias?: string;
1288
1288
  moduleId?: number;
1289
1289
  previewUri?: string;
1290
1290
  moduleType: number | string;
1291
1291
  sizeRule: number;
1292
1292
  visible: boolean;
1293
1293
  configEmpty?: boolean;
1294
1294
  floorPosition?: string;
1295
1295
  middleTemplateType?: string;
1296
1296
  middleTemplateId?: number;
1297
1297
  dsConfig?: any;
1298
1298
  jdrInfo?: any;
1299
1299
  floorExtInfo?: {
1300
1300
  moduleFlag?: string;
1301
1301
  moduleName?: string;
1302
1302
  moduleId?: number;
1303
1303
  currentTimeMillis?: number;
1304
1304
  floorHeight?: string;
1305
1305
  floorLoadWay?: number;
1306
1306
  floorKind?: number;
1307
1307
  transform?: boolean;
1308
1308
  modularPackResult?: {
1309
1309
  bundleUrl?: string;
1310
1310
  bundleFileName?: string;
1311
1311
  };
1312
1312
  shopId?: string;
1313
1313
  moduleDesignerType?: string;
1314
1314
  };
1315
1315
  showCommonFloorHead?: boolean;
1316
1316
  }
1317
1317
  export interface FloorInfoInterfaceResponseData {
1318
1318
  containers: ContainerItemData[];
1319
1319
  floors: floorItemData[];
1320
1320
  pageSet?: object;
1321
1321
  }
1322
1322
  export interface ContainerItemData {
1323
1323
  borderRadius: number;
1324
1324
  borderTopLeftRadius?: number;
1325
1325
  borderTopRightRadius?: number;
1326
1326
  borderBottomLeftRadius?: number;
1327
1327
  borderBottomRightRadius?: number;
1328
1328
  marginTop?: number;
1329
1329
  marginBottom?: number;
1330
1330
  marginLeft?: number;
1331
1331
  marginRight?: number;
1332
1332
  paddingTop?: number;
1333
1333
  paddingBottom?: number;
1334
1334
  paddingLeft?: number;
1335
1335
  paddingRight?: number;
1336
1336
  containerId: string;
1337
1337
  background?: string;
1338
1338
  containerPosition?: string;
1339
1339
  key?: string;
1340
1340
  floors: floorItemData[];
1341
1341
  includeUids: string[];
1342
1342
  typeCn: string;
1343
1343
  typeCode?: string;
1344
1344
  addLuxuryStyle?: boolean;
1345
1345
  addLuxuryBackupStyle?: boolean;
1346
1346
  renderExtendComponent?: functionType;
1347
1347
  insertContainerStartComponent?: functionType;
1348
1348
  floorExtendData?: any;
1349
1349
  }
1350
1350
  export interface FloorModuleData {
1351
1351
  floorIndex?: number;
1352
1352
  containerIndex?: number;
1353
1353
  floorData: floorItemData;
1354
1354
  children?: React.ReactElement;
1355
1355
  style?: {
1356
1356
  [key: string]: any;
1357
1357
  };
1358
1358
  layoutLeftRightMargin: number;
1359
1359
  containerBorderRadius?: number | { [key: string]: any };
1360
1360
  dataDefines?: DataDefinesItem[];
1361
1361
  updateShopFloorDataFn?: functionType;
1362
1362
  loadingEndComponentFn?: functionType;
1363
1363
  changeScrollTopFn?: functionType;
1364
1364
  changeScrollToLowerStateFn?: functionType | null;
1365
1365
  customerLayoutWidth?: number;
1366
1366
  builtInComponents?: any;
1367
1367
  updateContainerFloorListDataFn?: functionType;
1368
1368
  isRealTimeRender: boolean;
1369
1369
  forceRenderTime: number;
1370
1370
  luxuryFixed?: boolean;
1371
1371
  }
1372
1372
  export interface DecorateFloorModuleData extends FloorModuleData {
1373
1373
  source?: string;
1374
1374
  memberBaseInfo?: {
1375
1375
  shopId?: string;
1376
1376
  venderId?: string;
1377
1377
  channel?: string;
1378
1378
  venderType?: string;
1379
1379
  showDefaultModule?: boolean;
1380
1380
  customerLevel?: string;
1381
1381
  isUserForMember?: boolean;
1382
1382
  isLv0?: boolean;
1383
1383
  levelZeroMenuUrl?: string;
1384
1384
  totalRefresh?: functionType;
1385
1385
  callOpenCardPopPage?: functionType;
1386
1386
  };
1387
1387
  renderSourceType?: string;
1388
1388
  children?: any;
1389
1389
  extendInfoData?: object | undefined;
1390
1390
  updateContainerFloorListDataFn?: functionType;
1391
1391
  customErrorIsvFloorModule?: React.ReactElement | undefined;
1392
1392
  }
1393
1393
  export interface DecorateContainerData {
1394
1394
  containerIndex?: number;
1395
1395
  containerData?: any;
1396
1396
  shopTotalInfo?: any;
1397
1397
  selectContainerFn?: functionType;
1398
1398
  selectContainerId?: string;
1399
1399
  placeHolderPreContainerId?: string;
1400
1400
  children?: any;
1401
1401
  luxuryFixed?: boolean;
1402
1402
  style?: {
1403
1403
  [key: string]: any;
1404
1404
  };
1405
1405
  layoutLeftRightMargin?: number;
1406
1406
  urlQueryData?: object | any;
1407
1407
  }
1408
1408
  export interface PlaceHolderProps {
1409
1409
  containerId: string;
1410
1410
  placeHolderPreContainerId: string;
1411
1411
  isShowPlaceHolder?: boolean;
1412
1412
  }
1413
1413
  export interface ShopRankGradeProps {
1414
1414
  scoreGrade: number | string;
1415
1415
  className?: string;
1416
1416
  }
1417
1417
  export interface ShopRankGradeGradeArrItem {
1418
1418
  index: number;
1419
1419
  starState: string;
1420
1420
  }
1421
1421
  export interface DataDefinesItem {
1422
1422
  type: string;
1423
1423
  nodeText: {
1424
1424
 
1425
1425
  feedFlowInfo?: any;
1426
1426
  max?: any;
1427
1427
 
1428
1428
  data?: any;
1429
1429
  hotAreaHeight?: number;
1430
1430
  numShowPerLine?: number;
1431
1431
  };
1432
1432
  propertyName?: string;
1433
1433
  }
1434
1434
  export interface PriceProps {
1435
1435
  prefixCls?: string;
1436
1436
  className?: string;
1437
1437
  nativeProps?: any;
1438
1438
  style?: React.CSSProperties;
1439
1439
 
1440
1440
  value: string | number;
1441
1441
 
1442
1442
  symbol?: string;
1443
1443
 
1444
1444
  currencySym?: string;
1445
1445
 
1446
1446
  symPos?: string;
1447
1447
 
1448
1448
  decLength?: number;
1449
1449
 
1450
1450
  decPos?: string;
1451
1451
 
1452
1452
  status?: string;
1453
1453
 
1454
1454
  symClassName?: string;
1455
1455
 
1456
1456
  intClassName?: string;
1457
1457
 
1458
1458
  decClassName?: string;
1459
1459
 
1460
1460
  noPriceClassName?: string;
1461
1461
 
1462
1462
  decToIntegerState?: boolean;
1463
1463
 
1464
1464
  isPlusPrice?: boolean;
1465
1465
 
1466
1466
  isSamsPrice?: boolean;
1467
1467
 
1468
1468
  isSfpPrice?: boolean;
1469
1469
 
1470
1470
  isMemberPrice?: boolean;
1471
1471
 
1472
1472
  memberPriceIcon?: string;
1473
1473
 
1474
1474
  isShowPriceLabel?: boolean;
1475
1475
 
1476
1476
  priceLabelText?: string;
1477
1477
 
1478
1478
  priceTextColor;
1479
1479
 
1480
1480
  useFontV2?: boolean;
1481
1481
  useFontV2Bold?: boolean;
1482
1482
  }
1483
1483
  export interface rankSkuItem {
1484
1484
  skuId: string;
1485
1485
  wareId: string;
1486
1486
  buyedStr?: string;
1487
1487
  imgPath: string;
1488
1488
  name: string;
1489
1489
  wareName: string;
1490
1490
  commentcount?: string;
1491
1491
  favRateDto?: {
1492
1492
  commentCountStr: string;
1493
1493
  };
1494
1494
  }
1495
1495
  export interface rankItem {
1496
1496
  title: string;
1497
1497
  rankId?: number;
1498
1498
  rankSkuInfoVoList: rankSkuItem[];
1499
1499
  }
1500
1500
  export interface MiniLoadFloorListRef {
1501
1501
  index: number;
1502
1502
  itemNum: number;
1503
1503
  list: (floorItemData | any)[];
1504
1504
  loadList: (floorItemData | any)[];
1505
1505
  max: number;
1506
1506
  }
1507
1507
  export interface HotStyleConfig {
1508
1508
  wHotMobile: number;
1509
1509
  hHotMobile: number;
1510
1510
  xHotMobile: number;
1511
1511
  yHotMobile: number;
1512
1512
  }
1513
1513
  export interface HotData {
1514
1514
  data?: HotDataItem[];
1515
1515
  hotAreaHeight?: number;
1516
1516
  }
1517
1517
  export interface HotDataItem {
1518
1518
  coordinate: {
1519
1519
  h: number;
1520
1520
  w: number;
1521
1521
  x: number;
1522
1522
  y: number;
1523
1523
  };
1524
1524
  detail: {
1525
1525
  configDataType: number;
1526
1526
  configDataValue: any;
1527
1527
  };
1528
1528
  dataSourceType: number;
1529
1529
  jdPrice?: boolean;
1530
1530
  prefix: string;
1531
1531
  price: string;
1532
1532
  priceStyleConfig: any;
1533
1533
  showSkuPrice: number;
1534
1534
  priceInfoDetail?: {
1535
1535
  jdPrice: string;
1536
1536
  };
1537
1537
  }
1538
1538
  export interface CountDownProps {
1539
1539
  residueTime: number;
1540
1540
  serverTime: number;
1541
1541
  className?: string;
1542
1542
  startTime: number;
1543
1543
  endTime: number;
1544
1544
  info?: any;
1545
1545
  startTitleText?: string | null;
1546
1546
  endTitleText?: string | null;
1547
1547
  fromEndText?: string | null;
1548
1548
  startTimeEndCallBack?: functionType | null;
1549
1549
  endTimeEndCallBack?: functionType | null;
1550
1550
  timeNumSpaceTextState: boolean;
1551
1551
  showDaytimeNumSpaceTextState?: boolean;
1552
1552
  onlyShowDayState?: boolean;
1553
1553
  onlyShowDaySpaceTextState?: boolean;
1554
1554
  showDayState?: boolean;
1555
1555
  showDayToSecondState?: boolean;
1556
1556
  showHourState: boolean;
1557
1557
  showMinuteState: boolean;
1558
1558
  showSecondState: boolean;
1559
1559
  getDaysToHours: boolean;
1560
1560
  fromStartText: null | string;
1561
1561
  numTextColor: null | string;
1562
1562
  textColor: null | string;
1563
1563
  numTextBgColor: null | string;
1564
1564
  useFontV2: boolean;
1565
1565
  useFontV2Bold: boolean;
1566
1566
  useDateNowCalc?: 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
  }