@conecli/cone-render 0.8.38-beta.0 → 0.8.39

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 (33) hide show
  1. package/dist/common/const.ts +1 -1
  2. package/dist/common/index.h5.ts +1 -1
  3. package/dist/common/index.jd.ts +1 -1
  4. package/dist/common/index.ts +1 -1
  5. package/dist/common/index.weapp.ts +1 -1
  6. package/dist/common/jssdk.ts +1 -1
  7. package/dist/common/pageType.ts +1 -0
  8. package/dist/common/token/index.h5.ts +1 -1
  9. package/dist/common/token/token.jd.ts +1 -1
  10. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  11. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  12. package/dist/components/base/MobileCommonHeader/index.module.scss +9 -0
  13. package/dist/components/base/MobileCommonHeader/index.tsx +1 -0
  14. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  15. package/dist/components/base/Price/Double/index.tsx +1 -1
  16. package/dist/components/base/Price/index.tsx +1 -1
  17. package/dist/components/decorate/DecorateFloorModule/index.module.scss +21 -2
  18. package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
  19. package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
  20. package/dist/interface/component.ts +1 -1
  21. package/dist/jumpEventReport/const.ts +1 -1
  22. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  23. package/dist/jumpEventReport/web.base.ts +1 -1
  24. package/dist/jumpEventReport/web.jd.ts +1 -1
  25. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  26. package/dist/open/api/environment.ts +1 -1
  27. package/dist/open/api/index.ts +1 -1
  28. package/dist/open/components/index.ts +1 -1
  29. package/dist/service/fetchGateway.ts +1 -1
  30. package/dist/service/http/const.ts +1 -1
  31. package/dist/service/requestServer.ts +1 -1
  32. package/dist/utils/utils.ts +1 -1
  33. package/package.json +1 -1
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  const getValue = `${obj[key]}`.replace(/undefined/,'').replace(/null/,'')
3
2
  paramStr += `${index === 0 ? '' : '&'}${key}=${encodeURIComponent(getValue)}`
4
3
  if(!imgUrl.includes('360buyimg.com')){
5
4
  imgUrl = '//m.360buyimg.com/cms/' + imgUrl
6
5
  }
7
6
  if(quality != 100) imgUrl += /\.png/.test(imgUrl) ? '.dpg' : `!q${quality}`
8
7
  pin?: string
9
8
  visitkey?: string
10
9
  [key: string]: any
11
10
  }
12
11
  jdpin,
13
12
  pinStatus,
14
13
  visitkey,
15
14
  unionid,
16
15
  skey,
17
16
  __jda,
18
17
  __jdv,
19
18
  __wga,
20
19
  wxapp_type,
21
20
  appType
22
21
  } = cookie
23
22
  const getUserCookieObj = {}
24
23
  jdpin,
25
24
  pinStatus,
26
25
  visitkey,
27
26
  unionid,
28
27
  skey,
29
28
  __jda,
30
29
  __jdv,
31
30
  __wga,
32
31
  wid,
33
32
  wq_skey,
34
33
  wq_uin,
35
34
  wq_auth_token,
36
35
  wxapp_scene,
37
36
  wq_unionid,
38
37
  wxapp_openid,
39
38
  wxapp_version,
40
39
  wxapp_type,
41
40
  appType
42
41
  name = name === 'jdpin' ? 'pin' : name;
43
42
  name === 'pin' && (ret.push(`pt_pin=${encodeURIComponent(value)}`))
44
43
  ret.push(`${name}=${encodeURIComponent(value)}`)
45
44
  getUserCookieObj[name] = value
46
45
  }
47
46
  wqCookie: getUserCookieObj
48
47
  exceptionReportFn
49
48
  if(getFloorData?.floorExtInfo?.floorLoadWay === 2){
50
49
  const getSysFloorToLoadTypeRes = isIsvFloorUseable(getFloorData, exceptionReportFn)
51
50
  !getSysFloorToLoadTypeRes && (getFloorData.floorExtInfo.floorLoadWay = 1)
52
51
  }
53
52
  const isIsvContainer = (containerId, floorListData, containerListData) => {
54
53
  const objContainer = containerListData.find(item => item.containerId === containerId)
55
54
  (itemUid) => {
56
55
  const objectFloor = floorListData.find(floorItem => itemUid === floorItem.uid)
57
56
  return RemoteLoadFloorList.includes(objectFloor?.floorExtInfo?.moduleFlag)
58
57
  }
59
58
  )?? false
60
59
  isChartH5,
61
60
  isH5AndJdShopViewH5Scroll,
62
61
  isMemberPage,
63
62
  isPc,
64
63
  ipLoc_djd,
64
+ import Taro from '@tarojs/taro'
65
65
  const getValue = `${obj[key]}`.replace(/undefined/,'').replace(/null/,'')
66
66
  paramStr += `${index === 0 ? '' : '&'}${key}=${encodeURIComponent(getValue)}`
67
67
  !imgUrl.match(
68
68
  /(storage\.360buyimg\.com)|(jdcloud-oss\.com)|(imgcps\.jd\.com)|((\w+)\.300hu\.com)|(thirdwx\.qlogo\.cn)|(!q)|gif|dpg$/i,
69
69
  )
70
70
  if(!imgUrl.includes('360buyimg.com')){
71
71
  imgUrl = '//m.360buyimg.com/cms/' + imgUrl
72
72
  }
73
73
  if(quality != 100) imgUrl += /\.png/.test(imgUrl) ? '.dpg' : `!q${quality}`
74
74
  pin?: string
75
75
  visitkey?: string
76
76
  [key: string]: any
77
77
  }
78
78
  jdpin,
79
79
  pinStatus,
80
80
  visitkey,
81
81
  unionid,
82
82
  skey,
83
83
  __jda,
84
84
  __jdv,
85
85
  __wga,
86
86
  wxapp_type,
87
87
  appType
88
88
  } = cookie
89
89
  const getUserCookieObj = {}
90
90
  jdpin,
91
91
  pinStatus,
92
92
  visitkey,
93
93
  unionid,
94
94
  skey,
95
95
  __jda,
96
96
  __jdv,
97
97
  __wga,
98
98
  wid,
99
99
  wq_skey,
100
100
  wq_uin,
101
101
  wq_auth_token,
102
102
  wxapp_scene,
103
103
  wq_unionid,
104
104
  wxapp_openid,
105
105
  wxapp_version,
106
106
  wxapp_type,
107
107
  appType
108
108
  name = name === 'jdpin' ? 'pin' : name;
109
109
  name === 'pin' && (ret.push(`pt_pin=${encodeURIComponent(value)}`))
110
110
  ret.push(`${name}=${encodeURIComponent(value)}`)
111
111
  getUserCookieObj[name] = value
112
112
  }
113
113
  wqCookie: getUserCookieObj
114
114
  exceptionReportFn
115
115
  if(getFloorData?.floorExtInfo?.floorLoadWay === 2){
116
116
  const getSysFloorToLoadTypeRes = isIsvFloorUseable(getFloorData, exceptionReportFn)
117
117
  !getSysFloorToLoadTypeRes && (getFloorData.floorExtInfo.floorLoadWay = 1)
118
118
  }
119
119
  const isIsvContainer = (containerId, floorListData, containerListData) => {
120
120
  const objContainer = containerListData.find(item => item.containerId === containerId)
121
121
  (itemUid) => {
122
122
  const objectFloor = floorListData.find(floorItem => itemUid === floorItem.uid)
123
123
  return RemoteLoadFloorList.includes(objectFloor?.floorExtInfo?.moduleFlag)
124
124
  }
125
125
  )?? false
126
126
  isChartH5,
127
127
  isH5AndJdShopViewH5Scroll,
128
128
  isMemberPage,
129
129
  isPc,
130
130
  ipLoc_djd,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conecli/cone-render",
3
- "version": "0.8.38-beta.0",
3
+ "version": "0.8.39",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist/"