@conecli/cone-render 0.10.1-shop-beta.34 → 0.10.1-shop-beta.36

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
  style?: React.CSSProperties;
1438
1438
 
1439
1439
  value: string | number;
1440
1440
 
1441
1441
  symbol?: string;
1442
1442
 
1443
1443
  currencySym?: string;
1444
1444
 
1445
1445
  symPos?: string;
1446
1446
 
1447
1447
  decLength?: number;
1448
1448
 
1449
1449
  decPos?: string;
1450
1450
 
1451
1451
  status?: string;
1452
1452
 
1453
1453
  symClassName?: string;
1454
1454
 
1455
1455
  intClassName?: string;
1456
1456
 
1457
1457
  decClassName?: string;
1458
1458
 
1459
1459
  noPriceClassName?: string;
1460
1460
 
1461
1461
  decToIntegerState?: boolean;
1462
1462
 
1463
1463
  isPlusPrice?: boolean;
1464
1464
 
1465
1465
  isSamsPrice?: boolean;
1466
1466
 
1467
1467
  isSfpPrice?: boolean;
1468
1468
 
1469
1469
  isMemberPrice?: boolean;
1470
1470
 
1471
1471
  memberPriceIcon?: string;
1472
1472
 
1473
1473
  isShowPriceLabel?: boolean;
1474
1474
 
1475
1475
  priceLabelText?: string;
1476
1476
 
1477
1477
  priceTextColor;
1478
1478
 
1479
1479
  useFontV2?: boolean;
1480
1480
  useFontV2Bold?: boolean;
1481
1481
  }
1482
1482
  export interface rankSkuItem {
1483
1483
  skuId: string;
1484
1484
  wareId: string;
1485
1485
  buyedStr?: string;
1486
1486
  imgPath: string;
1487
1487
  name: string;
1488
1488
  wareName: string;
1489
1489
  commentcount?: string;
1490
1490
  favRateDto?: {
1491
1491
  commentCountStr: string;
1492
1492
  };
1493
1493
  }
1494
1494
  export interface rankItem {
1495
1495
  title: string;
1496
1496
  rankId?: number;
1497
1497
  rankSkuInfoVoList: rankSkuItem[];
1498
1498
  }
1499
1499
  export interface MiniLoadFloorListRef {
1500
1500
  index: number;
1501
1501
  itemNum: number;
1502
1502
  list: (floorItemData | any)[];
1503
1503
  loadList: (floorItemData | any)[];
1504
1504
  max: number;
1505
1505
  }
1506
1506
  export interface HotStyleConfig {
1507
1507
  wHotMobile: number;
1508
1508
  hHotMobile: number;
1509
1509
  xHotMobile: number;
1510
1510
  yHotMobile: number;
1511
1511
  }
1512
1512
  export interface HotData {
1513
1513
  data?: HotDataItem[];
1514
1514
  hotAreaHeight?: number;
1515
1515
  }
1516
1516
  export interface HotDataItem {
1517
1517
  coordinate: {
1518
1518
  h: number;
1519
1519
  w: number;
1520
1520
  x: number;
1521
1521
  y: number;
1522
1522
  };
1523
1523
  detail: {
1524
1524
  configDataType: number;
1525
1525
  configDataValue: any;
1526
1526
  };
1527
1527
  dataSourceType: number;
1528
1528
  jdPrice?: boolean;
1529
1529
  prefix: string;
1530
1530
  price: string;
1531
1531
  priceStyleConfig: any;
1532
1532
  showSkuPrice: number;
1533
1533
  priceInfoDetail?: {
1534
1534
  jdPrice: string;
1535
1535
  };
1536
1536
  }
1537
1537
  export interface CountDownProps {
1538
1538
  residueTime: number;
1539
1539
  serverTime: number;
1540
1540
  className?: string;
1541
1541
  startTime: number;
1542
1542
  endTime: number;
1543
1543
  info?: any;
1544
1544
  startTitleText?: string | null;
1545
1545
  endTitleText?: string | null;
1546
1546
  fromEndText?: string | null;
1547
1547
  startTimeEndCallBack?: functionType | null;
1548
1548
  endTimeEndCallBack?: functionType | null;
1549
1549
  timeNumSpaceTextState: boolean;
1550
1550
  showDaytimeNumSpaceTextState?: boolean;
1551
1551
  onlyShowDayState?: boolean;
1552
1552
  onlyShowDaySpaceTextState?: boolean;
1553
1553
  showDayState?: boolean;
1554
1554
  showDayToSecondState?: boolean;
1555
1555
  showHourState: boolean;
1556
1556
  showMinuteState: boolean;
1557
1557
  showSecondState: boolean;
1558
1558
  getDaysToHours: boolean;
1559
1559
  fromStartText: null | string;
1560
1560
  numTextColor: null | string;
1561
1561
  textColor: null | string;
1562
1562
  numTextBgColor: null | string;
1563
1563
  useFontV2: boolean;
1564
1564
  useFontV2Bold: boolean;
1565
1565
  }
1566
1566
  export interface CountDownTimerRef {
1567
1567
  type: string;
1568
1568
  text: string | null | undefined;
1569
1569
  time?: number | null;
1570
1570
  endTime?: number | null;
1571
1571
  }
1572
1572
  export interface FilterBarSearchChangeType {
1573
1573
  id?: string;
1574
1574
  inStock: boolean;
1575
1575
  inStockText: string;
1576
1576
  showJdDeliver: boolean;
1577
1577
  showJdDeliverText: string;
1578
1578
  searchDataSetState: boolean;
1579
1579
  }
1580
1580
  export interface MultipleFilterListItem {
1581
1581
  id?: string;
1582
1582
  type: number;
1583
1583
  value: string;
1584
1584
  checked: boolean;
1585
1585
  text: string;
1586
1586
  }
1587
1587
  export interface FilterBarProps {
1588
1588
  className?: string;
1589
1589
  showType?: string | number;
1590
1590
  defaultSelected?: number;
1591
1591
  isTriggerFilterChangeOnInit?: boolean;
1592
1592
  onFilterChange?: functionType | null;
1593
1593
  onShowTypeChange?: functionType | null;
1594
1594
  instockSelected?: boolean;
1595
1595
  pageId?: undefined | string;
1596
1596
  searchDescription?: undefined | string;
1597
1597
  searchChangeType: FilterBarSearchChangeType;
1598
1598
  placeholderDomRef?: HTMLElement | null;
1599
1599
  isFixed?: boolean;
1600
1600
  searchTab?: any;
1601
1601
  }
1602
1602
  export interface FilterRadioItemProps {
1603
1603
  filterType?: number;
1604
1604
  label: string;
1605
1605
  className: string;
1606
1606
  icon: boolean;
1607
1607
  onToggleChange?: functionType;
1608
1608
  onSelected: functionType;
1609
1609
  selected: boolean;
1610
1610
  type: string;
1611
1611
  switchOn: boolean;
1612
1612
  }
1613
1613
  export interface ShopNavBarScrollXOffsetRef {
1614
1614
  [key: number]: number;
1615
1615
  tabListPosResList?: number;
1616
1616
  }
1617
1617
  export interface SearchHotKeyWord {
1618
1618
  [key: string]: string;
1619
1619
  }
1620
1620
  export interface ProductWithFilterProps {
1621
1621
  className?: string;
1622
1622
  listClassName?: string;
1623
1623
  gridListClassName?: string;
1624
1624
  filterBarEnabled?: boolean;
1625
1625
  height: number;
1626
1626
  minHeight: number;
1627
1627
  keyWord: string;
1628
1628
  defaultKeyWord: string;
1629
1629
  totalHeight: number;
1630
1630
  defaultShowType?: undefined | string | number;
1631
1631
  showType?: undefined | string | number;
1632
1632
  showTypeChangeDisable: boolean;
1633
1633
  searchType: string | number;
1634
1634
  loadState: string | number;
1635
1635
  skuId?: string | number;
1636
1636
  cateId?: undefined | string;
1637
1637
  pageId?: undefined | string;
1638
1638
  activityId?: undefined | string;
1639
1639
  activityType?: undefined | string;
1640
1640
  searchDescription?: undefined | string;
1641
1641
  useOutsideScrollView: boolean;
1642
1642
  extraParam: object;
1643
1643
  pageJumpParam?: object;
1644
1644
  enableEventUpdate?: boolean;
1645
1645
  showFilterBarSecondary?: boolean;
1646
1646
  showEmptyFloorTip?: boolean;
1647
1647
  displayHeight: number;
1648
1648
  toTop: boolean;
1649
1649
  tabContentShowState?: boolean;
1650
1650
  scrollToLowerState?: boolean;
1651
1651
  changeScrollToLowerStateFn?: functionType;
1652
1652
  changeProductWithFilterStateFn?: functionType;
1653
1653
  fetchProductsFun?: functionType;
1654
1654
  }
1655
1655
  export interface ShopMenuListItem {
1656
1656
  menuId: number;
1657
1657
  menuName: string;
1658
1658
  menuType?: string;
1659
1659
  icon?: string;
1660
1660
  text?: string;
1661
1661
  config?: object;
1662
1662
  subMenu?: any[];
1663
1663
  }
1664
1664
  export interface VipShopMenuListItem {
1665
1665
  menuId: number | string;
1666
1666
  menuName: string;
1667
1667
  iconAfter: string;
1668
1668
  iconBefore: string;
1669
1669
  jumpUrl: string;
1670
1670
  visible: boolean;
1671
1671
  }
1672
1672
  export interface DialogConfigBackFn {
1673
1673
  onClose?: functionType;
1674
1674
  onBeforeConfirm?: functionType;
1675
1675
  onConfirm?: functionType;
1676
1676
  onBackground?: functionType;
1677
1677
  onHide?: functionType;
1678
1678
  onInit?: functionType;
1679
1679
  onFormSubmit?: functionType;
1680
1680
  onFormReset?: functionType;
1681
1681
  }
1682
1682
  export interface DialogConfigProps extends DialogConfigBackFn {
1683
1683
  type: number;
1684
1684
  className?: string;
1685
1685
  style?: React.CSSProperties;
1686
1686
  title?: string;
1687
1687
  message?: string | null;
1688
1688
  closeBtnText?: string;
1689
1689
  closeBtnHideState?: boolean;
1690
1690
  confirmBtnText?: string;
1691
1691
  confirmBtnHideState?: boolean;
1692
1692
  hasFooter?: boolean;
1693
1693
  bodyNode?: React.ReactNode | null;
1694
1694
  footerNode?: React.ReactNode;
1695
1695
  show?: boolean;
1696
1696
  isCustom?: boolean;
1697
1697
  maskCloseable?: boolean;
1698
1698
  isFormDialog?: boolean;
1699
1699
  dialogTransition?: string;
1700
1700
  maskTransition?: string;
1701
1701
  usePortal?: boolean;
1702
1702
  forbiddenBgScrollState?: boolean;
1703
1703
  }
1704
1704
  export interface ActivityTabFullData {
1705
1705
  sortOrderFloorMapList: string[];
1706
1706
  serverTimeRes: number;
1707
1707
  loadingDataFinishState: boolean;
1708
1708
  secKillPage?: {
1709
1709
  [key: string]: string;
1710
1710
  };
1711
1711
  gwredPage?: {
1712
1712
  [key: string]: string;
1713
1713
  };
1714
1714
  orderFloorMap?: {
1715
1715
  [key: string]: string;
1716
1716
  };
1717
1717
  promotionFloorInfo?: {
1718
1718
  [key: string]: string;
1719
1719
  };
1720
1720
  shopSalePage?: {
1721
1721
  [key: string]: string;
1722
1722
  };
1723
1723
  signInfo?: {
1724
1724
  [key: string]: string;
1725
1725
  };
1726
1726
  speciSecKillPage?: {
1727
1727
  [key: string]: string;
1728
1728
  };
1729
1729
  couponInfos?: any[];
1730
1730
  }
1731
1731
  export interface PromotionTabData {
1732
1732
  loadingDataFinishState: boolean;
1733
1733
  hasGoodsFeeds: boolean;
1734
1734
  list: ContainerItemData[];
1735
1735
  }
1736
1736
  export interface NewWareInfoData {
1737
1737
  hasReady: boolean;
1738
1738
  hasNext: boolean;
1739
1739
  pageIdx: number;
1740
1740
  newWareList: {
1741
1741
  date: number;
1742
1742
  title: string;
1743
1743
  wareList: any[];
1744
1744
  }[];
1745
1745
  totalPage: number;
1746
1746
  totalCount: number;
1747
1747
  magicTabs: any[];
1748
1748
  videoTabs: any[];
1749
1749
  extend: null | {
1750
1750
  background: string;
1751
1751
  backgroundType: null;
1752
1752
  newProductList: any[];
1753
1753
  newProductSubTitle: string;
1754
1754
  };
1755
1755
  serialNew: {
1756
1756
  compName: string;
1757
1757
  firstText: string;
1758
1758
  headerImg: string;
1759
1759
  secText: string;
1760
1760
  serialUrl: string;
1761
1761
  skuInfoList: any[];
1762
1762
  }[];
1763
1763
  preferredGoods: null | {
1764
1764
  headerTitle: string;
1765
1765
  headerTagImg: null;
1766
1766
  itemList: any[];
1767
1767
  };
1768
1768
  }
1769
1769
  export interface ActivitySignInfo {
1770
1770
  source: number;
1771
1771
  isvUrl?: string;
1772
1772
  isvText?: string;
1773
1773
  isvImgUrl?: string;
1774
1774
  signImageUrl?: string;
1775
1775
  }
1776
1776
  export interface ShopLotteryInfo {
1777
1777
  signInfo: {
1778
1778
  activityRuleType: number;
1779
1779
  continueDay: number;
1780
1780
  isSign: number;
1781
1781
  signTotal: number;
1782
1782
  };
1783
1783
  winInfo: string[];
1784
1784
  tabNames: string[];
1785
1785
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
1786
1786
  products?: ShopLotteryProductItem[];
1787
1787
  }
1788
1788
  export interface ShopLotteryTabMenuListItem {
1789
1789
  id: number;
1790
1790
  name: string;
1791
1791
  type: string;
1792
1792
  }
1793
1793
  export interface ShopLotteryProductItem {
1794
1794
  wareId: string;
1795
1795
  imgPath: string;
1796
1796
  wareName: string;
1797
1797
  jdPrice: string;
1798
1798
  promotion: boolean;
1799
1799
  flashSale: number;
1800
1800
  status: number;
1801
1801
  isUnderCarriage: number;
1802
1802
  stock: number;
1803
1803
  addCart: boolean;
1804
1804
  addCartAbTest: boolean;
1805
1805
  preSale: boolean;
1806
1806
  emptyJDPrice: boolean;
1807
1807
  emptyPrice: boolean;
1808
1808
  }
1809
1809
  export interface ShopCouponListItem {
1810
1810
  couponId: number;
1811
1811
  type: number;
1812
1812
  couponName?: string;
1813
1813
  name?: string;
1814
1814
  beginTime: string;
1815
1815
  endTime: string;
1816
1816
  discount: number;
1817
1817
  quota: number;
1818
1818
  style: number;
1819
1819
  crmCoupon: boolean;
1820
1820
  applicability: boolean;
1821
1821
  act: string;
1822
1822
  bindType: number;
1823
1823
  isfansCoupon: boolean;
1824
1824
  couponSource: string;
1825
1825
  couponSourceDetail: string;
1826
1826
  channel: string;
1827
1827
  subChannel: string;
1828
1828
  couponStatus?: number;
1829
1829
  channelDetail?: string;
1830
1830
  minDiscount?: string | number;
1831
1831
  maxDiscount?: string | number;
1832
1832
  biinfo?: string;
1833
1833
  skus?: string;
1834
1834
  foldSpread?: boolean;
1835
1835
  couponFaceDescription?: string;
1836
1836
  appid?: string;
1837
1837
  platformid?: string;
1838
1838
  }
1839
1839
  export interface ShopProWaresListItem {
1840
1840
  wareId: number;
1841
1841
  wareImage: string;
1842
1842
  wareName: string;
1843
1843
  jdPrice: string;
1844
1844
  lineationPrice?: string;
1845
1845
  isPreSale: boolean;
1846
1846
  purchasePrice?: string;
1847
1847
  }
1848
1848
  export interface ShopPromotionWaresListInfo {
1849
1849
  hasNext: boolean;
1850
1850
  pageIdx: number;
1851
1851
  pageSize: number;
1852
1852
  skuList: ShopProWaresListItem[];
1853
1853
  totalSize: number;
1854
1854
  activityIntensity?: string;
1855
1855
  }
1856
1856
  export interface GuideInfoWaresListItem {
1857
1857
  wareId: number | string;
1858
1858
  imgPath: string;
1859
1859
  wareName: string;
1860
1860
  jdPrice: string;
1861
1861
  priceInfo?: PriceInfo;
1862
1862
  spPrice?: string;
1863
1863
  ppPrice?: string;
1864
1864
  }
1865
1865
  export interface GuideInfoWaresListInfo {
1866
1866
  hasNext: boolean;
1867
1867
  pageIdx: number;
1868
1868
  pageSize: number;
1869
1869
  wareList: GuideInfoWaresListItem[];
1870
1870
  totalSize: number;
1871
1871
  guideText: string;
1872
1872
  standbyText: string;
1873
1873
  testId: string;
1874
1874
  totalCount: number;
1875
1875
  totalPage: number;
1876
1876
  }
1877
1877
  export interface ShopVideosListItem {
1878
1878
  cmtid: string;
1879
1879
  content: string;
1880
1880
  days: string;
1881
1881
  height: string;
1882
1882
  openApp: string;
1883
1883
  playUrl: string;
1884
1884
  projectid: string;
1885
1885
  skuId: string;
1886
1886
  skuPic: string;
1887
1887
  videoCoverUrl: string;
1888
1888
  videoNum: string;
1889
1889
  width: string;
1890
1890
  }
1891
1891
  export interface ShopVideosListInfo {
1892
1892
  hasNext: boolean;
1893
1893
  pageIdx: number;
1894
1894
  pageSize: number;
1895
1895
  videoList: ShopVideosListItem[];
1896
1896
  videoEvenList: ShopVideosListItem[];
1897
1897
  videoOddList: ShopVideosListItem[];
1898
1898
  totalPage: number;
1899
1899
  videoItemWh: number;
1900
1900
  }
1901
1901
  export interface ShopMoreGoodsListInfo {
1902
1902
  hasNext: boolean;
1903
1903
  pageIdx: number;
1904
1904
  pageSize: number;
1905
1905
  wareList: ShopMoreGoodsListItem[];
1906
1906
  totalPage: number;
1907
1907
  }
1908
1908
  export interface ShopMoreGoodsListItem {
1909
1909
  wareId: number;
1910
1910
  imgPath: string;
1911
1911
  wareName: string;
1912
1912
  skVersionInfo: {};
1913
1913
  shareInfo: {
1914
1914
  title: string;
1915
1915
  content: string;
1916
1916
  url: string;
1917
1917
  img: string;
1918
1918
  };
1919
1919
  }
1920
1920
  export interface ShopFastShoppingSkuListItem {
1921
1921
  actId: number;
1922
1922
  displayTime: string;
1923
1923
  endTime: string;
1924
1924
  jgys: string;
1925
1925
  jdPrice?: string;
1926
1926
  redPrice: string;
1927
1927
  skuId: number;
1928
1928
  skuImg: string;
1929
1929
  skuName: string;
1930
1930
  soldOut: number;
1931
1931
  start: string | number;
1932
1932
  startTime: string;
1933
1933
  }
1934
1934
  export interface ShopFastShoppingSkuListInfo {
1935
1935
  nextPage: boolean;
1936
1936
  data: ShopFastShoppingSkuListItem[];
1937
1937
  total: number;
1938
1938
  serverTime?: number;
1939
1939
  displayTime?: string;
1940
1940
  startTime?: string;
1941
1941
  endTime?: string;
1942
1942
  }
1943
1943
  export interface ShopSpeciSecKillSkuListItem {
1944
1944
  displayTime: string;
1945
1945
  endTime: string;
1946
1946
  jdPrice?: string;
1947
1947
  miaoShaPrice: string;
1948
1948
  skuId: number;
1949
1949
  imageUrl: string;
1950
1950
  skuName: string;
1951
1951
  discountReason: string;
1952
1952
  operateWord: string;
1953
1953
  promotionId: string;
1954
1954
  seckillNum: string;
1955
1955
  soldOut: number;
1956
1956
  source: number;
1957
1957
  seckillType: number;
1958
1958
  start: string | number;
1959
1959
  startTime: string;
1960
1960
  }
1961
1961
  export interface ShopSpeciSecKillSkuListInfo {
1962
1962
  nextPage: boolean;
1963
1963
  data: ShopSpeciSecKillSkuListItem[];
1964
1964
  total: number;
1965
1965
  }
1966
1966
  export interface CategoryList {
1967
1967
  showType: number;
1968
1968
  insurancePriceSuffix?: string;
1969
1969
  hasCateList: boolean;
1970
1970
  wareInfoList: any;
1971
1971
  }
1972
1972
  export interface DecorationDataList {
1973
1973
  parentId: string;
1974
1974
  navigationDecorationData: any;
1975
1975
  index: number;
1976
1976
  }
1977
1977
  export interface ShopSignActivityRuleInfo {
1978
1978
  data: {
1979
1979
  activityDescription: string;
1980
1980
  activityTime: string;
1981
1981
  awardName: string;
1982
1982
  awardDescription: string[];
1983
1983
  } | null;
1984
1984
  loadState: boolean;
1985
1985
  }
1986
1986
  export interface ShopSignPrizeListItem {
1987
1987
  type: number;
1988
1988
  loadState: boolean;
1989
1989
  activeState: boolean;
1990
1990
  list: any[];
1991
1991
  expireList: any[];
1992
1992
  name: string;
1993
1993
  }
1994
1994
  export interface ShopSignPrizeListInfo {
1995
1995
  loadState: boolean;
1996
1996
  signPrizeList: ShopSignPrizeListItem[] | any[];
1997
1997
  }
1998
1998
  export interface VipShopHeader {
1999
1999
  current?: {
2000
2000
  className?: string;
2001
2001
  } | null;
2002
2002
  [key: string]: any;
2003
2003
  }
2004
2004
  export interface BuyerShowTabListInfoData {
2005
2005
  finishState: boolean;
2006
2006
  loadingDataFinishState: boolean;
2007
2007
  list: any[];
2008
2008
  evenList: any[];
2009
2009
  oddList: any[];
2010
2010
  }
2011
2011
  interface BuyerShowInfoImageItem {
2012
2012
  largePicURL: string;
2013
2013
  mediaType: string;
2014
2014
  picHeight: string;
2015
2015
  picURL: string;
2016
2016
  picWidth: string;
2017
2017
  }
2018
2018
  export interface BuyerShowInfoData {
2019
2019
  category: string;
2020
2020
  commentData: string;
2021
2021
  commentId: string;
2022
2022
  commentType: string;
2023
2023
  createdDate: string;
2024
2024
  guid: string;
2025
2025
  hadPraise: boolean;
2026
2026
  imageInfoList: BuyerShowInfoImageItem[];
2027
2027
  oldCommentId: string;
2028
2028
  praiseCnt: string;
2029
2029
  praiseCntNum: number;
2030
2030
  praiseUsable: boolean;
2031
2031
  resourceType: number;
2032
2032
  skuImgUrl: string;
2033
2033
  skuName: string;
2034
2034
  skuPrice: string;
2035
2035
  source: string;
2036
2036
  userImgURL: string;
2037
2037
  userLevel: null | string;
2038
2038
  userNickName: string;
2039
2039
  userPin: null | string;
2040
2040
  wareId: string;
2041
2041
  detailImageLoadState?: boolean;
2042
2042
  }
2043
2043
  export interface RecommendShopGuidListItem {
2044
2044
  followed: boolean;
2045
2045
  followerCount: number;
2046
2046
  longLogoStatus: number;
2047
2047
  recommendGoods: {
2048
2048
  imgUrl: string;
2049
2049
  wareId: string;
2050
2050
  wareName: string;
2051
2051
  }[];
2052
2052
  shopBanner: string;
2053
2053
  shopId: string;
2054
2054
  shopLogoImg: string;
2055
2055
  shopName: string;
2056
2056
  venderType: number;
2057
2057
  vendorId: string;
2058
2058
  }
2059
2059
 
2060
2060
  export interface InOrOutViewObserverProps {
2061
2061
  children?: React.ReactElement;
2062
2062
  className?: string;
2063
2063
 
2064
2064
  style?: object;
2065
2065
 
2066
2066
  threshold?: number;
2067
2067
 
2068
2068
  inViewCallback?: functionType;
2069
2069
 
2070
2070
  outViewCallback?: functionType;
2071
2071
  }
2072
2072
 
2073
2073
  export interface CustomVideoProps {
2074
2074
  isSystemVideo?: boolean;
2075
2075
  id?: string;
2076
2076
  className?: string;
2077
2077
 
2078
2078
  style?: object;
2079
2079
 
2080
2080
  videoStyle?: object;
2081
2081
 
2082
2082
  src: string;
2083
2083
 
2084
2084
  width?: string | number;
2085
2085
 
2086
2086
  height?: string | number;
2087
2087
 
2088
2088
  poster?: string;
2089
2089
 
2090
2090
  controls?: boolean;
2091
2091
 
2092
2092
  autoplay?: boolean;
2093
2093
 
2094
2094
  mockAutoplay?: boolean;
2095
2095
 
2096
2096
  loop?: boolean;
2097
2097
 
2098
2098
  showMuteBtn?: boolean;
2099
2099
 
2100
2100
  muteButtonPostion?: keyof MuteButtonPostion;
2101
2101
 
2102
2102
  muteBtnPicSrcObj?: muteBtnPicObj;
2103
2103
 
2104
2104
  muteBtnClassName?: string;
2105
2105
 
2106
2106
  muteBtnStyle?: object;
2107
2107
 
2108
2108
  showFullscreenBtn?: boolean;
2109
2109
 
2110
2110
  showCenterPlayBtn?: boolean;
2111
2111
 
2112
2112
  objectFit?: keyof ObjectFit;
2113
2113
 
2114
2114
  threshold?: number;
2115
2115
 
2116
2116
  onPlayCallback?: any;
2117
2117
 
2118
2118
  onPauseCallback?: any;
2119
2119
 
2120
2120
  onVideoApiCall?: functionType;
2121
2121
 
2122
2122
  inViewCallback?: functionType;
2123
2123
 
2124
2124
  outViewCallback?: functionType;
2125
2125
  floorData: floorItemData;
2126
2126
  }
2127
2127
 
2128
2128
  interface muteBtnPicObj {
2129
2129
  IS_MUTED: string;
2130
2130
  NOT_MUTED: string;
2131
2131
  }
2132
2132
 
2133
2133
  interface MuteButtonPostion {
2134
2134
  topLeft;
2135
2135
  topRight;
2136
2136
  bottomLeft;
2137
2137
  bottomRight;
2138
2138
  }
2139
2139
 
2140
2140
  interface ObjectFit {
2141
2141
 
2142
2142
  contain;
2143
2143
 
2144
2144
  fill;
2145
2145
 
2146
2146
  cover;
2147
2147
  }
2148
2148
  interface SkuItem {
2149
2149
  id: number;
2150
2150
  name: string;
2151
2151
  imgMain: string;
2152
2152
  suggested: number;
2153
2153
  rankUrl: string;
2154
2154
  }
2155
2155
  export interface RankV1Item {
2156
2156
  id: number;
2157
2157
  type: number;
2158
2158
  rankUrl: string;
2159
2159
  title: string;
2160
2160
  hotPoint: string;
2161
2161
  skuCount: number;
2162
2162
  skuList: SkuItem[];
2163
2163
  }
2164
2164
  interface PriceInfo {
2165
2165
  jdPrice: string;
2166
2166
  finalPrice: string;
2167
2167
  priceText: string;
2168
2168
  priceType: number;
2169
2169
  hiddenPrice: boolean;
2170
2170
  isAuctionWare: boolean;
2171
2171
  isPinGouWare: boolean;
2172
2172
  showPromotionList: boolean;
2173
2173
  hitUserIdentity: boolean;
2174
2174
  }
2175
2175
  interface SkVersionInfo {
2176
2176
  priceInfo: PriceInfo;
2177
2177
  }
2178
2178
  export interface ProductItem {
2179
2179
  id: number;
2180
2180
  name: string;
2181
2181
  imgMain: string;
2182
2182
  priceJD: string;
2183
2183
  sellPoint: string;
2184
2184
  sellCount: number;
2185
2185
  sellCountDesc: string;
2186
2186
  rankDesc: string;
2187
2187
  suggested: number;
2188
2188
  skVersionInfo: SkVersionInfo;
2189
2189
  }