@conecli/cone-render 0.10.1-shop3.71 → 0.10.1-shop3.73

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
  subMessage?: string
3
2
  netWorkStyleType?: string
4
3
  viewMaxHeight?: string
5
4
  noPosition?: boolean
6
5
  containerIndex?: number
7
6
  floorLoadWay?: number
8
7
  floorKind?: number
9
8
  shopId?: string
10
9
  moduleDesignerType?: string
11
10
  showCommonFloorHead?: boolean
12
11
  borderRadius: number
13
12
  borderTopLeftRadius?: number
14
13
  borderTopRightRadius?: number
15
14
  borderBottomLeftRadius?: number
16
15
  borderBottomRightRadius?: number
17
16
  marginTop?: number
18
17
  marginBottom?: number
19
18
  marginLeft?: number
20
19
  marginRight?: number
21
20
  paddingTop?: number
22
21
  paddingBottom?: number
23
22
  paddingLeft?: number
24
23
  paddingRight?: number
25
24
  containerId: string
26
25
  background?: string
27
26
  containerPosition?: string
28
27
  key?: string
29
28
  floors: floorItemData[]
30
29
  includeUids: string[]
31
30
  typeCn: string
32
31
  typeCode?: string
33
32
  addLuxuryStyle?: boolean
34
33
  addLuxuryBackupStyle?: boolean
35
34
  renderExtendComponent?: functionType
36
35
  insertContainerStartComponent?: functionType
37
36
  floorExtendData?: any
38
37
  }
39
38
  isRealTimeRender: boolean
40
39
  forceRenderTime: number
41
40
  luxuryFixed?: boolean
42
41
  customErrorIsvFloorModule?: React.ReactElement | undefined
43
42
  containerIndex?: number
44
43
  containerData?: any
45
44
  shopTotalInfo?: any
46
45
  selectContainerFn?: functionType
47
46
  selectContainerId?: string
48
47
  placeHolderPreContainerId?: string
49
48
  children?: any
50
49
  luxuryFixed?: boolean
51
50
  style?: {
52
51
  [key: string]: any
53
52
  };
54
53
  layoutLeftRightMargin?: number
55
54
  }
56
55
  isShowPlaceHolder?: boolean
57
56
 
58
57
  useFontV2?: boolean
59
58
  useFontV2Bold?: boolean
60
59
  onlyShowDaySpaceTextState?: boolean
61
60
  showDayToSecondState?: boolean
62
61
  useFontV2: boolean
63
62
  useFontV2Bold: boolean
64
63
  onFormSubmit?: functionType
65
64
  onFormReset?: functionType
66
65
  isFormDialog?: boolean
67
66
  forbiddenBgScrollState?: boolean
68
67
  evenList: any[]
69
68
  oddList: any[]
70
69
  outViewCallback?: functionType
70
+ import React from 'react';
71
71
  export interface LazyLoadImageProps {
72
72
  src: string;
73
73
  lazyLoad?: boolean;
74
74
  imagRenderingSet?: boolean;
75
75
  width?: number | string;
76
76
  height?: number | string;
77
77
  className?: string;
78
78
  style?: object;
79
79
  backgroundColor?: string;
80
80
  errorSrc?: string;
81
81
  [key: string]: any;
82
82
  }
83
83
  export interface JdLoadingProps {
84
84
  className: string | null;
85
85
  hideState: boolean;
86
86
  fullState: boolean;
87
87
  localState: boolean;
88
88
  style: object;
89
89
  text: string | null;
90
90
  }
91
91
  export interface ShopConfigTabsItem {
92
92
  tabType: number;
93
93
  tabActBlurIcon?: string;
94
94
  tabText?: string;
95
95
  tabActClickIcon?: string;
96
96
  }
97
97
  export interface ShopConfigMenuItem extends ShopMenuListItem {
98
98
  url?: string;
99
99
  }
100
100
  export interface VipShopConfigMenuItem {
101
101
  menuName?: string;
102
102
  menuId: string | number;
103
103
  }
104
104
  export interface ShopTotalInfo {
105
105
  shopInfo: {
106
106
  shopId?: string;
107
107
  venderId?: string;
108
108
  shopName?: string;
109
109
  logoUrl?: string;
110
110
  followed?: boolean;
111
111
  followerCount?: number;
112
112
  closed?: boolean;
113
113
  filterShop?: boolean;
114
114
  [key: string]: any;
115
115
  };
116
116
  tabs?: [ShopConfigTabsItem];
117
117
  config?: {
118
118
  tabs: [ShopConfigTabsItem];
119
119
  mTabs: [ShopConfigTabsItem];
120
120
  bigBgImgUrl?: string;
121
121
  [key: string]: any;
122
122
  };
123
123
  menuInfo?: {
124
124
  menuList: [ShopConfigMenuItem];
125
125
  mMenuList: [ShopConfigMenuItem];
126
126
  [key: string]: any;
127
127
  };
128
128
  activityInfo?: {
129
129
  activityRuleType: number;
130
130
  isSign: number;
131
131
  followed: boolean;
132
132
  coupons?: ShopCouponListItem[];
133
133
  liveInfo?: {
134
134
  type: string;
135
135
  data: {
136
136
  living: {
137
137
  [key: string]: any;
138
138
  };
139
139
  playback: {
140
140
  [key: string]: any;
141
141
  };
142
142
  preview: {
143
143
  [key: string]: any;
144
144
  };
145
145
  };
146
146
  [key: string]: any;
147
147
  };
148
148
  signStatus?: {
149
149
  activityRuleType: number;
150
150
  interActActivityId: number;
151
151
  interActActivityType: number;
152
152
  isSign: number;
153
153
  source: number;
154
154
  };
155
155
  giftBagDataResult?: {
156
156
  activityId: number;
157
157
  activityType: number;
158
158
  giftButton: string;
159
159
  giftTitle: string;
160
160
  giftsToast: string;
161
161
  isVipGift: string;
162
162
  shopGifts: any[];
163
163
  };
164
164
  [key: string]: any;
165
165
  };
166
166
  extendInfo?: {
167
167
  coupons?: ShopCouponListItem[];
168
168
  liveInfo?: {
169
169
  type: string;
170
170
  data: {
171
171
  living: {
172
172
  [key: string]: any;
173
173
  };
174
174
  playback: {
175
175
  [key: string]: any;
176
176
  };
177
177
  preview: {
178
178
  [key: string]: any;
179
179
  };
180
180
  };
181
181
  [key: string]: any;
182
182
  };
183
183
  signStatus?: {
184
184
  activityRuleType: number;
185
185
  interActActivityId: number;
186
186
  interActActivityType: number;
187
187
  isSign: number;
188
188
  source: number;
189
189
  };
190
190
  };
191
191
  pageSet?: {
192
192
  [key: string]: any;
193
193
  };
194
194
  followed?: boolean;
195
195
  followCount?: number;
196
196
  }
197
197
  export interface PageSetData {
198
198
  backGround?: {
199
199
  type?: string;
200
200
  value?: string;
201
201
  } | null;
202
202
  [key: string]: any;
203
203
  }
204
204
  interface ShopContactInfoItem {
205
205
  hasImChat: boolean;
206
206
  infoTitle: string;
207
207
  typeCShopUrl?: string;
208
208
  infoDetail?: string;
209
209
  infoTelephone: string;
210
210
  infoType: string;
211
211
  }
212
212
  interface ShopBriefInfoItem {
213
213
  infoDetail: string;
214
214
  infoTitle: string;
215
215
  }
216
216
  interface ShopScoreItem {
217
217
  scoreColor: string;
218
218
  scoreNumber: string;
219
219
  scorePercent: string;
220
220
  scoreTitle: string;
221
221
  }
222
222
  export interface ShopDetailInfo {
223
223
  score?: ShopScoreItem[];
224
224
  shopContactInfo?: ShopContactInfoItem[];
225
225
  shopBriefInfo?: ShopBriefInfoItem[];
226
226
  shopStarInfo?: {
227
227
  title: string | null;
228
228
  scoreRankRateGrade: string;
229
229
  tip: string;
230
230
  descPageURL: string;
231
231
  };
232
232
  }
233
233
  export interface ShopContextValue {
234
234
  shopTotalInfo: ShopTotalInfo;
235
235
  urlQueryData?: object | null;
236
236
  oldUrlParamsToStr?: string;
237
237
  rootEleNode?: HTMLElement | null;
238
238
  updateShopFollowedStateFn: functionType;
239
239
  }
240
240
  export interface NetWorkErrorProps {
241
241
  className?: string;
242
242
  netWorkImageType?: string;
243
243
  message?: string;
244
244
  btnLabel?: string;
245
245
  subMessage?: string;
246
246
  netWorkDataType: string;
247
247
  netWorkShowType?: string;
248
248
  netWorkStyleType?: string;
249
249
  viewMaxHeight?: string;
250
250
  backgroundColorWhite?: boolean;
251
251
  refreshCallBackFn?: functionType | null;
252
252
  noPosition?: boolean;
253
253
  }
254
254
  export interface floorItemData {
255
255
  uid: string;
256
256
  floorIdx?: number;
257
257
  containerIndex?: number;
258
258
  containerId?: string;
259
259
  moduleFlag?: string;
260
260
  moduleName?: string;
261
261
  moduleAlias?: string;
262
262
  moduleId?: number;
263
263
  previewUri?: string;
264
264
  moduleType: number | string;
265
265
  sizeRule: number;
266
266
  visible: boolean;
267
267
  configEmpty?: boolean;
268
268
  floorPosition?: string;
269
269
  middleTemplateType?: string;
270
270
  middleTemplateId?: number;
271
271
  dsConfig?: any;
272
272
  jdrInfo?: any;
273
273
  floorExtInfo?: {
274
274
  moduleFlag?: string;
275
275
  moduleName?: string;
276
276
  moduleId?: number;
277
277
  currentTimeMillis?: number;
278
278
  floorHeight?: string;
279
279
  floorLoadWay?: number;
280
280
  floorKind?: number;
281
281
  transform?: boolean;
282
282
  modularPackResult?: {
283
283
  bundleUrl?: string;
284
284
  bundleFileName?: string;
285
285
  };
286
286
  shopId?: string;
287
287
  moduleDesignerType?: string;
288
288
  };
289
289
  showCommonFloorHead?: boolean;
290
290
  }
291
291
  export interface FloorInfoInterfaceResponseData {
292
292
  containers: ContainerItemData[];
293
293
  floors: floorItemData[];
294
294
  pageSet?: object;
295
295
  }
296
296
  export interface ContainerItemData {
297
297
  borderRadius: number;
298
298
  borderTopLeftRadius?: number;
299
299
  borderTopRightRadius?: number;
300
300
  borderBottomLeftRadius?: number;
301
301
  borderBottomRightRadius?: number;
302
302
  marginTop?: number;
303
303
  marginBottom?: number;
304
304
  marginLeft?: number;
305
305
  marginRight?: number;
306
306
  paddingTop?: number;
307
307
  paddingBottom?: number;
308
308
  paddingLeft?: number;
309
309
  paddingRight?: number;
310
310
  containerId: string;
311
311
  background?: string;
312
312
  containerPosition?: string;
313
313
  key?: string;
314
314
  floors: floorItemData[];
315
315
  includeUids: string[];
316
316
  typeCn: string;
317
317
  typeCode?: string;
318
318
  addLuxuryStyle?: boolean;
319
319
  addLuxuryBackupStyle?: boolean;
320
320
  renderExtendComponent?: functionType;
321
321
  insertContainerStartComponent?: functionType;
322
322
  floorExtendData?: any;
323
323
  }
324
324
  export interface FloorModuleData {
325
325
  floorIndex?: number;
326
326
  containerIndex?: number;
327
327
  floorData: floorItemData;
328
328
  children?: React.ReactElement;
329
329
  style?: {
330
330
  [key: string]: any;
331
331
  };
332
332
  layoutLeftRightMargin: number;
333
333
  containerBorderRadius?: number | { [key: string]: any };
334
334
  dataDefines?: DataDefinesItem[];
335
335
  updateShopFloorDataFn?: functionType;
336
336
  loadingEndComponentFn?: functionType;
337
337
  changeScrollTopFn?: functionType;
338
338
  changeScrollToLowerStateFn?: functionType | null;
339
339
  customerLayoutWidth?: number;
340
340
  builtInComponents?: any;
341
341
  updateContainerFloorListDataFn?: functionType;
342
342
  isRealTimeRender: boolean;
343
343
  forceRenderTime: number;
344
344
  luxuryFixed?: boolean;
345
345
  }
346
346
  export interface DecorateFloorModuleData extends FloorModuleData {
347
347
  source?: string;
348
348
  renderSourceType?: string;
349
349
  children?: any;
350
350
  extendInfoData?: object | undefined;
351
351
  updateContainerFloorListDataFn?: functionType;
352
352
  customErrorIsvFloorModule?: React.ReactElement | undefined;
353
353
  }
354
354
  export interface DecorateContainerData {
355
355
  containerIndex?: number;
356
356
  containerData?: any;
357
357
  shopTotalInfo?: any;
358
358
  selectContainerFn?: functionType;
359
359
  selectContainerId?: string;
360
360
  placeHolderPreContainerId?: string;
361
361
  children?: any;
362
362
  luxuryFixed?: boolean;
363
363
  style?: {
364
364
  [key: string]: any;
365
365
  };
366
366
  layoutLeftRightMargin?: number;
367
367
  urlQueryData?: object | any;
368
368
  }
369
369
  export interface PlaceHolderProps {
370
370
  containerId: string;
371
371
  placeHolderPreContainerId: string;
372
372
  isShowPlaceHolder?: boolean;
373
373
  }
374
374
  export interface ShopRankGradeProps {
375
375
  scoreGrade: number | string;
376
376
  className?: string;
377
377
  }
378
378
  export interface ShopRankGradeGradeArrItem {
379
379
  index: number;
380
380
  starState: string;
381
381
  }
382
382
  export interface DataDefinesItem {
383
383
  type: string;
384
384
  nodeText: {
385
385
 
386
386
  feedFlowInfo?: any;
387
387
  max?: any;
388
388
 
389
389
  data?: any;
390
390
  hotAreaHeight?: number;
391
391
  numShowPerLine?: number;
392
392
  };
393
393
  propertyName?: string;
394
394
  }
395
395
  export interface PriceProps {
396
396
  prefixCls?: string;
397
397
  className?: string;
398
398
  style?: React.CSSProperties;
399
399
 
400
400
  value: string | number;
401
401
 
402
402
  symbol?: string;
403
403
 
404
404
  currencySym?: string;
405
405
 
406
406
  symPos?: string;
407
407
 
408
408
  decLength?: number;
409
409
 
410
410
  decPos?: string;
411
411
 
412
412
  status?: string;
413
413
 
414
414
  symClassName?: string;
415
415
 
416
416
  intClassName?: string;
417
417
 
418
418
  decClassName?: string;
419
419
 
420
420
  noPriceClassName?: string;
421
421
 
422
422
  decToIntegerState?: boolean;
423
423
 
424
424
  isPlusPrice?: boolean;
425
425
 
426
426
  isSamsPrice?: boolean;
427
427
 
428
428
  isSfpPrice?: boolean;
429
429
 
430
430
  isMemberPrice?: boolean;
431
431
 
432
432
  memberPriceIcon?: string;
433
433
 
434
434
  isShowPriceLabel?: boolean;
435
435
 
436
436
  priceLabelText?: string;
437
437
 
438
438
  priceTextColor;
439
439
 
440
440
  useFontV2?: boolean;
441
441
  useFontV2Bold?: boolean;
442
442
  }
443
443
  export interface rankSkuItem {
444
444
  skuId: string;
445
445
  wareId: string;
446
446
  buyedStr?: string;
447
447
  imgPath: string;
448
448
  name: string;
449
449
  wareName: string;
450
450
  commentcount?: string;
451
451
  favRateDto?: {
452
452
  commentCountStr: string;
453
453
  };
454
454
  }
455
455
  export interface rankItem {
456
456
  title: string;
457
457
  rankId?: number;
458
458
  rankSkuInfoVoList: rankSkuItem[];
459
459
  }
460
460
  export interface MiniLoadFloorListRef {
461
461
  index: number;
462
462
  itemNum: number;
463
463
  list: (floorItemData | any)[];
464
464
  loadList: (floorItemData | any)[];
465
465
  max: number;
466
466
  }
467
467
  export interface HotStyleConfig {
468
468
  wHotMobile: number;
469
469
  hHotMobile: number;
470
470
  xHotMobile: number;
471
471
  yHotMobile: number;
472
472
  }
473
473
  export interface HotData {
474
474
  data?: HotDataItem[];
475
475
  hotAreaHeight?: number;
476
476
  }
477
477
  export interface HotDataItem {
478
478
  coordinate: {
479
479
  h: number;
480
480
  w: number;
481
481
  x: number;
482
482
  y: number;
483
483
  };
484
484
  detail: {
485
485
  configDataType: number;
486
486
  configDataValue: any;
487
487
  };
488
488
  dataSourceType: number;
489
489
  jdPrice?: boolean;
490
490
  prefix: string;
491
491
  price: string;
492
492
  priceStyleConfig: any;
493
493
  showSkuPrice: number;
494
494
  priceInfoDetail?: {
495
495
  jdPrice: string;
496
496
  };
497
497
  }
498
498
  export interface CountDownProps {
499
499
  residueTime: number;
500
500
  serverTime: number;
501
501
  className?: string;
502
502
  startTime: number;
503
503
  endTime: number;
504
504
  info?: any;
505
505
  startTitleText?: string | null;
506
506
  endTitleText?: string | null;
507
507
  fromEndText?: string | null;
508
508
  startTimeEndCallBack?: functionType | null;
509
509
  endTimeEndCallBack?: functionType | null;
510
510
  timeNumSpaceTextState: boolean;
511
511
  showDaytimeNumSpaceTextState?: boolean;
512
512
  onlyShowDayState?: boolean;
513
513
  onlyShowDaySpaceTextState?: boolean;
514
514
  showDayState?: boolean;
515
515
  showDayToSecondState?: boolean;
516
516
  showHourState: boolean;
517
517
  showMinuteState: boolean;
518
518
  showSecondState: boolean;
519
519
  getDaysToHours: boolean;
520
520
  fromStartText: null | string;
521
521
  numTextColor: null | string;
522
522
  textColor: null | string;
523
523
  numTextBgColor: null | string;
524
524
  useFontV2: boolean;
525
525
  useFontV2Bold: boolean;
526
526
  }
527
527
  export interface CountDownTimerRef {
528
528
  type: string;
529
529
  text: string | null | undefined;
530
530
  time?: number | null;
531
531
  endTime?: number | null;
532
532
  }
533
533
  export interface FilterBarSearchChangeType {
534
534
  id?: string;
535
535
  inStock: boolean;
536
536
  inStockText: string;
537
537
  showJdDeliver: boolean;
538
538
  showJdDeliverText: string;
539
539
  searchDataSetState: boolean;
540
540
  }
541
541
  export interface MultipleFilterListItem {
542
542
  id?: string;
543
543
  type: number;
544
544
  value: string;
545
545
  checked: boolean;
546
546
  text: string;
547
547
  }
548
548
  export interface FilterBarProps {
549
549
  className?: string;
550
550
  defaultShowType?: string | number;
551
551
  defaultSelected?: number;
552
552
  isTriggerFilterChangeOnInit?: boolean;
553
553
  onFilterChange?: functionType | null;
554
554
  onShowTypeChange?: functionType | null;
555
555
  instockSelected?: boolean;
556
556
  pageId?: undefined | string;
557
557
  searchDescription?: undefined | string;
558
558
  searchChangeType: FilterBarSearchChangeType;
559
559
  }
560
560
  export interface FilterRadioItemProps {
561
561
  filterType?: number;
562
562
  label: string;
563
563
  className: string;
564
564
  icon: boolean;
565
565
  onToggleChange?: functionType;
566
566
  onSelected: functionType;
567
567
  selected: boolean;
568
568
  type: string;
569
569
  switchOn: boolean;
570
570
  }
571
571
  export interface ShopNavBarScrollXOffsetRef {
572
572
  [key: number]: number;
573
573
  tabListPosResList?: number;
574
574
  }
575
575
  export interface SearchHotKeyWord {
576
576
  [key: string]: string;
577
577
  }
578
578
  export interface ProductWithFilterProps {
579
579
  listClassName?: string;
580
580
  filterBarEnabled?: boolean;
581
581
  keyWord: string;
582
582
  defaultKeyWord: string;
583
583
  totalHeight: number;
584
584
  defaultShowType?: undefined | string | number;
585
585
  searchType: string | number;
586
586
  skuId?: string | number;
587
587
  cateId?: undefined | string;
588
588
  pageId?: undefined | string;
589
589
  searchDescription?: undefined | string;
590
590
  useOutsideScrollView: boolean;
591
591
  extraParam: object;
592
592
  pageJumpParam?: object;
593
593
  enableEventUpdate?: boolean;
594
594
  showFilterBarSecondary?: boolean;
595
595
  displayHeight: number;
596
596
  toTop: boolean;
597
597
  tabContentShowState?: boolean;
598
598
  scrollToLowerState?: boolean;
599
599
  changeScrollToLowerStateFn?: functionType;
600
600
  changeProductWithFilterStateFn?: functionType;
601
601
  }
602
602
  export interface ShopMenuListItem {
603
603
  menuId: number;
604
604
  menuName: string;
605
605
  menuType?: string;
606
606
  icon?: string;
607
607
  text?: string;
608
608
  config?: object;
609
609
  subMenu?: any[];
610
610
  }
611
611
  export interface VipShopMenuListItem {
612
612
  menuId: number | string;
613
613
  menuName: string;
614
614
  iconAfter: string;
615
615
  iconBefore: string;
616
616
  jumpUrl: string;
617
617
  visible: boolean;
618
618
  }
619
619
  export interface DialogConfigBackFn {
620
620
  onClose?: functionType;
621
621
  onBeforeConfirm?: functionType;
622
622
  onConfirm?: functionType;
623
623
  onBackground?: functionType;
624
624
  onHide?: functionType;
625
625
  onInit?: functionType;
626
626
  onFormSubmit?: functionType;
627
627
  onFormReset?: functionType;
628
628
  }
629
629
  export interface DialogConfigProps extends DialogConfigBackFn {
630
630
  type: number;
631
631
  className?: string;
632
632
  style?: React.CSSProperties;
633
633
  title?: string;
634
634
  message?: string | null;
635
635
  closeBtnText?: string;
636
636
  closeBtnHideState?: boolean;
637
637
  confirmBtnText?: string;
638
638
  confirmBtnHideState?: boolean;
639
639
  hasFooter?: boolean;
640
640
  bodyNode?: React.ReactNode | null;
641
641
  footerNode?: React.ReactNode;
642
642
  show?: boolean;
643
643
  isCustom?: boolean;
644
644
  maskCloseable?: boolean;
645
645
  isFormDialog?: boolean;
646
646
  dialogTransition?: string;
647
647
  maskTransition?: string;
648
648
  usePortal?: boolean;
649
649
  forbiddenBgScrollState?: boolean;
650
650
  }
651
651
  export interface ActivityTabFullData {
652
652
  sortOrderFloorMapList: string[];
653
653
  serverTimeRes: number;
654
654
  loadingDataFinishState: boolean;
655
655
  secKillPage?: {
656
656
  [key: string]: string;
657
657
  };
658
658
  gwredPage?: {
659
659
  [key: string]: string;
660
660
  };
661
661
  orderFloorMap?: {
662
662
  [key: string]: string;
663
663
  };
664
664
  promotionFloorInfo?: {
665
665
  [key: string]: string;
666
666
  };
667
667
  shopSalePage?: {
668
668
  [key: string]: string;
669
669
  };
670
670
  signInfo?: {
671
671
  [key: string]: string;
672
672
  };
673
673
  speciSecKillPage?: {
674
674
  [key: string]: string;
675
675
  };
676
676
  couponInfos?: any[];
677
677
  }
678
678
  export interface PromotionTabData {
679
679
  loadingDataFinishState: boolean;
680
680
  hasGoodsFeeds: boolean;
681
681
  list: ContainerItemData[];
682
682
  }
683
683
  export interface NewWareInfoData {
684
684
  hasReady: boolean;
685
685
  hasNext: boolean;
686
686
  pageIdx: number;
687
687
  newWareList: {
688
688
  date: number;
689
689
  title: string;
690
690
  wareList: any[];
691
691
  }[];
692
692
  totalPage: number;
693
693
  totalCount: number;
694
694
  magicTabs: any[];
695
695
  videoTabs: any[];
696
696
  extend: null | {
697
697
  background: string;
698
698
  backgroundType: null;
699
699
  newProductList: any[];
700
700
  newProductSubTitle: string;
701
701
  };
702
702
  serialNew: {
703
703
  compName: string;
704
704
  firstText: string;
705
705
  headerImg: string;
706
706
  secText: string;
707
707
  serialUrl: string;
708
708
  skuInfoList: any[];
709
709
  }[];
710
710
  preferredGoods: null | {
711
711
  headerTitle: string;
712
712
  headerTagImg: null;
713
713
  itemList: any[];
714
714
  };
715
715
  }
716
716
  export interface ActivitySignInfo {
717
717
  source: number;
718
718
  isvUrl?: string;
719
719
  isvText?: string;
720
720
  isvImgUrl?: string;
721
721
  signImageUrl?: string;
722
722
  }
723
723
  export interface ShopLotteryInfo {
724
724
  signInfo: {
725
725
  activityRuleType: number;
726
726
  continueDay: number;
727
727
  isSign: number;
728
728
  signTotal: number;
729
729
  };
730
730
  winInfo: string[];
731
731
  tabNames: string[];
732
732
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
733
733
  products?: ShopLotteryProductItem[];
734
734
  }
735
735
  export interface ShopLotteryTabMenuListItem {
736
736
  id: number;
737
737
  name: string;
738
738
  type: string;
739
739
  }
740
740
  export interface ShopLotteryProductItem {
741
741
  wareId: string;
742
742
  imgPath: string;
743
743
  wareName: string;
744
744
  jdPrice: string;
745
745
  promotion: boolean;
746
746
  flashSale: number;
747
747
  status: number;
748
748
  isUnderCarriage: number;
749
749
  stock: number;
750
750
  addCart: boolean;
751
751
  addCartAbTest: boolean;
752
752
  preSale: boolean;
753
753
  emptyJDPrice: boolean;
754
754
  emptyPrice: boolean;
755
755
  }
756
756
  export interface ShopCouponListItem {
757
757
  couponId: number;
758
758
  type: number;
759
759
  couponName?: string;
760
760
  name?: string;
761
761
  beginTime: string;
762
762
  endTime: string;
763
763
  discount: number;
764
764
  quota: number;
765
765
  style: number;
766
766
  crmCoupon: boolean;
767
767
  applicability: boolean;
768
768
  act: string;
769
769
  bindType: number;
770
770
  isfansCoupon: boolean;
771
771
  couponSource: string;
772
772
  couponSourceDetail: string;
773
773
  channel: string;
774
774
  subChannel: string;
775
775
  couponStatus?: number;
776
776
  channelDetail?: string;
777
777
  minDiscount?: string | number;
778
778
  maxDiscount?: string | number;
779
779
  biinfo?: string;
780
780
  skus?: string;
781
781
  foldSpread?: boolean;
782
782
  couponFaceDescription?: string;
783
783
  appid?: string;
784
784
  platformid?: string;
785
785
  }
786
786
  export interface ShopProWaresListItem {
787
787
  wareId: number;
788
788
  wareImage: string;
789
789
  wareName: string;
790
790
  jdPrice: string;
791
791
  lineationPrice?: string;
792
792
  isPreSale: boolean;
793
793
  purchasePrice?: string;
794
794
  }
795
795
  export interface ShopPromotionWaresListInfo {
796
796
  hasNext: boolean;
797
797
  pageIdx: number;
798
798
  pageSize: number;
799
799
  skuList: ShopProWaresListItem[];
800
800
  totalSize: number;
801
801
  activityIntensity?: string;
802
802
  }
803
803
  export interface GuideInfoWaresListItem {
804
804
  wareId: number | string;
805
805
  imgPath: string;
806
806
  wareName: string;
807
807
  jdPrice: string;
808
808
  priceInfo?: PriceInfo;
809
809
  spPrice?: string;
810
810
  ppPrice?: string;
811
811
  }
812
812
  export interface GuideInfoWaresListInfo {
813
813
  hasNext: boolean;
814
814
  pageIdx: number;
815
815
  pageSize: number;
816
816
  wareList: GuideInfoWaresListItem[];
817
817
  totalSize: number;
818
818
  guideText: string;
819
819
  standbyText: string;
820
820
  testId: string;
821
821
  totalCount: number;
822
822
  totalPage: number;
823
823
  }
824
824
  export interface ShopVideosListItem {
825
825
  cmtid: string;
826
826
  content: string;
827
827
  days: string;
828
828
  height: string;
829
829
  openApp: string;
830
830
  playUrl: string;
831
831
  projectid: string;
832
832
  skuId: string;
833
833
  skuPic: string;
834
834
  videoCoverUrl: string;
835
835
  videoNum: string;
836
836
  width: string;
837
837
  }
838
838
  export interface ShopVideosListInfo {
839
839
  hasNext: boolean;
840
840
  pageIdx: number;
841
841
  pageSize: number;
842
842
  videoList: ShopVideosListItem[];
843
843
  videoEvenList: ShopVideosListItem[];
844
844
  videoOddList: ShopVideosListItem[];
845
845
  totalPage: number;
846
846
  videoItemWh: number;
847
847
  }
848
848
  export interface ShopMoreGoodsListInfo {
849
849
  hasNext: boolean;
850
850
  pageIdx: number;
851
851
  pageSize: number;
852
852
  wareList: ShopMoreGoodsListItem[];
853
853
  totalPage: number;
854
854
  }
855
855
  export interface ShopMoreGoodsListItem {
856
856
  wareId: number;
857
857
  imgPath: string;
858
858
  wareName: string;
859
859
  skVersionInfo: {};
860
860
  shareInfo: {
861
861
  title: string;
862
862
  content: string;
863
863
  url: string;
864
864
  img: string;
865
865
  };
866
866
  }
867
867
  export interface ShopFastShoppingSkuListItem {
868
868
  actId: number;
869
869
  displayTime: string;
870
870
  endTime: string;
871
871
  jgys: string;
872
872
  jdPrice?: string;
873
873
  redPrice: string;
874
874
  skuId: number;
875
875
  skuImg: string;
876
876
  skuName: string;
877
877
  soldOut: number;
878
878
  start: string | number;
879
879
  startTime: string;
880
880
  }
881
881
  export interface ShopFastShoppingSkuListInfo {
882
882
  nextPage: boolean;
883
883
  data: ShopFastShoppingSkuListItem[];
884
884
  total: number;
885
885
  serverTime?: number;
886
886
  displayTime?: string;
887
887
  startTime?: string;
888
888
  endTime?: string;
889
889
  }
890
890
  export interface ShopSpeciSecKillSkuListItem {
891
891
  displayTime: string;
892
892
  endTime: string;
893
893
  jdPrice?: string;
894
894
  miaoShaPrice: string;
895
895
  skuId: number;
896
896
  imageUrl: string;
897
897
  skuName: string;
898
898
  discountReason: string;
899
899
  operateWord: string;
900
900
  promotionId: string;
901
901
  seckillNum: string;
902
902
  soldOut: number;
903
903
  source: number;
904
904
  seckillType: number;
905
905
  start: string | number;
906
906
  startTime: string;
907
907
  }
908
908
  export interface ShopSpeciSecKillSkuListInfo {
909
909
  nextPage: boolean;
910
910
  data: ShopSpeciSecKillSkuListItem[];
911
911
  total: number;
912
912
  }
913
913
  export interface CategoryList {
914
914
  showType: number;
915
915
  insurancePriceSuffix?: string;
916
916
  hasCateList: boolean;
917
917
  wareInfoList: any;
918
918
  }
919
919
  export interface DecorationDataList {
920
920
  parentId: string;
921
921
  navigationDecorationData: any;
922
922
  index: number;
923
923
  }
924
924
  export interface ShopSignActivityRuleInfo {
925
925
  data: {
926
926
  activityDescription: string;
927
927
  activityTime: string;
928
928
  awardName: string;
929
929
  awardDescription: string[];
930
930
  } | null;
931
931
  loadState: boolean;
932
932
  }
933
933
  export interface ShopSignPrizeListItem {
934
934
  type: number;
935
935
  loadState: boolean;
936
936
  activeState: boolean;
937
937
  list: any[];
938
938
  expireList: any[];
939
939
  name: string;
940
940
  }
941
941
  export interface ShopSignPrizeListInfo {
942
942
  loadState: boolean;
943
943
  signPrizeList: ShopSignPrizeListItem[] | any[];
944
944
  }
945
945
  export interface VipShopHeader {
946
946
  current?: {
947
947
  className?: string;
948
948
  } | null;
949
949
  [key: string]: any;
950
950
  }
951
951
  export interface BuyerShowTabListInfoData {
952
952
  finishState: boolean;
953
953
  loadingDataFinishState: boolean;
954
954
  list: any[];
955
955
  evenList: any[];
956
956
  oddList: any[];
957
957
  }
958
958
  interface BuyerShowInfoImageItem {
959
959
  largePicURL: string;
960
960
  mediaType: string;
961
961
  picHeight: string;
962
962
  picURL: string;
963
963
  picWidth: string;
964
964
  }
965
965
  export interface BuyerShowInfoData {
966
966
  category: string;
967
967
  commentData: string;
968
968
  commentId: string;
969
969
  commentType: string;
970
970
  createdDate: string;
971
971
  guid: string;
972
972
  hadPraise: boolean;
973
973
  imageInfoList: BuyerShowInfoImageItem[];
974
974
  oldCommentId: string;
975
975
  praiseCnt: string;
976
976
  praiseCntNum: number;
977
977
  praiseUsable: boolean;
978
978
  resourceType: number;
979
979
  skuImgUrl: string;
980
980
  skuName: string;
981
981
  skuPrice: string;
982
982
  source: string;
983
983
  userImgURL: string;
984
984
  userLevel: null | string;
985
985
  userNickName: string;
986
986
  userPin: null | string;
987
987
  wareId: string;
988
988
  detailImageLoadState?: boolean;
989
989
  }
990
990
  export interface RecommendShopGuidListItem {
991
991
  followed: boolean;
992
992
  followerCount: number;
993
993
  longLogoStatus: number;
994
994
  recommendGoods: {
995
995
  imgUrl: string;
996
996
  wareId: string;
997
997
  wareName: string;
998
998
  }[];
999
999
  shopBanner: string;
1000
1000
  shopId: string;
1001
1001
  shopLogoImg: string;
1002
1002
  shopName: string;
1003
1003
  venderType: number;
1004
1004
  vendorId: string;
1005
1005
  }
1006
1006
 
1007
1007
  export interface InOrOutViewObserverProps {
1008
1008
  children?: React.ReactElement;
1009
1009
  className?: string;
1010
1010
 
1011
1011
  style?: object;
1012
1012
 
1013
1013
  threshold?: number;
1014
1014
 
1015
1015
  inViewCallback?: functionType;
1016
1016
 
1017
1017
  outViewCallback?: functionType;
1018
1018
  }
1019
1019
 
1020
1020
  export interface CustomVideoProps {
1021
1021
  isSystemVideo?: boolean;
1022
1022
  id?: string;
1023
1023
  className?: string;
1024
1024
 
1025
1025
  style?: object;
1026
1026
 
1027
1027
  videoStyle?: object;
1028
1028
 
1029
1029
  src: string;
1030
1030
 
1031
1031
  width?: string | number;
1032
1032
 
1033
1033
  height?: string | number;
1034
1034
 
1035
1035
  poster?: string;
1036
1036
 
1037
1037
  controls?: boolean;
1038
1038
 
1039
1039
  autoplay?: boolean;
1040
1040
 
1041
1041
  mockAutoplay?: boolean;
1042
1042
 
1043
1043
  loop?: boolean;
1044
1044
 
1045
1045
  showMuteBtn?: boolean;
1046
1046
 
1047
1047
  muteButtonPostion?: keyof MuteButtonPostion;
1048
1048
 
1049
1049
  muteBtnPicSrcObj?: muteBtnPicObj;
1050
1050
 
1051
1051
  muteBtnClassName?: string;
1052
1052
 
1053
1053
  muteBtnStyle?: object;
1054
1054
 
1055
1055
  showFullscreenBtn?: boolean;
1056
1056
 
1057
1057
  showCenterPlayBtn?: boolean;
1058
1058
 
1059
1059
  objectFit?: keyof ObjectFit;
1060
1060
 
1061
1061
  threshold?: number;
1062
1062
 
1063
1063
  onPlayCallback?: any;
1064
1064
 
1065
1065
  onPauseCallback?: any;
1066
1066
 
1067
1067
  onVideoApiCall?: functionType;
1068
1068
 
1069
1069
  inViewCallback?: functionType;
1070
1070
 
1071
1071
  outViewCallback?: functionType;
1072
1072
  floorData: floorItemData;
1073
1073
  }
1074
1074
 
1075
1075
  interface muteBtnPicObj {
1076
1076
  IS_MUTED: string;
1077
1077
  NOT_MUTED: string;
1078
1078
  }
1079
1079
 
1080
1080
  interface MuteButtonPostion {
1081
1081
  topLeft;
1082
1082
  topRight;
1083
1083
  bottomLeft;
1084
1084
  bottomRight;
1085
1085
  }
1086
1086
 
1087
1087
  interface ObjectFit {
1088
1088
 
1089
1089
  contain;
1090
1090
 
1091
1091
  fill;
1092
1092
 
1093
1093
  cover;
1094
1094
  }
1095
1095
  interface SkuItem {
1096
1096
  id: number;
1097
1097
  name: string;
1098
1098
  imgMain: string;
1099
1099
  suggested: number;
1100
1100
  rankUrl: string;
1101
1101
  }
1102
1102
  export interface RankV1Item {
1103
1103
  id: number;
1104
1104
  type: number;
1105
1105
  rankUrl: string;
1106
1106
  title: string;
1107
1107
  hotPoint: string;
1108
1108
  skuCount: number;
1109
1109
  skuList: SkuItem[];
1110
1110
  }
1111
1111
  interface PriceInfo {
1112
1112
  jdPrice: string;
1113
1113
  finalPrice: string;
1114
1114
  priceText: string;
1115
1115
  priceType: number;
1116
1116
  hiddenPrice: boolean;
1117
1117
  isAuctionWare: boolean;
1118
1118
  isPinGouWare: boolean;
1119
1119
  showPromotionList: boolean;
1120
1120
  hitUserIdentity: boolean;
1121
1121
  }
1122
1122
  interface SkVersionInfo {
1123
1123
  priceInfo: PriceInfo;
1124
1124
  }
1125
1125
  export interface ProductItem {
1126
1126
  id: number;
1127
1127
  name: string;
1128
1128
  imgMain: string;
1129
1129
  priceJD: string;
1130
1130
  sellPoint: string;
1131
1131
  sellCount: number;
1132
1132
  sellCountDesc: string;
1133
1133
  rankDesc: string;
1134
1134
  suggested: number;
1135
1135
  skVersionInfo: SkVersionInfo;
1136
1136
  }