@conecli/cone-render 0.8.28 → 0.8.30

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.
Files changed (48) hide show
  1. package/dist/api/index.ts +1 -1
  2. package/dist/common/const.ts +1 -1
  3. package/dist/common/index.h5.ts +1 -1
  4. package/dist/common/token/index.h5.ts +1 -1
  5. package/dist/common/token/token.ts +1 -1
  6. package/dist/components/base/CommonFloorHead/index.module.scss +1 -1
  7. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  8. package/dist/components/base/CustomVideo/index.module.scss +3 -2
  9. package/dist/components/base/CustomVideo/index.tsx +1 -1
  10. package/dist/components/base/Dialog/index.module.scss +6 -2
  11. package/dist/components/base/Dialog/index.tsx +1 -1
  12. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  13. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  14. package/dist/components/base/Price/{const.ts → Base/const.ts} +0 -0
  15. package/dist/components/base/Price/Base/index.module.scss +136 -0
  16. package/dist/components/base/Price/Base/index.tsx +1 -0
  17. package/dist/components/base/Price/Double/index.module.scss +158 -0
  18. package/dist/components/base/Price/Double/index.tsx +1 -0
  19. package/dist/components/base/Price/index.tsx +1 -1
  20. package/dist/components/floorItem.weapp.tsx +1 -1
  21. package/dist/interface/component.ts +1 -1
  22. package/dist/interface/jumpEventReport.ts +1 -1
  23. package/dist/interface/service.ts +1 -1
  24. package/dist/jumpEventReport/base.ts +1 -1
  25. package/dist/jumpEventReport/const.ts +1 -1
  26. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  27. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  28. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  29. package/dist/jumpEventReport/web/report.ts +1 -1
  30. package/dist/jumpEventReport/web.base.ts +1 -1
  31. package/dist/open/api/shopMember.ts +1 -1
  32. package/dist/service/bMallConst.ts +1 -1
  33. package/dist/service/bMallConst.wxapp.ts +1 -0
  34. package/dist/service/http/colorSign.ts +1 -1
  35. package/dist/service/http/colorSign.wxapp.ts +1 -0
  36. package/dist/service/http/const.ts +1 -1
  37. package/dist/service/requestServer.ts +1 -1
  38. package/dist/utils/connectNativeJsBridge.ts +1 -1
  39. package/dist/utils/h5Utils.ts +1 -1
  40. package/dist/utils/index.h5.ts +1 -1
  41. package/dist/utils/index.ts +1 -1
  42. package/dist/utils/index.weapp.ts +1 -1
  43. package/dist/utils/jm-common.js +1 -1
  44. package/dist/utils/memberFormatUtils.js +1 -0
  45. package/dist/utils/priceUtils.js +1 -0
  46. package/dist/utils/utils.ts +1 -1
  47. package/package.json +3 -3
  48. package/dist/components/base/Price/index.module.scss +0 -136
@@ -0,0 +1,136 @@
1
+
2
+ :global {
3
+ .d-mini-price {
4
+ position: relative;
5
+ color: #f23030;
6
+ display: inline-block;
7
+ font-family: 'JDZhengHT-Regular';
8
+
9
+ &-sym {
10
+ font-size: 22px;
11
+ }
12
+
13
+ .int-txt {
14
+ font-size: 36px;
15
+ }
16
+ .off-shelf {
17
+ color: rgb(162, 164, 172);
18
+ }
19
+
20
+ .dec-txt {
21
+ font-size: 22px;
22
+ }
23
+
24
+ .sym-sup {
25
+ vertical-align: top;
26
+ }
27
+
28
+ .dec-sup {
29
+ vertical-align: top;
30
+ }
31
+
32
+ &.del {
33
+ .sym-sub,
34
+ .int-txt,
35
+ .dec-txt {
36
+ font-size: 22px;
37
+ color: #2e2e2e;
38
+ text-decoration: line-through;
39
+ }
40
+ }
41
+ &.d-plus-price,
42
+ &.d-sams-price,
43
+ &.d-sfp-price,
44
+ &.d-member-price {
45
+ &:after {
46
+ content: '';
47
+ display: inline-block;
48
+ margin-left: 5px;
49
+ width: 58px;
50
+ height: 20px;
51
+ background-repeat: no-repeat;
52
+ background-size: contain;
53
+ }
54
+ }
55
+ &.d-price-label {
56
+ &:after {
57
+ // 价格后面追加显示文案例如“到手价”的默认样式
58
+ content: attr(data-after);
59
+ font-size: 20px;
60
+ color: #ffffff;
61
+ margin-left: 8px;
62
+ }
63
+ }
64
+ &.d-plus-price {
65
+ .int-txt,
66
+ .sym-sub,
67
+ .dec-txt {
68
+ font-size: 24px;
69
+ color: #232326;
70
+ }
71
+ &:after {
72
+ background-image: url('../../../../assets/plus-icon.png');
73
+ }
74
+ }
75
+ &.d-sams-price {
76
+ .int-txt,
77
+ .sym-sub,
78
+ .dec-txt {
79
+ font-size: 24px;
80
+ color: #1a68bc;
81
+ }
82
+ &:after {
83
+ background-image: url('../../../../assets/jsbundles_jdreactshopactivitytab_images_samprice.png');
84
+ }
85
+ }
86
+ &.d-sfp-price {
87
+ .int-txt,
88
+ .sym-sub,
89
+ .dec-txt {
90
+ font-size: 24px;
91
+ color: #714aff;
92
+ }
93
+ &:after {
94
+ background-image: url('../../../../assets/fans_price@2x.png');
95
+ }
96
+ }
97
+ &.d-member-price {
98
+ .int-txt,
99
+ .sym-sub,
100
+ .dec-txt {
101
+ font-size: 24px;
102
+ color: #f3c416;
103
+ }
104
+ // 默认v1会员
105
+ &:after {
106
+ background-image: url('https://m.360buyimg.com/cc/jfs/t1/132940/18/11320/4920/5f770610E07069747/92f14ae503ca8b7b.png');
107
+ }
108
+ // v1 会员
109
+ &.d-member-price-tab_214 {
110
+ &:after {
111
+ background-image: url('https://m.360buyimg.com/cc/jfs/t1/132940/18/11320/4920/5f770610E07069747/92f14ae503ca8b7b.png');
112
+ }
113
+ }
114
+ &.d-member-price-tab_215 {
115
+ &:after {
116
+ background-image: url('https://m.360buyimg.com/cc/jfs/t1/135428/5/11263/5100/5f770623E87b73485/a3624a844f220489.png');
117
+ }
118
+ }
119
+ &.d-member-price-tab_216 {
120
+ &:after {
121
+ background-image: url('https://m.360buyimg.com/cc/jfs/t1/142590/8/9888/5220/5f770639E992a10a9/1decbf1689dd500c.png');
122
+ }
123
+ }
124
+ &.d-member-price-tab_217 {
125
+ &:after {
126
+ background-image: url('https://m.360buyimg.com/cc/jfs/t1/128048/23/13979/5063/5f77064aE56b826d7/5e07702ee673629d.png');
127
+ }
128
+ }
129
+ &.d-member-price-tab_218 {
130
+ &:after {
131
+ background-image: url('https://m.360buyimg.com/cc/jfs/t1/117816/19/19334/5167/5f77065eEbd592fb5/75091c85ca7d0895.png');
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
@@ -0,0 +1 @@
1
+ import React from 'react'
2
  priceLabelText: "到手价"
@@ -0,0 +1,158 @@
1
+ .wrap {
2
+ overflow: hidden;
3
+ display: flex;
4
+ flex-direction: row;
5
+ flex-wrap: wrap;
6
+ align-items: baseline;
7
+ line-height: 0; // 这个是保障不同平台(IOS、Android),不同font-size下多个行内元素文案底部还能对齐的基石
8
+ }
9
+ .childStyle {
10
+ transform: translateY(50%);
11
+ }
12
+ .bigStyle {
13
+ color: #fa2c19;
14
+ }
15
+
16
+ .bigNoPrice {
17
+ font-family: PingFang SC;
18
+ }
19
+ .bigNoPriceXL {
20
+ font-size: 48px;
21
+ }
22
+ .bigNoPriceL {
23
+ font-size: 42px;
24
+ }
25
+ .bigNoPriceM {
26
+ font-size: 36px;
27
+ }
28
+ .bigNoPriceS {
29
+ font-size: 30px;
30
+ }
31
+ .bigNoPriceXS {
32
+ font-size: 24px;
33
+ }
34
+
35
+ .bigSymbol {
36
+ font-family: JDZhengHT-Regular;
37
+ }
38
+ .bigSymbolXL {
39
+ font-size: 28px;
40
+ }
41
+ .bigSymbolL {
42
+ font-size: 26px;
43
+ }
44
+ .bigSymbolM {
45
+ font-size: 24px;
46
+ }
47
+ .bigSymbolS {
48
+ font-size: 22px;
49
+ }
50
+ .bigSymbolXS {
51
+ font-size: 20px;
52
+ }
53
+
54
+ .bigInteger {
55
+ font-family: JDZhengHT-Regular;
56
+ }
57
+ .bigIntegerXL {
58
+ font-size: 52px;
59
+ }
60
+ .bigIntegerL {
61
+ font-size: 46px;
62
+ }
63
+ .bigIntegerM {
64
+ font-size: 40px;
65
+ }
66
+ .bigIntegerS {
67
+ font-size: 34px;
68
+ }
69
+ .bigIntegerXS {
70
+ font-size: 28px;
71
+ }
72
+
73
+ .bigDecimal {
74
+ font-family: JDZhengHT-Regular;
75
+ }
76
+
77
+ .bigDecimalXL {
78
+ font-size: 28px;
79
+ }
80
+ .bigDecimalL {
81
+ font-size: 26px;
82
+ }
83
+ .bigDecimalM {
84
+ font-size: 24px;
85
+ }
86
+ .bigDecimalS {
87
+ font-size: 22px;
88
+ }
89
+ .bigDecimalXS {
90
+ font-size: 20px;
91
+ }
92
+
93
+ .priceDesc {
94
+ margin-left: 4px;
95
+ font-family: PingFang SC;
96
+ }
97
+ .priceDescXL {
98
+ font-size: 28px;
99
+ }
100
+ .priceDescL {
101
+ font-size: 26px;
102
+ }
103
+ .priceDescM {
104
+ font-size: 24px;
105
+ }
106
+ .priceDescS {
107
+ font-size: 22px;
108
+ }
109
+ .priceDescXS {
110
+ font-size: 20px;
111
+ }
112
+
113
+ .missPriceDesc {
114
+ }
115
+ .smallStyle {
116
+ color: #8c8c8c;
117
+ }
118
+
119
+ .smallPrice {
120
+ font-family: JDZhengHT-Regular;
121
+ }
122
+ .smallPriceXL {
123
+ font-size: 28px;
124
+ }
125
+ .smallPriceL {
126
+ font-size: 26px;
127
+ }
128
+ .smallPriceM {
129
+ font-size: 24px;
130
+ }
131
+ .smallPriceS {
132
+ font-size: 22px;
133
+ }
134
+ .smallPriceXS {
135
+ font-size: 20px;
136
+ }
137
+
138
+ .rightMargin {
139
+ margin-right: 16px;
140
+ }
141
+ .plusStyle {
142
+ color: #1c4b8c;
143
+ }
144
+ .fansStyle {
145
+ color: #8450e5;
146
+ }
147
+ .samStyle {
148
+ color: #3981e5;
149
+ }
150
+ .studentStyle {
151
+ color: #30bf26;
152
+ }
153
+ .yhdStyle {
154
+ color: #674431;
155
+ }
156
+ .memberStyle {
157
+ color: #f6b303;
158
+ }
@@ -0,0 +1 @@
1
+ import React from 'react';
2
  const result = String(strPrice).match(/(-?\d+)\.?(\d+)?/);
1
3
  if(result && Number(result[0]) > 0){
2
4
  return {
3
5
  integerPrice: result[1],
4
6
  decimalPrice: (result[2] || '').replace(/0+$/, '')
5
7
  }
6
8
  }else{
7
9
  return null;
8
10
  }
9
11
  const {
10
12
  jdPrice,
11
13
  finalPrice,
12
14
  priceText = '',
13
15
  priceType,
14
16
  hitUserIdentity = false,
15
17
  isAuctionWare,
16
18
  fallbackRender = null,
17
19
  className = null,
18
20
  style = {},
19
21
  childrenClassName = null,
20
22
  bigNoPriceClassName = null,
21
23
  bigSymbolClassName = null,
22
24
  bigIntegerClassName = null,
23
25
  bigDecimalClassName = null,
24
26
  priceDescClassName = null,
25
27
  smallPriceClassName = null,
26
28
  lineNumber = 1,
27
29
  size = 'M'
28
30
  } = props
29
31
  const especialHitStyleType = {
30
32
  7: 'plusStyle',
31
33
  9: 'samStyle'
32
34
  }
33
35
  const especialMissStyleType = {
34
36
  7: 'plusStyle',
35
37
  8: 'fansStyle',
36
38
  9: 'samStyle',
37
39
  10: 'studentStyle',
38
40
  12: 'yhdStyle',
39
41
  13: 'memberStyle'
40
42
  }
41
43
  const isNoPrice = priceType === 4
42
44
  const isUseFinalPriceAsBigPrice = [1, 2, 6, 14, 16, 17, 18].includes(priceType)
43
45
  const isEquivalentHit = isUseFinalPriceAsBigPrice || hitUserIdentity
44
46
  const bigPriceObj = getDeconstructPrice(isEquivalentHit? finalPrice: jdPrice)
45
47
  if(isAuctionWare || (!isNoPrice && bigPriceObj === null)){
46
48
  return fallbackRender
47
49
  }
48
50
  const {integerPrice, decimalPrice = ''} = bigPriceObj || {}
49
51
  const isOnlyShowBigPrice = priceType === 3
50
52
  const isHideSmallPrice = priceType === 14
51
53
  const smallPrice = isEquivalentHit? jdPrice: finalPrice
52
54
  const isPriceDescInFront = isEquivalentHit
53
55
  const hitColorStyle = isEquivalentHit? styles[especialHitStyleType[priceType]]: null
54
56
  const missColorStyle = isEquivalentHit? null: styles[especialMissStyleType[priceType]]
55
57
  const isBigPriceHasDecimal = decimalPrice !== '' && !/^0+$/.test(decimalPrice)
56
58
  const sizeLineHeight = {
57
59
  'XS': 28,
58
60
  'S': 34,
59
61
  'M': 40,
60
62
  'L': 46,
61
63
  'XL': 52
62
64
  }
63
65
  const lineHeight = Taro.pxTransform(sizeLineHeight[size] * 1.25)
64
66
  const wrapHeight = Taro.pxTransform(sizeLineHeight[size] * 1.25 * lineNumber)
65
67
  const computedHeightStyle = {
66
68
  height: wrapHeight
67
69
  }
68
70
  const itemCommonStyle = {
69
71
  height: lineHeight
70
72
  }
71
73
  const needSizeStyles = ['bigNoPrice', 'bigSymbol', 'bigInteger', 'bigDecimal', 'priceDesc', 'smallPrice']
72
74
  const sizeStyles = needSizeStyles.reduce((acc, cur) => {
73
75
  acc[cur] = styles[cur + size]
74
76
  return acc
75
77
  }, {})
76
78
  const noPriceShowText = priceText || (/^[\u4e00-\u9fa5]+$/.test(jdPrice)? jdPrice: '')
77
79
  return (
78
80
  <View className={classNames(styles.wrap, className)} style={{...computedHeightStyle, ...style}}>
79
81
  {isNoPrice?
80
82
  <Text className={classNames(styles.childStyle, styles.bigStyle, styles.bigNoPrice, sizeStyles['bigNoPrice'], childrenClassName, bigNoPriceClassName)} style={{...itemCommonStyle}}>{noPriceShowText}</Text>
81
83
  :
82
84
  [
83
85
  <Text className={classNames(styles.childStyle, styles.bigStyle, styles.bigSymbol, sizeStyles['bigSymbol'], hitColorStyle, childrenClassName, bigSymbolClassName)} key="bigSymbol" style={{...itemCommonStyle}}>¥</Text>,
84
86
  <Text className={classNames(styles.childStyle, styles.bigStyle, styles.bigInteger, sizeStyles['bigInteger'], hitColorStyle, !isOnlyShowBigPrice && !isBigPriceHasDecimal && !isPriceDescInFront ? styles.rightMargin : null, childrenClassName, bigIntegerClassName)} key="bigInteger" style={{...itemCommonStyle}}>{integerPrice}</Text>,
85
87
  isBigPriceHasDecimal?
86
88
  <Text className={classNames(styles.childStyle, styles.bigStyle, styles.bigDecimal, sizeStyles['bigDecimal'], hitColorStyle, isPriceDescInFront ? null : styles.rightMargin, childrenClassName, bigDecimalClassName)} key="bigDecimal" style={{...itemCommonStyle}}>.{decimalPrice}</Text>
87
89
  :
88
90
  null
89
91
  ,
90
92
  !isOnlyShowBigPrice && [
91
93
  isPriceDescInFront && <Text className={classNames(styles.childStyle, styles.priceDesc, sizeStyles['priceDesc'], styles.bigStyle, hitColorStyle, isPriceDescInFront ? styles.rightMargin : null, childrenClassName, priceDescClassName)} key="descFront" style={{...itemCommonStyle}}>{priceText}</Text>,
92
94
  smallPrice && !isHideSmallPrice ? <Text className={classNames(styles.childStyle, styles.smallPrice, sizeStyles['smallPrice'], styles.smallStyle, missColorStyle, childrenClassName, smallPriceClassName)} key="smallPrice" style={{...itemCommonStyle}}>¥{smallPrice}</Text> : null,
93
95
  !isPriceDescInFront && <Text className={classNames(styles.childStyle, styles.priceDesc, sizeStyles['priceDesc'], styles.smallStyle, styles.missPriceDesc, missColorStyle, childrenClassName, priceDescClassName)} key="descBack" style={{...itemCommonStyle}}>{priceText}</Text>
94
96
  ]
95
97
  ]
96
98
  }
97
99
  </View>
98
100
  )
@@ -1 +1 @@
1
- import React from 'react'
2
1
  priceLabelText: "到手价"
2
+ import React from 'react'
3
3
  <BasePrice {...props}/>
4
4
  :
5
5
  <DoublePrice {...props} />
@@ -1 +1 @@
1
- import React from 'react'
2
1
  return FloorContentItem ? (
3
2
  <FloorContentItem {...props} dataDefines={dataDefines} />
4
3
  ) : isDevMode ? (
5
4
  renderDecorateDefaultModule()
6
5
  ) : null
6
+ import React from 'react'
7
7
  return FloorContentItem ? (
8
8
  <FloorContentItem {...props} dataDefines={dataDefines} />
9
9
  ) : isDevMode ? (
10
10
  renderDecorateDefaultModule()
11
11
  ) : null
@@ -1 +1 @@
1
- import React from 'react'
2
1
  subMessage?: string
3
2
  showCommonFloorHead?: boolean
4
3
  customErrorIsvFloorModule?: React.ReactElement | undefined
5
4
  containerIndex?: number
6
5
  containerData?: any
7
6
  shopTotalInfo?: any
8
7
  selectContainerFn?: Function
9
8
  selectContainerId?: string
10
9
  placeHolderPreContainerId?: string
11
10
  children?: any
12
11
  style?: {
13
12
  [key: string]: any
14
13
  };
15
14
  layoutLeftRightMargin?: number
16
15
  }
16
+ import React from 'react'
17
17
  subMessage?: string
18
18
  showCommonFloorHead?: boolean
19
19
  customErrorIsvFloorModule?: React.ReactElement | undefined
20
20
  containerIndex?: number
21
21
  containerData?: any
22
22
  shopTotalInfo?: any
23
23
  selectContainerFn?: Function
24
24
  selectContainerId?: string
25
25
  placeHolderPreContainerId?: string
26
26
  children?: any
27
27
  style?: {
28
28
  [key: string]: any
29
29
  };
30
30
  layoutLeftRightMargin?: number
31
31
  }
32
32
  onFormSubmit?: Function
33
33
  onFormReset?: Function
34
34
  isFormDialog?: boolean
35
35
  forbiddenBgScrollState?: boolean
@@ -1 +1 @@
1
- export declare namespace JumpEventReportInterFace {
2
1
  export interface ShopIdsInfo {
3
2
  shopId?: number | string
4
3
  venderId?: number | string
5
4
  logEventInfo?: object
6
5
  type?: string
7
6
  }
8
7
  export interface RouterInfo {
9
8
  params: any
10
9
  pageParamStr?: string
11
10
  [key: string]: any
12
11
  }
13
12
  export interface JumpMiniPath {
14
13
  shop: string
15
14
  shopx: string
16
15
  detail: string
17
16
  searchCoupon: string
18
17
  h5: string
19
18
  jingGouHome: string
20
19
  shopFans: string
21
20
  shopLight: string
22
21
  couponSearch: string
23
22
  }
24
23
  export interface jumpWebUrl {
25
24
  mshop: string
26
25
  pages: string
27
26
  couponSearch: string
28
27
  shopSecondActivity: string
29
28
  shopLight: string
30
29
  detail: string
31
30
  mobileHome: string
32
31
  rank: string
33
32
  wqShopMember: string
34
33
  wqShopDetail: string
35
34
  wqShopSearch: string
36
35
  shopMember: string
37
36
  shopMemberPointDetail: string
38
37
  shopMemberBenefit: string
39
38
  shopMemberRule: string
40
39
  shopMemberCloseAccount: string
41
40
  shopMemberPointExchange: string
42
41
  shopMemberBonusPurchase: string
43
42
  shopMemberGood: string
44
43
  beanDetail: string
45
44
  totalPromotion: string
46
45
  mLive: string
47
46
  shopHome: string
48
47
  shopIntroduce: string
49
48
  shopSearch: string
50
49
  shopLottery: string
51
50
  shopCoupon: string
52
51
  shopWares: string
53
52
  shopFastShopping: string
54
53
  shopSpeciSeckill: string
55
54
  shopVideos: string
56
55
  shopUseShareOrderUgcContent: string
57
56
  dongDongChat: string
58
57
  samCenter: string
59
58
  samCard: string
60
59
  }
61
60
  export interface EventReportConfig {
62
61
  routerInfo: RouterInfo
63
62
  nativeEvent: any
64
63
  }
65
64
  export interface OptEventLogParams {
66
65
  eventId?: string
67
66
  eventParam?: string | object
68
67
  pTag?: string
69
68
  jsonParam?: {
70
69
  [key: string]: any
71
70
  }
72
71
  skuId?: string | number
73
72
  eventLevel?: string
74
73
  exposureState?: boolean
75
74
  otherParams?: object
76
75
  }
77
76
 
78
77
  export interface JumpH5ReportConfig {
79
78
  shopId?: number | string
80
79
  venderId?: number | string
81
80
  sourceValue?: string
82
81
  sourceType?: string
83
82
  }
84
83
  export interface JumpEventReportInit extends EventReportConfig {
85
84
  getConfig(opt): EventReportConfig
86
85
  updateInfo(routerInfo, logPname): void
87
86
  }
88
87
  export interface CouponUrlParams {
89
88
  batchId: number
90
89
  bindType: number
91
90
  startTime?: number
92
91
  endTime?: number
93
92
  quangoufrom?: number
94
93
  sceneId?: number
95
94
  }
96
95
  export interface JdMiniJumpParams {
97
96
  param: string | object
98
97
  sourceValue: string
99
98
  sourceType: string
100
99
  des?: any
101
100
  logEventInfo?: object
102
101
  }
103
102
  export interface LinkMiniParams {
104
103
  param?: {
105
104
  pageType?: string
106
105
  }
107
106
  appId?: string | number
108
107
  path?: string
109
108
  }
110
109
  export interface JdJumpWxappReportConfig {
111
110
  wxApiVersion: string
112
111
  wxApiUrl: string
113
112
  wqReportUrl: string
114
113
  }
114
+ export declare namespace JumpEventReportInterFace {
115
115
  export interface ShopIdsInfo {
116
116
  shopId?: number | string
117
117
  venderId?: number | string
118
118
  logEventInfo?: object
119
119
  type?: string
120
120
  }
121
121
  export interface RouterInfo {
122
122
  params: any
123
123
  pageParamStr?: string
124
124
  [key: string]: any
125
125
  }
126
126
  export interface JumpMiniPath {
127
127
  shop: string
128
128
  shopx: string
129
129
  detail: string
130
130
  searchCoupon: string
131
131
  h5: string
132
132
  jingGouHome: string
133
133
  shopFans: string
134
134
  shopLight: string
135
135
  couponSearch: string
136
136
  }
137
137
  export interface jumpWebUrl {
138
138
  mshop: string
139
139
  pages: string
140
140
  couponSearch: string
141
141
  shopSecondActivity: string
142
142
  shopLight: string
143
143
  detail: string
144
144
  mobileHome: string
145
145
  rank: string
146
146
  wqShopMember: string
147
147
  wqShopDetail: string
148
148
  wqShopSearch: string
149
149
  shopMember: string
150
150
  shopMemberPointDetail: string
151
151
  shopMemberBenefit: string
152
152
  shopMemberRule: string
153
153
  shopMemberCloseAccount: string
154
154
  shopMemberPointExchange: string
155
155
  shopMemberBonusPurchase: string
156
156
  shopMemberGood: string
157
157
  beanDetail: string
158
158
  totalPromotion: string
159
159
  mLive: string
160
160
  shopHome: string
161
161
  shopIntroduce: string
162
162
  shopSearch: string
163
163
  shopLottery: string
164
164
  shopCoupon: string
165
165
  shopWares: string
166
166
  shopFastShopping: string
167
167
  shopSpeciSeckill: string
168
168
  shopVideos: string
169
169
  shopUseShareOrderUgcContent: string
170
170
  dongDongChat: string
171
171
  samCenter: string
172
172
  samCard: string
173
173
  shopH5MemberCardAPP: string
174
174
  shopH5MemberCardM: string
175
175
  }
176
176
  export interface EventReportConfig {
177
177
  routerInfo: RouterInfo
178
178
  nativeEvent: any
179
179
  }
180
180
  export interface OptEventLogParams {
181
181
  eventId?: string
182
182
  eventParam?: string | object
183
183
  pTag?: string
184
184
  jsonParam?: {
185
185
  [key: string]: any
186
186
  }
187
187
  skuId?: string | number
188
188
  eventLevel?: string
189
189
  exposureState?: boolean
190
190
  otherParams?: object
191
191
  }
192
192
 
193
193
  export interface JumpH5ReportConfig {
194
194
  shopId?: number | string
195
195
  venderId?: number | string
196
196
  sourceValue?: string
197
197
  sourceType?: string
198
198
  }
199
199
  export interface JumpEventReportInit extends EventReportConfig {
200
200
  getConfig(opt): EventReportConfig
201
201
  updateInfo(routerInfo, logPname): void
202
202
  }
203
203
  export interface CouponUrlParams {
204
204
  batchId: number
205
205
  bindType: number
206
206
  startTime?: number
207
207
  endTime?: number
208
208
  quangoufrom?: number
209
209
  sceneId?: number
210
210
  }
211
211
  export interface JdMiniJumpParams {
212
212
  param: string | object
213
213
  sourceValue: string
214
214
  sourceType: string
215
215
  des?: any
216
216
  logEventInfo?: object
217
217
  }
218
218
  export interface LinkMiniParams {
219
219
  param?: {
220
220
  pageType?: string
221
221
  }
222
222
  appId?: string | number
223
223
  path?: string
224
224
  }
225
225
  export interface JdJumpWxappReportConfig {
226
226
  wxApiVersion: string
227
227
  wxApiUrl: string
228
228
  wqReportUrl: string
229
229
  }
@@ -1 +1 @@
1
- import { ComponentInterFace } from './component'
2
1
  mobileLogin: string
2
+ import { ComponentInterFace } from './component'
3
3
  mobileLogin: string
4
4
  isLogin: string