@conecli/cone-render 0.8.15-alpha.2 → 0.8.15-alpha.21

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 (35) hide show
  1. package/dist/api/index.ts +1 -1
  2. package/dist/common/index.h5.ts +1 -1
  3. package/dist/components/ErrorBoundary.tsx +1 -1
  4. package/dist/components/base/Exposure/index.h5.module.scss +2 -1
  5. package/dist/components/base/Exposure/index.h5.tsx +1 -1
  6. package/dist/components/base/Exposure/index.tsx +1 -1
  7. package/dist/components/base/ExposureSmart/index.h5.module.scss +5 -7
  8. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  9. package/dist/components/base/Skeleton/index.tsx +1 -1
  10. package/dist/components/floorItem.tsx +1 -1
  11. package/dist/interface/service.ts +1 -1
  12. package/dist/jumpEventReport/base.ts +1 -1
  13. package/dist/jumpEventReport/const.ts +1 -1
  14. package/dist/jumpEventReport/index.weapp.ts +1 -1
  15. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  16. package/dist/jumpEventReport/web.base.ts +1 -1
  17. package/dist/jumpEventReport/web.jd.ts +1 -1
  18. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  19. package/dist/libs/taroAppReport.js +1 -4
  20. package/dist/modules/ContainerFloorList/index.h5.module.scss +28 -27
  21. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  22. package/dist/utils/h5Utils.ts +1 -1
  23. package/dist/utils/index.h5.ts +1 -1
  24. package/package.json +4 -1
  25. package/dist/components/BuiltInComponentDefined.ts +0 -1
  26. package/dist/components/system/Banner/index.module.scss +0 -75
  27. package/dist/components/system/Banner/index.tsx +0 -1
  28. package/dist/components/system/PictureHotSpot/index.module.scss +0 -33
  29. package/dist/components/system/PictureHotSpot/index.old.tsx +0 -1
  30. package/dist/components/system/PictureHotSpot/index.tsx +0 -1
  31. package/dist/components/system/Video/index.module.scss +0 -23
  32. package/dist/components/system/Video/index.tsx +0 -1
  33. package/dist/libs/aes.min.js +0 -37
  34. package/dist/libs/mo.min.js +0 -4
  35. package/dist/modules/decorate/floor.tsx +0 -1
package/dist/api/index.ts CHANGED
@@ -1 +1 @@
1
- import { protocol, isBetaServer, isH5 } from '../config/env'
1
+ import { protocol, isBetaServer, isH5 } from '../config/env'
2
2
  mobileLogin: `${protocol}//conecli.com`,
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  urlCookie
2
+ import Taro from '@tarojs/taro'
3
3
  urlCookie
@@ -1 +1 @@
1
- import React from 'react'
1
+ import React from 'react'
@@ -1,7 +1,8 @@
1
1
 
2
2
  .d-floor-exposure {
3
+ position: absolute;
4
+ width: 1PX;
3
5
  height: 0;
4
- width: 100%;
5
6
  opacity: 0;
6
7
  pointer-events: none;
7
8
  }
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
2
2
  (
3
3
  <View
4
4
  className={classNames(
5
5
  exposureStyle['d-floor-exposure'],
6
6
  className,
7
7
  floorName,
8
8
  )}
9
9
  id={`J_floor_${floorName}`}
10
10
  />
11
11
  )
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
2
2
  <View
3
3
  className={classNames(
4
4
  exposureStyle['d-floor-exposure'],
5
5
  className,
6
6
  floorName,
7
7
  )}
8
8
  id={floorName}
9
9
  />
10
10
  ): null
@@ -1,10 +1,8 @@
1
1
 
2
2
  .root {
3
- position: absolute;
4
- left: 0;
5
- top: 0;
6
- width: 100%;
7
- height: 100%;
8
- min-width: 1PX;
9
- min-height: 1PX;
3
+ position: absolute;
4
+ width: 1PX;
5
+ height: 0;
6
+ opacity: 0;
7
+ pointer-events: none;
10
8
  }
@@ -1 +1 @@
1
- import React, { useCallback, useEffect, useRef, useState } from 'react'
2
1
  const [componentShowState, setComponentShowState] = useState(false)
3
2
  const componentLazyRef = useRef<HTMLElement | null>(null)
4
3
  const componentShowStateRef = useRef(false)
5
4
  useEffect(() => {
6
5
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
7
6
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
8
7
  Taro.eventCenter.on(TaroEventType.PAGE_SCROLL, (res) => {
9
8
  !componentShowStateRef.current && dealPageScrollInfo(res)
10
9
  })
11
10
 
12
11
 
13
12
  <View
14
13
  ref={componentLazyRef}
15
14
  className={classNames(
16
15
  imageStyle['d-app-lazy-image'],
17
16
  {
18
17
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
19
18
  },
20
19
  {
21
20
  [imageStyle['d-hide-image-error']]: imageErrState,
22
21
  },
23
22
  {
24
23
  [imageStyle['d-load-completed']]: loadSuccess,
25
24
  },
26
25
  {
27
26
  'd-imag-rendering-crisp-edges':
28
27
  !taroJdBaseInfo.info.pageInfo.isVipShop &&
29
28
  imagRenderingSet,
30
29
  },
31
30
  'J_html5ImageBg',
32
31
  className,
33
32
  )}
34
33
  style={{
35
34
  ...style,
36
35
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
37
36
  }}
38
37
  >
39
38
  {(componentShowState || lazyLoad === false) && <img
40
39
  src={getQualityImage(
41
40
  imgSrc,
42
41
  taroJdBaseInfo.info.pageInfo.isVipShop
43
42
  ? NetWorkTypeQuality['perfect']
44
43
  : NetWorkTypeQuality[getNetWorkType],
45
44
  )}
46
45
  onLoad={imageLoad.bind(this, imgSrc)}
47
46
  onError={imageError}
48
47
  />}
49
48
  </View>
50
49
  ) : (
51
50
  <Image
52
51
  style={{
53
52
  ...style,
54
53
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
55
54
  }}
56
55
  className={classNames(
57
56
  imageStyle['d-lazy-image'],
58
57
  {
59
58
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
60
59
  },
61
60
  {
62
61
  [imageStyle['d-hide-image-error']]: imageErrState,
63
62
  },
64
63
  {
65
64
  [imageStyle['d-load-completed']]: loadSuccess,
66
65
  },
67
66
  {
68
67
  'd-imag-rendering-crisp-edges': imagRenderingSet,
69
68
  },
70
69
  className,
71
70
  )}
72
71
  src={getQualityImage(
73
72
  imgSrc,
74
73
  NetWorkTypeQuality[getNetWorkType],
75
74
  )}
76
75
  lazyLoad={lazyLoad}
77
76
  onError={imageError}
78
77
  onLoad={imageLoad.bind(this, imgSrc)}
79
78
  {...otherOption}
80
79
  />
81
80
  )
81
+ import React, { useCallback, useEffect, useRef, useState } from 'react'
82
82
  const [componentShowState, setComponentShowState] = useState(false)
83
83
  const componentLazyRef = useRef<HTMLElement | null>(null)
84
84
  const componentShowStateRef = useRef(false)
85
85
  useEffect(() => {
86
86
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
87
87
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
88
88
  Taro.eventCenter.on(TaroEventType.PAGE_SCROLL, (res) => {
89
89
  !componentShowStateRef.current && dealPageScrollInfo(res)
90
90
  })
91
91
 
92
92
 
93
93
  <View
94
94
  ref={componentLazyRef}
95
95
  className={classNames(
96
96
  imageStyle['d-app-lazy-image'],
97
97
  {
98
98
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
99
99
  },
100
100
  {
101
101
  [imageStyle['d-hide-image-error']]: imageErrState,
102
102
  },
103
103
  {
104
104
  [imageStyle['d-load-completed']]: loadSuccess,
105
105
  },
106
106
  {
107
107
  'd-imag-rendering-crisp-edges':
108
108
  !taroJdBaseInfo.info.pageInfo.isVipShop &&
109
109
  imagRenderingSet,
110
110
  },
111
111
  'J_html5ImageBg',
112
112
  className,
113
113
  )}
114
114
  style={{
115
115
  ...style,
116
116
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
117
117
  >
118
118
  {(componentShowState || lazyLoad === false) && <img
119
119
  src={getQualityImage(
120
120
  imgSrc,
121
121
  taroJdBaseInfo.info.pageInfo.isVipShop
122
122
  ? NetWorkTypeQuality['perfect']
123
123
  : NetWorkTypeQuality[getNetWorkType],
124
124
  )}
125
125
  onLoad={imageLoad.bind(this, imgSrc)}
126
126
  onError={imageError}
127
127
  />}
128
128
  </View>
129
129
  ) : (
130
130
  <Image
131
131
  style={{
132
132
  ...style,
133
133
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
134
134
  }}
135
135
  className={classNames(
136
136
  imageStyle['d-lazy-image'],
137
137
  {
138
138
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
139
139
  },
140
140
  {
141
141
  [imageStyle['d-hide-image-error']]: imageErrState,
142
142
  },
143
143
  {
144
144
  [imageStyle['d-load-completed']]: loadSuccess,
145
145
  },
146
146
  {
147
147
  'd-imag-rendering-crisp-edges': imagRenderingSet,
148
148
  },
149
149
  className,
150
150
  )}
151
151
  src={getQualityImage(
152
152
  imgSrc,
153
153
  NetWorkTypeQuality[getNetWorkType],
154
154
  )}
155
155
  lazyLoad={lazyLoad}
156
156
  onError={imageError}
157
157
  onLoad={imageLoad.bind(this, imgSrc)}
158
158
  {...otherOption}
159
159
  />
160
160
  )
@@ -1 +1 @@
1
- import ContentLoader from 'react-content-loader'
1
+ import React from 'react'
2
2
  <View className={blockStyle['skeleton-header']}>
3
3
  <Image
4
4
  className={blockStyle['skeleton-header-img']}
5
5
  src={ShopHeaderSvgUrl}
6
6
  mode='widthFix'
7
7
  />
8
8
  </View>
9
9
  <View className={blockStyle['skeleton-new-product']}>
10
10
  <ContentLoader viewBox='0 0 375 280' {...props}>
11
11
  <rect x='10' y='38' rx='5' ry='5' width='355' height='55' />
12
12
  <rect x='12' y='112' rx='3' ry='3' width='111' height='95' />
13
13
  <rect x='12' y='11' rx='3' ry='3' width='100' height='10' />
14
14
  <rect x='254' y='112' rx='3' ry='3' width='111' height='95' />
15
15
  <rect x='14' y='218' rx='0' ry='0' width='111' height='27' />
16
16
  <rect x='261' y='217' rx='0' ry='0' width='111' height='27' />
17
17
  <rect x='134' y='112' rx='3' ry='3' width='111' height='95' />
18
18
  <rect x='133' y='218' rx='0' ry='0' width='111' height='27' />
19
19
  <rect x='20' y='255' rx='0' ry='0' width='100' height='9' />
20
20
  <rect x='140' y='255' rx='0' ry='0' width='100' height='9' />
21
21
  <rect x='263' y='255' rx='0' ry='0' width='100' height='9' />
22
22
  </ContentLoader>
23
23
  </View>
@@ -1 +1 @@
1
- import React, { Suspense, lazy } from 'react'
1
+ import React, { Suspense, lazy } from 'react'
@@ -1 +1 @@
1
- import { ComponentInterFace } from './component'
1
+ import { ComponentInterFace } from './component'
2
2
  mobileLogin: string
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- import { isH5 } from '../utils'
1
+ import { isH5 } from '../utils'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  if(global){
3
2
  if(global.miniAppLogInstance){
4
3
  }else{
5
4
  console.log('global.miniAppLogInstance为空!')
6
5
  }
7
6
  }else{
8
7
  console.log('global为空!')
9
8
  }
9
+ import Taro from '@tarojs/taro'
10
10
  console.log('京购商详页跳转:', this.jumpMiniPath.detail)
11
11
  if(global){
12
12
  if(global.miniAppLogInstance){
13
13
  }else{
14
14
  console.log('global.miniAppLogInstance为空!')
15
15
  }
16
16
  }else{
17
17
  console.log('global为空!')
18
18
  }
@@ -1 +1 @@
1
- import { domain } from '../../api'
1
+ import { domain } from '../../api'
@@ -1 +1 @@
1
- import global from '../common'
1
+ import global from '../common'
@@ -1 +1 @@
1
- import { JdJumpJdApp } from './jdJumpJdApp'
1
+ import { JdJumpJdApp } from './jdJumpJdApp'
@@ -1 +1 @@
1
- import global from '../common'
1
+ import global from '../common'
2
2
  console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch))
3
3
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if')
4
4
  this.jingGouMiniState = true
5
5
  window.isJingGouMiniViewState = true
6
6
  console.log('进入了 iwx?.miniProgram then ')
7
7
  global.info.isJingGouMiniViewState = true
8
8
  if (location.pathname == '/shop/home') {
9
9
  const getQueryData = parseQueryUrlString(
10
10
  location.search,
11
11
  )
12
12
  this.jdJumpToShopHome({
13
13
  ...getQueryData,
14
14
  type: 'redirectTo',
15
15
  })
16
16
  }
17
17
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle')
18
18
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- /* 2019-04-08 15:33:10 @issue to lijiwen@jd.com Thanks */
3
- var Taro=require("@tarojs/taro");!function(e){var t={};"weapp"===process.env.TARO_ENV&&(t={1e3:["direct","t_1000578828_xcx_1000_wxtd","xcx",""],1001:["direct","t_1000578828_xcx_1001_fxrk","xcx",""],1005:["weixin","t_1000578826_xcx_1005_fxss","xcx",""],1006:["weixin","t_1000578826_xcx_1006_fxss","xcx",""],1007:["weixin","t_1000578832_xcx_1007_drxxkp","xcx",""],1008:["weixin","t_1000578832_xcx_1008_qlxxkp","xcx",""],1011:["weixin","t_1000578833_xcx_1011_smewm","xcx",""],1012:["weixin","t_1000578833_xcx_1012_tpsm","xcx",""],1013:["weixin","t_1000578833_xcx_1013_xcsm","xcx",""],1014:["weixin","t_1000578827_xcx_1014_xcxmbxx","xcx",""],1017:["weixin","t_1000578829_xcx_1017_tyb","xcx",""],1019:["direct","t_1000578830_xcx_1019_qb","xcx",""],1020:["weixin","t_1000072662_xcx_1020_gzhjs","xcx",""],1022:["direct","t_1000578828_xcx_1022_zdrk","xcx",""],1023:["direct","t_1000578828_xcx_1023_zmtb","xcx",""],1024:["direct","t_1000578828_xcx_1024_xcxjs","xcx",""],1025:["weixin","t_1000578833_xcx_1025_smywm","xcx",""],1026:["weixin","t_1000578829_xcx_1026_fjxcx","xcx",""],1027:["weixin","t_1000578826_xcx_1027_dbss","xcx",""],1028:["direct","t_1000578836_xcx_1028_kqkb","xcx",""],1029:["direct","t_1000578836_xcx_1029_kqxq","xcx",""],1030:["weixin","t_1000578829_xcx_1030_zdhcs","xcx",""],1031:["weixin","t_1000578833_xcx_1031_tpsm","xcx",""],1032:["weixin","t_1000578833_xcx_1032_xcsm","xcx",""],1034:["weixin","t_1000578827_xcx_1034_zfwcxx","xcx",""],1035:["weixin","t_1000072662_xcx_1035_cdl","xcx",""],1036:["weixin","t_335139774_xcx_1036_appfxxx","xcx",""],1037:["weixin","t_1000578834_xcx_1037_xcxtz","xcx",""],1038:["weixin","t_1000578834_xcx_1038_xcxtz","xcx",""],1039:["weixin","t_1000578829_xcx_1039_yds","xcx",""],1042:["weixin","t_1000578826_xcx_1042_tjss","xcx",""],1043:["weixin","t_1000072662_xcx_1043_gzhxx","xcx",""],1044:["weixin","t_1000578832_xcx_1044_fxxxkp","xcx",""],1045:["weixin","t_1000578835_xcx_1045_pyq","xcx",""],1047:["weixin","t_1000578833_xcx_1047_smxcxm","xcx",""],1048:["weixin","t_1000578833_xcx_1048_tpsm","xcx",""],1049:["weixin","t_1000578833_xcx_1049_xcsm","xcx",""],1052:["direct","t_1000578836_xcx_1052_kqmdlb","xcx",""],1053:["weixin","t_1000578826_xcx_1053_sys","xcx",""],1054:["direct","t_1000578828_xcx_1054_dbss","xcx",""],1055:["weixin","t_1000578829_xcx_1055_h5hq","xcx",""],1056:["weixin","t_1000578829_xcx_1056_ylbf","xcx",""],1057:["direct","t_1000578830_xcx_1057_yxkxqy","xcx",""],1058:["weixin","t_1000072663_xcx_1058_gzhwz","xcx",""],1059:["weixin","t_1000578829_xcx_1059_yqy","xcx",""],1064:["weixin","t_1000578829_xcx_1064_wifilj","xcx",""],1067:["weixin","t_1000578835_xcx_1067_gzh","xcx",""],1068:["weixin","t_1000578835_xcx_1068_fjxcx","xcx",""],1069:["weixin","t_1000578829_xcx_1069_ydyy","xcx",""],1071:["direct","t_1000578830_xcx_1071_yxklby","xcx",""],1072:["weixin","t_1000578833_xcx_1072_ewmsk","xcx",""],1073:["weixin","t_1000578829_xcx_1073_kfxx","xcx",""],1074:["weixin","t_1000072663_xcx_1074_gzhxx","xcx",""],1077:["weixin","t_1000578829_xcx_1077_yzb","xcx",""],1078:["weixin","t_1000578829_xcx_1078_wifilj","xcx",""],1079:["weixin","t_1000578829_xcx_1079_yxzx","xcx",""],1081:["weixin","t_1000578829_xcx_1081_kfwzl","xcx",""],1082:["weixin","t_1000072663_xcx_1082_hhwzl","xcx",""],1089:["direct","t_1000578828_xcx_1089_ltkxl","xcx",""],1090:["direct","t_1000578828_xcx_1090_xcxcd","xcx",""],1091:["weixin","t_1000072663_xcx_1091_wzspkp","xcx",""],1092:["direct","t_1000578829_xcx_1092_csfwrk","xcx",""],1095:["weixin","t_1000578835_xcx_1095_xcxzj","xcx",""],1096:["direct","t_1000578828_xcx_1096_ltjl","xcx",""],1097:["weixin","t_1000578829_xcx_1097_zfqy","xcx",""]});var n=function(t){var n="";try{n=e.getStorageSync(t)}catch(e){}return n},i=function(t,n){try{e.setStorageSync(t,n)}catch(e){}},a=e.request,x=e.getSystemInfo,r=e.getNetworkType,c="";"weapp"===process.env.TARO_ENV?c="wx-app":"swan"===process.env.TARO_ENV?c="baidu-app":"tt"===process.env.TARO_ENV?c="toutiao-app":"alipay"===process.env.TARO_ENV?c="alipay-app":"rn"===process.env.TARO_ENV?c="rn-app":"h5"===process.env.TARO_ENV&&(c="h5-app");var _="__jda",s="__jdd",p="__jdv",o="union_customerinfo",d=864e5,u=86400,v=1800,l="__refer",h="5YT%aC89$22OI@pQ",f=function(){var e="https://neptune.jd.com/log/m";try{var t=getApp({allowDefault:!0});t&&t.globalRequestUrl&&(e=t.globalRequestUrl.replace(/\/*$/,"/neptune/log/m"))}catch(e){}return e},g=0;function m(e){e=e||"tr-"+g++,this.name=e,this.logCache=[],this.env=[],this.ext={},this.isReady=m.isWxDataReady,m.loggerList&&m.loggerList instanceof Array&&m.loggerList.push(this),m.isInitJda||(m.initJda(),m.isInitJda=!0)}m.loggerList=[],m.dependList={sysinfo:0,netType:0},m.isWxDataReady=!1,m.dataReady=function(e){if(!m.isWxDataReady){m.dependList[e]=1;for(var t in m.dependList)if(!m.dependList[t])return;m.isWxDataReady=!0;t=0;for(var n=m.loggerList.length;t<n;t++)m.loggerList[t].ready();delete m.loggerList}},m.pr=m.prototype,m.pr.ready=function(){this.isReady=!0;for(var e=this.logCache.length,t=0;t<e;t++)this.sendData.apply(this,this.logCache[t])},m.pr.sendData=function(e,t,n){var i;(i="pv"==t?this.initPvData(n):"cl"==t?this.initClickData(n):"cd"==t?this.initShoppingData(n):"od"==t?this.initOrderData(n):"sr"==t?this.initPageUnloadData(n):"ep"==t?this.initExposureData(n):n).tpc=e,i.report_ts=w()/1e3,i.token=m.md5(i.report_ts+h),i.data[0].typ=t,this.request(i,"sr"==t||"cl"==t)},m.pr.send=function(e,t,n){this.isReady?this.sendData.apply(this,arguments):this.logCache.push(arguments)},m.pr.request=function(e,t){var n=!1;if(a({url:f()+"?std="+e.std,data:e,method:"POST",header:{"content-type":"application/json"},success:function(t){console.log("requestDone",e),n=!0}}),t)for(var i=w()+100;w()<i||n;);},m.pr.exports=function(){var e=this;return{set:function(t){e.setData(t)},pv:function(t){e.lastPvTime&&w()-e.lastPvTime<100||(e.lastPvTime=w(),e.env[L]||(e.setupPageview(),e.env[L]=!0),e.send("wx_app.000000","pv",t),e.env[L]=!1)},click:function(t){e.send("wx_app.000001","cl",t)},exposure:function(t){e.send("wx_app.000005","ep",t)},autoClick:function(t){var n,i=t.target.dataset,a=t.currentTarget.dataset;if(i&&i.eid?n=i:a&&a.eid&&(n=a),n){var x={eid:n.eid,elevel:n.elevel,eparam:n.eparam,pname:n.pname,pparam:n.pparam,target:n.target,event:t};e.send("wx_app.000001","cl",x)}},addToCart:function(t){e.send("wx_app.000002","cd",t)},order:function(t){e.send("wx_app.000003","od",t)},pageUnload:function(t){e.send("wx_app.000004","sr",t)},getSeries:function(){return e.env[L]||(e.setupPageview(),e.env[L]=!0),JSON.stringify(e.getSeriesData())},urlAddSeries:function(e){var t=(e||"").indexOf("#"),n="wxappSeries="+encodeURIComponent(this.getSeries());return t>-1?t===e.length-1?e+n:e+"&"+n:e+"#"+n},setMParam:function(t){return e.setMParam(t)}}},function(e){var t=0;function n(e){return a(i(x(e)))}function i(e){return c(_(r(e),8*e.length))}function a(e){for(var n,i=t?"0123456789ABCDEF":"0123456789abcdef",a="",x=0;x<e.length;x++)n=e.charCodeAt(x),a+=i.charAt(n>>>4&15)+i.charAt(15&n);return a}function x(e){for(var t,n,i="",a=-1;++a<e.length;)t=e.charCodeAt(a),n=a+1<e.length?e.charCodeAt(a+1):0,55296<=t&&t<=56319&&56320<=n&&n<=57343&&(t=65536+((1023&t)<<10)+(1023&n),a++),t<=127?i+=String.fromCharCode(t):t<=2047?i+=String.fromCharCode(192|t>>>6&31,128|63&t):t<=65535?i+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(i+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return i}function r(e){var t,n=Array(e.length>>2);for(t=0;t<n.length;t++)n[t]=0;for(t=0;t<8*e.length;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function c(e){for(var t="",n=0;n<32*e.length;n+=8)t+=String.fromCharCode(e[n>>5]>>>n%32&255);return t}function _(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,i=-271733879,a=-1732584194,x=271733878,r=0;r<e.length;r+=16){var c=n,_=i,s=a,l=x;i=u(i=u(i=u(i=u(i=d(i=d(i=d(i=d(i=o(i=o(i=o(i=o(i=p(i=p(i=p(i=p(i,a=p(a,x=p(x,n=p(n,i,a,x,e[r+0],7,-680876936),i,a,e[r+1],12,-389564586),n,i,e[r+2],17,606105819),x,n,e[r+3],22,-1044525330),a=p(a,x=p(x,n=p(n,i,a,x,e[r+4],7,-176418897),i,a,e[r+5],12,1200080426),n,i,e[r+6],17,-1473231341),x,n,e[r+7],22,-45705983),a=p(a,x=p(x,n=p(n,i,a,x,e[r+8],7,1770035416),i,a,e[r+9],12,-1958414417),n,i,e[r+10],17,-42063),x,n,e[r+11],22,-1990404162),a=p(a,x=p(x,n=p(n,i,a,x,e[r+12],7,1804603682),i,a,e[r+13],12,-40341101),n,i,e[r+14],17,-1502002290),x,n,e[r+15],22,1236535329),a=o(a,x=o(x,n=o(n,i,a,x,e[r+1],5,-165796510),i,a,e[r+6],9,-1069501632),n,i,e[r+11],14,643717713),x,n,e[r+0],20,-373897302),a=o(a,x=o(x,n=o(n,i,a,x,e[r+5],5,-701558691),i,a,e[r+10],9,38016083),n,i,e[r+15],14,-660478335),x,n,e[r+4],20,-405537848),a=o(a,x=o(x,n=o(n,i,a,x,e[r+9],5,568446438),i,a,e[r+14],9,-1019803690),n,i,e[r+3],14,-187363961),x,n,e[r+8],20,1163531501),a=o(a,x=o(x,n=o(n,i,a,x,e[r+13],5,-1444681467),i,a,e[r+2],9,-51403784),n,i,e[r+7],14,1735328473),x,n,e[r+12],20,-1926607734),a=d(a,x=d(x,n=d(n,i,a,x,e[r+5],4,-378558),i,a,e[r+8],11,-2022574463),n,i,e[r+11],16,1839030562),x,n,e[r+14],23,-35309556),a=d(a,x=d(x,n=d(n,i,a,x,e[r+1],4,-1530992060),i,a,e[r+4],11,1272893353),n,i,e[r+7],16,-155497632),x,n,e[r+10],23,-1094730640),a=d(a,x=d(x,n=d(n,i,a,x,e[r+13],4,681279174),i,a,e[r+0],11,-358537222),n,i,e[r+3],16,-722521979),x,n,e[r+6],23,76029189),a=d(a,x=d(x,n=d(n,i,a,x,e[r+9],4,-640364487),i,a,e[r+12],11,-421815835),n,i,e[r+15],16,530742520),x,n,e[r+2],23,-995338651),a=u(a,x=u(x,n=u(n,i,a,x,e[r+0],6,-198630844),i,a,e[r+7],10,1126891415),n,i,e[r+14],15,-1416354905),x,n,e[r+5],21,-57434055),a=u(a,x=u(x,n=u(n,i,a,x,e[r+12],6,1700485571),i,a,e[r+3],10,-1894986606),n,i,e[r+10],15,-1051523),x,n,e[r+1],21,-2054922799),a=u(a,x=u(x,n=u(n,i,a,x,e[r+8],6,1873313359),i,a,e[r+15],10,-30611744),n,i,e[r+6],15,-1560198380),x,n,e[r+13],21,1309151649),a=u(a,x=u(x,n=u(n,i,a,x,e[r+4],6,-145523070),i,a,e[r+11],10,-1120210379),n,i,e[r+2],15,718787259),x,n,e[r+9],21,-343485551),n=v(n,c),i=v(i,_),a=v(a,s),x=v(x,l)}return Array(n,i,a,x)}function s(e,t,n,i,a,x){return v((r=v(v(t,e),v(i,x)))<<(c=a)|r>>>32-c,n);var r,c}function p(e,t,n,i,a,x,r){return s(t&n|~t&i,e,t,a,x,r)}function o(e,t,n,i,a,x,r){return s(t&i|n&~i,e,t,a,x,r)}function d(e,t,n,i,a,x,r){return s(t^n^i,e,t,a,x,r)}function u(e,t,n,i,a,x,r){return s(n^(t|~i),e,t,a,x,r)}function v(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}m.md5=n}();var w=function(){return(new Date).getTime()},y=function(){return w()+""+parseInt(2147483647*Math.random())},D=function(e){return"[object Object]"=={}.toString.call(e)},k=function(e,t){if(D(e)&&D(t))for(var n in t)e[n]=t[n]},C=function(e){if(D(e)){var t=[];for(var n in e)"m_param"!==n&&t.push(n+"="+e[n]);return t.join("&")}},R=0,S=R++,j=R++,A=R++,I=R++,T=R++,P=R++,b=R++,q=R++,z=R++,L=R++,O=R++,E=R++,U=R++,N=R++,J=R++,V=R++,W=R++,M=R++,X=R++,F=R++,Y=R++,$=R++,B=R++,H=R++,K=R++,Q=R++,G=R++,Z=R++,ee=R++,te=R++;m.pr.getData=function(e){for(var t={},n=0,i=e.length;n<i;n++){var a=e[n];t[a[0]]=this.env[a[1]]||""}return t};var ne=null;m.pr.setupPageview=function(){var e,a,x,r=this.env,c=w(),h=parseInt(c/1e3),f=n(_),g=n(s),m=n(p);r[z]=!1,e=h,a=r,(x=(g||"").split(".")).length>1?a[z]=a[z]||1*x[1]+v<e:a[z]=!0;var D,k,C,R,S,L,O,J,V,W,F,Y,$,Q=function(e,n,i){var a=(e||"").split("|"),x="",r="",c="",_="",s=!1;a.length>=6&&(n-a[5]<=d?(x=a[1],r=a[2],c=a[3],_=a[4]):s=!0);var p=i[N],o=[];if(ne&&t[ne]){var u=t[ne];o[0]=u[0],o[1]=encodeURIComponent(u[1]),o[2]=encodeURIComponent(u[2])||"none",o[3]=encodeURIComponent(u[3])||"-",ne=null}p&&p.utm_source&&(o[0]=encodeURIComponent(p.utm_source),o[1]=encodeURIComponent(p.utm_campaign||"")||r,o[2]=encodeURIComponent(p.utm_medium||"")||c,o[3]=encodeURIComponent(p.utm_term||"")||_,s=!0);var v=!1;o.length>0&&"direct"!=o[0]?v=(o[0]!==x||o[1]!==r||o[2]!==c)&&"referral"!==o[2]:o.length>0&&"direct"==o[0]&&("direct"===x||!x)&&(v=o[1]!==r||o[2]!==c||o[3]!==_);var l="";return(i[z]||v)&&(x=o[0]||x,r=o[1]||r,c=o[2]||c,_=o[3]||_),(s||v||a.length<5)&&(l=[1,x||"direct",r||"-",c||"none",_||"-",n].join("|")),i[z]=i[z]||v,l}(m,c,r),G=(W=h,F=r,Y=(g||"").split("."),$=1,Y.length>1?(F[z]=F[z]||1*Y[1]+v<W,$=(F[z]?1:1*Y[0]+1)||1):F[z]=!0,F[P]=$),Z=(D=h,k=r,O=(f||"").split("."),J=1,V=1,O.length>5?(J=O[0]||J,C=O[1]||y(),R=O[2]||D,k[z]?(S=O[4]||D,L=D,V=1*O[5]+1||1):(S=O[3]||D,L=O[4]||D,V=1*O[5]||1)):(C=y(),R=S=L=D,V=1),k[ee]=J,k[j]=C,k[A]=R,k[I]=S,k[T]=L,k[b]=V,[J,C,R,S,L,V].join("."));!function(e){if(e[te]&&e[te].pv_sid&&e[te].pv_seq){var t=1*e[te].pv_sid,n=1*e[te].pv_seq;t>99999999||(t>e[b]||t==e[b]&&n>=e[P])&&(e[b]=t,e[P]=n+1)}}(r),Q&&i(p,Q),G=[r[P],h].join("."),Z=[r[ee],r[j],r[A],r[I],r[T],r[b]].join("."),i(s,G),i(_,Z);var ie,ae,xe=function(e,t,n){var i=n[N],a="",x="";if(i&&i.customerinfo)a=i.customerinfo,x=t;else{var r=e instanceof Array?e:[];2==r.length&&t-r[1]<u&&(a=r[0],x=r[1])}return n[K]=a,a?[a,x]:[]}(n(o),h,r);if(i(o,xe),r[q]=Q||m,ie=this.env,(ae=n("jdwcx")||n("jdzdm"))&&(ae.unionid&&(ie[B]=ae.unionid),ae.wxversion&&(ie[H]=ae.wxversion)),!r[E])try{var re=getCurrentPages(),ce=re[re.length-1];ce.__route__?r[E]=ce.__route__:ce.route&&(r[E]=ce.route)}catch(e){}if(r[z])r[M]="",r[X]="";else{var _e=n(l);r[M]=_e[0],r[X]=_e[1]}i(l,[r[E],r[U]])},m.pr.initPvData=function(e){this.pageLoadTime=w(),this.maxClickDeep=0,e=e||{};var t=this.baseEnv(),n=[["sku",Q],["shp",G],["tit",O],["ldt",Z]],i=this.getData(n);return i.page_id=e.pageId||this.env[J]||"",i.pname=e.pname||this.env[V]||this.env[E]||"",i.pparam=e.pparam||this.env[W]||this.env[U]||"",k(t.data[0],i),k(t.data[0].ext,e.ext),t},m.pr.initClickData=function(e){var t,n=this.baseEnv(),i=n.data[0];if(i.eid=e.eid||"",i.eparam=e.eparam||"",i.elevel=e.elevel||"",i.page_id=e.pageId||this.env[J]||"",i.pname=e.pname||this.env[V]||this.env[E]||"",i.pparam=e.pparam||this.env[W]||this.env[U]||"",i.tar=e.target||"",i.x=0,i.y=0,t=e.event,D(t)&&t.type&&t.target){var a=e.event,x=a.touches;if((!x||x.length<1)&&(x=a.changedTouches),x&&x.length>0){i.x=parseInt(x[0].pageX);var r=parseInt(x[0].pageY);i.y=r,r>this.maxClickDeep&&(this.maxClickDeep=r)}}return k(i.ext,e.ext),n},m.pr.initExposureData=m.pr.initClickData,m.pr.initShoppingData=function(e){var t=this.baseEnv(),n=t.data[0];return n.eid=e.eid||"",n.eparam=e.eparam||"",n.elevel=e.elevel||"",n.page_id=e.pageId||this.env[J]||"",n.pname=e.pname||this.env[V]||this.env[E]||"",n.pparam=e.pparam||this.env[W]||this.env[U]||"",n.sku_list=e.shoppingList?JSON.stringify(e.shoppingList):"",k(n.ext,e.ext),t},m.pr.initOrderData=function(e){var t=this.baseEnv(),n=t.data[0];return n.eid=e.eid||"",n.eparam=e.eparam||"",n.elevel=e.elevel||"",n.page_id=e.pageId||this.env[J]||"",n.pname=e.pname||this.env[V]||this.env[E]||"",n.pparam=e.pparam||this.env[W]||this.env[U]||"",n.sku_list=e.orderList?JSON.stringify(e.orderList):"",n.order_total_fee=e.total||0,n.sale_ord_id=e.orderid||"",k(n.ext,e.ext),t},m.pr.initPageUnloadData=function(e){var t=((w()-this.pageLoadTime)/1e3).toFixed(3),n=this.baseEnv(),i=n.data[0];return e=e||{},i.page_id=e.pageId||this.env[J]||"",i.pname=e.pname||this.env[V]||this.env[E]||"",i.pparam=e.pparam||this.env[W]||this.env[U]||"",i.alive_seconds=t,i.click_deep=this.maxClickDeep,k(i.ext,e.ext),n},function(){m.wxDat={};var e=m.wxDat;x({success:function(t){t&&(e.dvc=t.model,e.pixelRatio=(t.pixelRatio||"")+"",e.scr=parseInt(t.windowWidth)+"x"+parseInt(t.windowHeight),e.lang=t.language,e.wxver=t.version,e.sdkver=t.SDKVersion||"")},complete:function(){m.dataReady("sysinfo")}}),r({success:function(t){t&&(e.net=t.networkType)},complete:function(){m.dataReady("netType")}})}(),m.pr.setData=function(e){if(D(e)){var t={account:[F],siteId:[S],skuid:[Q],shopid:[G],title:[O],loadtime:[Z],url:[E],urlParam:[U,C],pageId:[J],pname:[V],pparam:[W],appid:[Y],openid:[$],unionid:[B]};for(var i in e){var a=t[i];a?this.env[a[0]]=a[1]?a[1](e[i]):e[i]:this.ext[i]=e[i]}this.env[N]=e.urlParam||{},e&&D(e.urlParam)&&e.urlParam.m_param&&this.setMParam(e.urlParam.m_param),this.env[Y]||(this.env[Y]=n("appid"))}},m.appDat={},m.setAppData=function(e){for(var t in e)m.appDat[t]=e[t]},m.scene=null,m.setScene=function(e){m.scene=e,ne=e},m.pr.setMParam=function(e){try{this.env[te]=JSON.parse(e)||{}}catch(e){}},m.pr.baseEnv=function(){var e=this.env,t=m.wxDat,i={cli:c,std:e[S]||"WXAPP-JA2016-1",uuid:e[j]||"",scr:t.scr||"",dvc:t.dvc||"",lang:t.lang||"",appkey:e[H]||"",appid:e[Y]||"",openid:e[$]||"",unionid:e[B]||"",gender:t.gender||"",city:t.city||"",province:t.province||"",country:t.country||"",wxver:t.wxver||"",data:[]},a=[["ctp",E],["par",U],["ref",M],["rpr",X],["seq",P],["vts",b],["pin",F],["fst",A],["pst",I],["vct",T]],x=this.getData(a);return x.jsver="TR1.0.0",x.net=t.net||"",x.lat=t.lat||"",x.lon=t.lon||"",x.speed=t.speed||"",x.accuracy=t.accuracy||"",x.pixelRatio=t.pixelRatio||"",x.jdv=e[q]||"",x.customerInfo=e[K]||"",x.unpl=n("unpl")||"",x.scene=m.scene||"",x.sdkver=t.sdkver||"",x.ext={},k(x.ext,this.ext),k(x.ext,m.appDat),i.data.push(x),i},m.pr.getSeriesData=function(){var e=this.env,t={uuid:e[j]||"",std:e[S]||"WXAPP-JA2016-1",seq:e[P],vts:e[b]};return e[H]&&(t.appkey=e[H]),e[Y]&&(t.appid=e[Y]),t},m.initJda=function(){var e=n(_);if(!e){var t=(new Date).getTime();e=[1,t+""+parseInt(2147483647*Math.random()),t,t,t,0].join("."),i(_,e)}return e},module.exports={init:function(e){return new m(e).exports()},setAppData:function(e){m.setAppData(e)},setScene:function(e){m.setScene(e)}}}(Taro);
4
- /* eslint-disable no-new */
1
+ var Taro=require("@tarojs/taro");!function(e){var t={};"weapp"===process.env.TARO_ENV&&(t={1e3:["direct","t_1000578828_xcx_1000_wxtd","xcx",""],1001:["direct","t_1000578828_xcx_1001_fxrk","xcx",""],1005:["weixin","t_1000578826_xcx_1005_fxss","xcx",""],1006:["weixin","t_1000578826_xcx_1006_fxss","xcx",""],1007:["weixin","t_1000578832_xcx_1007_drxxkp","xcx",""],1008:["weixin","t_1000578832_xcx_1008_qlxxkp","xcx",""],1011:["weixin","t_1000578833_xcx_1011_smewm","xcx",""],1012:["weixin","t_1000578833_xcx_1012_tpsm","xcx",""],1013:["weixin","t_1000578833_xcx_1013_xcsm","xcx",""],1014:["weixin","t_1000578827_xcx_1014_xcxmbxx","xcx",""],1017:["weixin","t_1000578829_xcx_1017_tyb","xcx",""],1019:["direct","t_1000578830_xcx_1019_qb","xcx",""],1020:["weixin","t_1000072662_xcx_1020_gzhjs","xcx",""],1022:["direct","t_1000578828_xcx_1022_zdrk","xcx",""],1023:["direct","t_1000578828_xcx_1023_zmtb","xcx",""],1024:["direct","t_1000578828_xcx_1024_xcxjs","xcx",""],1025:["weixin","t_1000578833_xcx_1025_smywm","xcx",""],1026:["weixin","t_1000578829_xcx_1026_fjxcx","xcx",""],1027:["weixin","t_1000578826_xcx_1027_dbss","xcx",""],1028:["direct","t_1000578836_xcx_1028_kqkb","xcx",""],1029:["direct","t_1000578836_xcx_1029_kqxq","xcx",""],1030:["weixin","t_1000578829_xcx_1030_zdhcs","xcx",""],1031:["weixin","t_1000578833_xcx_1031_tpsm","xcx",""],1032:["weixin","t_1000578833_xcx_1032_xcsm","xcx",""],1034:["weixin","t_1000578827_xcx_1034_zfwcxx","xcx",""],1035:["weixin","t_1000072662_xcx_1035_cdl","xcx",""],1036:["weixin","t_335139774_xcx_1036_appfxxx","xcx",""],1037:["weixin","t_1000578834_xcx_1037_xcxtz","xcx",""],1038:["weixin","t_1000578834_xcx_1038_xcxtz","xcx",""],1039:["weixin","t_1000578829_xcx_1039_yds","xcx",""],1042:["weixin","t_1000578826_xcx_1042_tjss","xcx",""],1043:["weixin","t_1000072662_xcx_1043_gzhxx","xcx",""],1044:["weixin","t_1000578832_xcx_1044_fxxxkp","xcx",""],1045:["weixin","t_1000578835_xcx_1045_pyq","xcx",""],1047:["weixin","t_1000578833_xcx_1047_smxcxm","xcx",""],1048:["weixin","t_1000578833_xcx_1048_tpsm","xcx",""],1049:["weixin","t_1000578833_xcx_1049_xcsm","xcx",""],1052:["direct","t_1000578836_xcx_1052_kqmdlb","xcx",""],1053:["weixin","t_1000578826_xcx_1053_sys","xcx",""],1054:["direct","t_1000578828_xcx_1054_dbss","xcx",""],1055:["weixin","t_1000578829_xcx_1055_h5hq","xcx",""],1056:["weixin","t_1000578829_xcx_1056_ylbf","xcx",""],1057:["direct","t_1000578830_xcx_1057_yxkxqy","xcx",""],1058:["weixin","t_1000072663_xcx_1058_gzhwz","xcx",""],1059:["weixin","t_1000578829_xcx_1059_yqy","xcx",""],1064:["weixin","t_1000578829_xcx_1064_wifilj","xcx",""],1067:["weixin","t_1000578835_xcx_1067_gzh","xcx",""],1068:["weixin","t_1000578835_xcx_1068_fjxcx","xcx",""],1069:["weixin","t_1000578829_xcx_1069_ydyy","xcx",""],1071:["direct","t_1000578830_xcx_1071_yxklby","xcx",""],1072:["weixin","t_1000578833_xcx_1072_ewmsk","xcx",""],1073:["weixin","t_1000578829_xcx_1073_kfxx","xcx",""],1074:["weixin","t_1000072663_xcx_1074_gzhxx","xcx",""],1077:["weixin","t_1000578829_xcx_1077_yzb","xcx",""],1078:["weixin","t_1000578829_xcx_1078_wifilj","xcx",""],1079:["weixin","t_1000578829_xcx_1079_yxzx","xcx",""],1081:["weixin","t_1000578829_xcx_1081_kfwzl","xcx",""],1082:["weixin","t_1000072663_xcx_1082_hhwzl","xcx",""],1089:["direct","t_1000578828_xcx_1089_ltkxl","xcx",""],1090:["direct","t_1000578828_xcx_1090_xcxcd","xcx",""],1091:["weixin","t_1000072663_xcx_1091_wzspkp","xcx",""],1092:["direct","t_1000578829_xcx_1092_csfwrk","xcx",""],1095:["weixin","t_1000578835_xcx_1095_xcxzj","xcx",""],1096:["direct","t_1000578828_xcx_1096_ltjl","xcx",""],1097:["weixin","t_1000578829_xcx_1097_zfqy","xcx",""]});var n=function(t){var n="";try{n=e.getStorageSync(t)}catch(e){}return n},i=function(t,n){try{e.setStorageSync(t,n)}catch(e){}},a=e.request,x=e.getSystemInfo,r=e.getNetworkType,c="";"weapp"===process.env.TARO_ENV?c="wx-app":"swan"===process.env.TARO_ENV?c="baidu-app":"tt"===process.env.TARO_ENV?c="toutiao-app":"alipay"===process.env.TARO_ENV?c="alipay-app":"rn"===process.env.TARO_ENV?c="rn-app":"h5"===process.env.TARO_ENV&&(c="h5-app");var _="__jda",s="__jdd",p="__jdv",o="union_customerinfo",d=864e5,u=86400,v=1800,l="__refer",h="5YT%aC89$22OI@pQ",f=function(){var e="https://conecli.com/log/m";try{var t=getApp({allowDefault:!0});t&&t.globalRequestUrl&&(e=t.globalRequestUrl.replace(/\
@@ -1,35 +1,36 @@
1
1
 
2
2
  .d-shop-container-list {
3
- position: relative;
4
- overflow: hidden;
5
- z-index: 2;
3
+ position: relative;
4
+ overflow: hidden;
5
+ z-index: 2;
6
6
 
7
- .d-container-item,
8
- .d-floor-item {
9
- position: relative;
10
- // 不能加overflow 防止IntersectionObserver监听异常
11
- //overflow: hidden;
12
- }
13
-
14
- .d-floor-item {
15
- overflow: hidden;
16
- }
7
+ .d-container-item,
8
+ .d-floor-item {
9
+ position: relative;
10
+ // 不能加overflow 防止IntersectionObserver监听异常
11
+ //overflow: hidden;
12
+ }
13
+
14
+ .d-floor-item {
15
+ overflow: hidden;
16
+ display: block; // 由于taro的View属于一种自定义标签,虽然taro自己会给View设置display为block,但是这个是一个异步过程,而自定义标签的默认display是inline,inline状态下即使设置了overflow:hidden,也会由于内容过大导致宽度被撑大而超出容器实际宽度。所以为了保证楼层容器节点在加载过程中不被撑大,需要显示设置display:block
17
+ }
17
18
 
18
- .d-container-item {
19
- //opacity: 0;
20
- //animation: containerShowToOpacity 500ms;
21
- //animation-fill-mode: forwards;
22
- :global {
23
- .lazyload-placeholder {
24
- background: url('https://img13.360buyimg.com/imagetools/jfs/t1/151010/32/14284/30214/5ff66791Ea1bc6cc6/698c0772b377aef5.png')
25
- center center / 40px 40px no-repeat;
26
- }
27
- }
28
- }
19
+ .d-container-item {
20
+ //opacity: 0;
21
+ //animation: containerShowToOpacity 500ms;
22
+ //animation-fill-mode: forwards;
23
+ :global {
24
+ .lazyload-placeholder {
25
+ background: url('https://img13.360buyimg.com/imagetools/jfs/t1/151010/32/14284/30214/5ff66791Ea1bc6cc6/698c0772b377aef5.png')
26
+ center center / 40px 40px no-repeat;
27
+ }
28
+ }
29
+ }
29
30
 
30
- .d-container-list-no-data {
31
- min-height: 400px;
32
- }
31
+ .d-container-list-no-data {
32
+ min-height: 400px;
33
+ }
33
34
  }
34
35
  //@keyframes containerShowToOpacity {
35
36
  // from {
@@ -1 +1 @@
1
- import React from 'react'
1
+ import React from 'react'
2
2
  NETWORK_DATA_TYPE,
3
3
  M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
4
4
  APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
5
5
  containerFloorListData: ComponentInterFace.ContainerItemData[]
6
6
  className?: string
7
7
  containerItemClass?: object
8
8
  style?: object
9
9
  hasGoodsFeeds?: boolean
10
10
  builtInComponents?: Object
11
11
  loadingEndComponentFn?: Function
12
12
  sectionType?: string
13
13
  updateShopFloorDataFn?: Function
14
14
  updateContainerFloorListDataFn?: Function
15
15
  const {
16
16
  className,
17
17
  style,
18
18
  containerItemClass = null,
19
19
  containerFloorListData,
20
20
  builtInComponents,
21
21
  loadingEndComponentFn,
22
22
  sectionType,
23
23
  updateShopFloorDataFn,
24
24
  updateContainerFloorListDataFn,
25
25
  } = props
26
26
 
27
27
  const renderFloorItem = (
28
28
  item,
29
29
  floorItem,
30
30
  floorIndex,
31
31
  containerLayoutLeftRightMargin,
32
32
  lazyLoadState = false,
33
33
  ) => {
34
34
  return (
35
35
  <View
36
36
  className={classNames(shopContainerListStyle['d-floor-item'])}
37
37
  data-floor-uid={floorItem?.uid}
38
38
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
39
39
  data-lazy-load={lazyLoadState}
40
40
  key={floorItem.uid}
41
41
  id={`J_floor_${floorItem.uid}`}
42
42
  style={{
43
43
  borderRadius: `${item?.borderRadius || 0}px`,
44
44
  }}
45
45
  >
46
46
  <FloorListItem
47
47
  floorIndex={floorIndex}
48
48
  floorData={floorItem}
49
49
  layoutLeftRightMargin={containerLayoutLeftRightMargin}
50
50
  containerBorderRadius={item?.borderRadius || 0}
51
51
  updateShopFloorDataFn={updateShopFloorDataFn}
52
52
  loadingEndComponentFn={loadingEndComponentFn}
53
53
  key={floorItem.uid}
54
54
  builtInComponents={builtInComponents}
55
55
  updateContainerFloorListDataFn={
56
56
  updateContainerFloorListDataFn
57
57
  }
58
58
  />
59
59
  </View>
60
60
  )
61
61
  }
62
62
 
63
63
  const getFloorSetHeight = (item) => {
64
64
  const getHeight = item?.floorExtInfo?.floorHeight
65
65
  ? Number(item?.floorExtInfo?.floorHeight)
66
66
  : 200
67
67
  return getHeight > 0 ? getHeight : 200
68
68
  }
69
69
  return (
70
70
  <View
71
71
  className={classNames(
72
72
  className,
73
73
  shopContainerListStyle['d-shop-container-list'],
74
74
  )}
75
75
  style={style}
76
76
  >
77
77
  <View id='J_shopContainerFloorList'>
78
78
  {containerFloorListData.length > 0 ? (
79
79
  containerFloorListData.map((item, index) => {
80
80
  const containerLayoutLeftRightMargin =
81
81
  (item.marginLeft || 0) + (item.marginRight || 0)
82
82
  const getContainerId = `J_container_${item.containerId}`
83
83
  return (
84
84
  <View
85
85
  className={classNames(
86
86
  shopContainerListStyle['d-container-item'],
87
87
  containerItemClass,
88
88
  )}
89
89
  id={getContainerId}
90
90
  key={item.containerId}
91
91
  data-container-id={item?.containerId}
92
92
  data-container-type={item?.typeCode}
93
93
  style={{
94
94
  marginBottom: item.marginBottom
95
95
  ? `${item.marginBottom}px`
96
96
  : 0,
97
97
  marginTop: item.marginTop
98
98
  ? `${item.marginTop}px`
99
99
  : 0,
100
100
  marginLeft: item.marginLeft
101
101
  ? `${item.marginLeft}px`
102
102
  : 0,
103
103
  marginRight: item.marginRight
104
104
  ? `${item.marginRight}px`
105
105
  : 0,
106
106
  borderRadius: item.borderRadius
107
107
  ? `${item.borderRadius}px`
108
108
  : 0,
109
109
  }}
110
110
  >
111
111
  {item.floors &&
112
112
  item.floors.length > 0 &&
113
113
  item.floors?.map(
114
114
  (floorItem, floorIndex) => {
115
115
  return index > 4 ? (
116
116
  <LazyLayoutLoad
117
117
  key={item.containerId}
118
118
  sectionType={sectionType}
119
119
  containerId={getContainerId}
120
120
  height={getFloorSetHeight(
121
121
  floorItem,
122
122
  )}
123
123
  floorData={floorItem}
124
124
  >
125
125
  {renderFloorItem(
126
126
  item,
127
127
  floorItem,
128
128
  floorIndex,
129
129
  containerLayoutLeftRightMargin,
130
130
  true,
131
131
  )}
132
132
  </LazyLayoutLoad>
133
133
  ) : (
134
134
  renderFloorItem(
135
135
  item,
136
136
  floorItem,
137
137
  floorIndex,
138
138
  containerLayoutLeftRightMargin,
139
139
  )
140
140
  )
141
141
  },
142
142
  )}
143
143
  </View>
144
144
  )
145
145
  })
146
146
  ) : (
147
147
  <View
148
148
  className={
149
149
  shopContainerListStyle['d-container-list-no-data']
150
150
  }
151
151
  style={{
152
152
  height: `${
153
153
  windowHeight -
154
154
  (isJdApp
155
155
  ? APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT
156
156
  : M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT)
157
157
  }px`,
158
158
  }}
159
159
  >
160
160
  <NetworkDataError
161
161
  netWorkShowType={NetWorkShowType.PART}
162
162
  netWorkDataType={NETWORK_DATA_TYPE.DATA_ERROR}
163
163
  />
164
164
  </View>
165
165
  )}
166
166
  </View>
167
167
  </View>
168
168
  )
169
169
  updateShopDataFn: null,
@@ -1 +1 @@
1
- import {
2
1
  isApp,
3
2
  isIOS,
4
3
  getAppVersion,
5
4
  version,
6
5
  getUUID,
7
6
  getUrlQuery,
8
7
  assign,
9
8
  isString,
10
9
  isObject,
11
10
  serialize,
12
11
  isAndroid,
13
12
  CHANNEL_TYPE,
14
13
  JDShopViewBusinessPathType,
15
14
  JDShopViewBusinessPathList,
16
15
  SECTION_HOME_TAB_NAME_TYPE,
17
16
  parseQueryUrlString(window?.location?.href?? ''),
18
17
  if (isJdApp) {
19
18
  isIosDevice
20
19
  ? e && e.stopPropagation()
21
20
  : androidDeviceStopNativeScrollEvent(state)
22
21
  }
23
22
  isJdApp &&
24
23
  isAndroidDevice &&
25
24
  window?.JdAndroid &&
26
25
  window?.JdAndroid.requestEvent(state)
27
26
  if (isH5AndJdShopView) {
28
27
  return (
29
28
  CHANNEL_TYPE[currentChannel] ||
30
29
  CHANNEL_TYPE[JDShopViewBusinessPathType.HOME]
31
30
  )
32
31
  }
33
32
  return null
34
33
  isH5 &&
35
34
  urlPathname === '/app/home' &&
36
35
  JDShopViewBusinessPathList.includes(currentChannel)
36
+ import {
37
37
  isApp,
38
38
  isIOS,
39
39
  getAppVersion,
40
40
  version,
41
41
  getUUID,
42
42
  getUrlQuery,
43
43
  assign,
44
44
  isString,
45
45
  isObject,
46
46
  serialize,
47
47
  isAndroid,
48
48
  CHANNEL_TYPE,
49
49
  JDShopViewBusinessPathType,
50
50
  JDShopViewBusinessPathList,
51
51
  SECTION_HOME_TAB_NAME_TYPE,
52
52
  parseQueryUrlString(window?.location?.href ?? ''),
53
53
  try {
54
54
  return JSON.parse(decodeURIComponent(getUrlQuery('cookie')))
55
55
  } catch (e) {
56
56
  return {}
57
57
  }
58
58
  isWxMiniH5View && urlCookie['wxapp_type'] == '1'
59
59
  if (isJdApp) {
60
60
  isIosDevice
61
61
  ? e && e.stopPropagation()
62
62
  : androidDeviceStopNativeScrollEvent(state)
63
63
  }
64
64
  isJdApp &&
65
65
  isAndroidDevice &&
66
66
  window?.JdAndroid &&
67
67
  window?.JdAndroid.requestEvent(state)
68
68
  if (isH5AndJdShopView) {
69
69
  return (
70
70
  CHANNEL_TYPE[currentChannel] ||
71
71
  CHANNEL_TYPE[JDShopViewBusinessPathType.HOME]
72
72
  )
73
73
  }
74
74
  return null
75
75
  isH5 && ['/app/home', '/app/classify'].includes(urlPathname)
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  nativePageShowToast, ToastAndroidType,
3
2
  ToastIosType
4
3
  getAppChannelType, isAndroidDevice, isH5AndJdShopView,
5
4
  isH5AndJdShopViewNativeScroll, isIosDevice, isJdAndAndroidDevice, isJdAndIosDevice, isJdApp,
6
5
  isWxApp, isWxMiniH5View, isH5AndJingGouMini, urlCookie
7
6
  addHttps, clearTaroStorageKey, countStringify, dateFormat, dealAddress, dealShopContentData as originDealShopContentData, debounce, filterUrlQueryData, formatTabActiveMenuType, getQualityImage, getTaroStorageKeyValue,
8
7
  getWxAppCookieStr, isH5, isJdMin, isWxMin,
9
8
  isWxMinAndWxapp, lodashThrottle, objectToUrlEncode, parseQueryUrlString, removeTaroStorageKey, setLowSmallPicUrl,
10
9
  setTaroStorage, showFailToast,
11
10
  showNormalToast, showSuccessToast, sliceArrToChunkList, throttle
12
11
  <span class="d-shop-loading-icon"></span>
13
12
  <p class="d-shop-text">${text}</p>
14
13
  </div>`
15
14
  return originDealShopContentData(pageData, DraJSAgentReport)
16
15
  isJdApp,
17
16
  isWxApp,
18
17
  isIosDevice,
19
18
  isAndroidDevice,
20
19
  isJdAndIosDevice,
21
20
  isJdAndAndroidDevice,
22
21
  isWxMin,
23
22
  isWxMinAndWxapp,
24
23
  isJdMin,
25
24
  isH5,
26
25
  isH5AndJdShopView,
27
26
  isH5AndJdShopViewNativeScroll,
28
27
  isH5AndJingGouMini,
29
28
  isWxMiniH5View,
30
29
  urlCookie,
31
30
  sliceArrToChunkList,
32
31
  dealAddress,
33
32
  objectToUrlEncode,
34
33
  parseQueryUrlString,
35
34
  setLowSmallPicUrl,
36
35
  setTaroStorage,
37
36
  getTaroStorageKeyValue,
38
37
  removeTaroStorageKey,
39
38
  clearTaroStorageKey,
40
39
  getQualityImage,
41
40
  countStringify,
42
41
  getWxAppCookieStr,
43
42
  getSystemInfos,
44
43
  pxTransformFromData,
45
44
  dateFormat,
46
45
  throttle,
47
46
  lodashThrottle,
48
47
  debounce,
49
48
  addHttps,
50
49
  commonShowSuccessToast as showSuccessToast,
51
50
  commonShowFailToast as showFailToast,
52
51
  commonShowNormalToast as showNormalToast,
53
52
  showShopLoading,
54
53
  hideShopLoading,
55
54
  getAppChannelType,
56
55
  formatTabActiveMenuType,
57
56
  filterUrlQueryData,
57
+ import Taro from '@tarojs/taro'
58
58
  nativePageShowToast, ToastAndroidType,
59
59
  ToastIosType
60
60
  getAppChannelType, isAndroidDevice, isH5AndJdShopView,
61
61
  isH5AndJdShopViewNativeScroll, isIosDevice, isJdAndAndroidDevice, isJdAndIosDevice, isJdApp,
62
62
  isWxApp, isWxMiniH5View, isH5AndJingGouMini, urlCookie
63
63
  addHttps, clearTaroStorageKey, countStringify, dateFormat, dealAddress, dealShopContentData as originDealShopContentData, debounce, filterUrlQueryData, formatTabActiveMenuType, getQualityImage, getTaroStorageKeyValue,
64
64
  getWxAppCookieStr, isH5, isJdMin, isWxMin,
65
65
  isWxMinAndWxapp, lodashThrottle, objectToUrlEncode, parseQueryUrlString, removeTaroStorageKey, setLowSmallPicUrl,
66
66
  setTaroStorage, showFailToast,
67
67
  showNormalToast, showSuccessToast, sliceArrToChunkList, throttle
68
68
  <span class="d-shop-loading-icon"></span>
69
69
  <p class="d-shop-text">${text}</p>
70
70
  </div>`
71
71
  return originDealShopContentData(pageData, DraJSAgentReport)
72
72
  isJdApp,
73
73
  isWxApp,
74
74
  isIosDevice,
75
75
  isAndroidDevice,
76
76
  isJdAndIosDevice,
77
77
  isJdAndAndroidDevice,
78
78
  isWxMin,
79
79
  isWxMinAndWxapp,
80
80
  isJdMin,
81
81
  isH5,
82
82
  isH5AndJdShopView,
83
83
  isH5AndJdShopViewNativeScroll,
84
84
  isH5AndJingGouMini,
85
85
  isWxMiniH5View,
86
86
  urlCookie,
87
87
  sliceArrToChunkList,
88
88
  dealAddress,
89
89
  objectToUrlEncode,
90
90
  parseQueryUrlString,
91
91
  setLowSmallPicUrl,
92
92
  setTaroStorage,
93
93
  getTaroStorageKeyValue,
94
94
  removeTaroStorageKey,
95
95
  clearTaroStorageKey,
96
96
  getQualityImage,
97
97
  countStringify,
98
98
  getWxAppCookieStr,
99
99
  getSystemInfos,
100
100
  pxTransformFromData,
101
101
  dateFormat,
102
102
  throttle,
103
103
  lodashThrottle,
104
104
  debounce,
105
105
  addHttps,
106
106
  commonShowSuccessToast as showSuccessToast,
107
107
  commonShowFailToast as showFailToast,
108
108
  commonShowNormalToast as showNormalToast,
109
109
  showShopLoading,
110
110
  hideShopLoading,
111
111
  getAppChannelType,
112
112
  formatTabActiveMenuType,
113
113
  filterUrlQueryData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conecli/cone-render",
3
- "version": "0.8.15-alpha.2",
3
+ "version": "0.8.15-alpha.21",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist/"
@@ -10,7 +10,9 @@
10
10
  "./components": "./dist/open/components/index.ts",
11
11
  "./modules": "./dist/open/modules/index.ts",
12
12
  "./_api": "./dist/api",
13
+ "./_config/": "./dist/config/",
13
14
  "./_common/": "./dist/common/",
15
+ "./_components/": "./dist/components/",
14
16
  "./_interface": "./dist/interface",
15
17
  "./_jumpEventReport": "./dist/jumpEventReport",
16
18
  "./_jumpEventReport/": "./dist/jumpEventReport/",
@@ -69,6 +71,7 @@
69
71
  "@tarojs/taro-loader": "3.5.4",
70
72
  "@tarojs/webpack5-runner": "3.5.4",
71
73
  "art-template": "^4.13.2",
74
+ "gulp-filter": "^7.0.0",
72
75
  "normalize.css": "^8.0.1",
73
76
  "raf": "^3.4.1",
74
77
  "react": "^18.2.0",
@@ -1 +0,0 @@
1
- import { FloorModuleType } from '../common/const'
@@ -1,75 +0,0 @@
1
- .d-banner {
2
- width: 100%;
3
- position: relative;
4
-
5
- .list {
6
- width: 100%;
7
- position: relative;
8
- &.d-h5-list {
9
- //height: auto;
10
- position: relative;
11
- }
12
-
13
- .d-item {
14
- position: relative;
15
- overflow: hidden;
16
- }
17
-
18
- .d-img-wrap {
19
- position: relative;
20
- width: 100%;
21
- height: 100%;
22
- overflow: hidden;
23
- }
24
- .d-img {
25
- width: 100%;
26
- height: 100%;
27
- position: relative;
28
- overflow: hidden;
29
- }
30
- }
31
-
32
- :global {
33
- // h5 圆点选中样式
34
- .swiper-pagination-bullet-active,
35
- // 小程序圆点选中样式
36
- .wx-swiper-dot-active {
37
- width: 32px;
38
- border-radius: 8px;
39
- }
40
- }
41
-
42
- &.d-decorate-banner {
43
- position: relative;
44
-
45
- :global {
46
-
47
- .swiper-pagination {
48
- position: absolute;
49
- bottom: 10PX;
50
- left: 0;
51
- right: 0;
52
- font-size: 0;
53
- text-align: center;
54
- z-index: 10;
55
- }
56
-
57
-
58
- .swiper-pagination-bullet {
59
- margin: 0 4PX;
60
- width: 8PX;
61
- height: 8PX;
62
- display: inline-block;
63
- border-radius: 50%;
64
- background: #000;
65
- background: rgba(0, 0, 0, .3);
66
- }
67
-
68
- .swiper-pagination-bullet-active {
69
- width: 32px;
70
- border-radius: 8px;
71
- background: #fa2c19;
72
- }
73
- }
74
- }
75
- }
@@ -1 +0,0 @@
1
- import { ComponentInterFace } from '../../../interface/component'
@@ -1,33 +0,0 @@
1
- .d-img-wrap {
2
- position: relative;
3
- .d-img {
4
- display: block;
5
- width: 100%;
6
- height: auto;
7
- // height: 100%;
8
- // 在h5中父级有高度,子元素img不设置高度自适应或有精度丢失
9
- img {
10
- height: 100%;
11
- }
12
- }
13
- .d-sku-price {
14
- position: absolute;
15
- }
16
- .d-sku-price-container {
17
- position: absolute;
18
- line-height: 1.1;
19
- .d-yec-sys {
20
- font-size: 24px;
21
- }
22
- .d-yec-dec {
23
- font-size: 28px;
24
- }
25
- }
26
- .d-price-text {
27
- }
28
- :global {
29
- //.Mini-price{
30
- // color: transparent;
31
- //}
32
- }
33
- }
@@ -1 +0,0 @@
1
- import Taro from '@tarojs/taro'
@@ -1 +0,0 @@
1
- import React, { useRef } from 'react'
@@ -1,23 +0,0 @@
1
-
2
-
3
- .d-video-wrap {
4
- overflow: hidden;
5
-
6
- .d-video-play {
7
- display: block;
8
- width: 100%;
9
- height: 100%;
10
- overflow: hidden;
11
- background-color: transparent;
12
- -webkit-backface-visibility: hidden;
13
- -webkit-transform: translate3d(0, 0, 0);
14
- //video {
15
- // border-radius: 24px;
16
- // overflow: hidden;
17
- //}
18
- //taro-video-core {
19
- // border-radius: 24px;
20
- // overflow: hidden;
21
- //}
22
- }
23
- }
@@ -1 +0,0 @@
1
- import React, { useCallback, useEffect, useRef } from 'react'
@@ -1,37 +0,0 @@
1
- /*
2
- CryptoJS v3.1.2
3
- code.google.com/p/crypto-js
4
- (c) 2009-2013 by Jeff Mott. All rights reserved.
5
- code.google.com/p/crypto-js/wiki/License
6
- */
7
- var CryptoJS=CryptoJS||function(u,p){var d={},l=d.lib={},s=function(){},t=l.Base={extend:function(a){s.prototype=this;var c=new s;a&&c.mixIn(a);c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)});c.init.prototype=c;c.$super=this;return c},create:function(){var a=this.extend();a.init.apply(a,arguments);return a},init:function(){},mixIn:function(a){for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},
8
- r=l.WordArray=t.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=p?c:4*a.length},toString:function(a){return(a||v).stringify(this)},concat:function(a){var c=this.words,e=a.words,j=this.sigBytes;a=a.sigBytes;this.clamp();if(j%4)for(var k=0;k<a;k++)c[j+k>>>2]|=(e[k>>>2]>>>24-8*(k%4)&255)<<24-8*((j+k)%4);else if(65535<e.length)for(k=0;k<a;k+=4)c[j+k>>>2]=e[k>>>2];else c.push.apply(c,e);this.sigBytes+=a;return this},clamp:function(){var a=this.words,c=this.sigBytes;a[c>>>2]&=4294967295<<
9
- 32-8*(c%4);a.length=u.ceil(c/4)},clone:function(){var a=t.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],e=0;e<a;e+=4)c.push(4294967296*u.random()|0);return new r.init(c,a)}}),w=d.enc={},v=w.Hex={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++){var k=c[j>>>2]>>>24-8*(j%4)&255;e.push((k>>>4).toString(16));e.push((k&15).toString(16))}return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j+=2)e[j>>>3]|=parseInt(a.substr(j,
10
- 2),16)<<24-4*(j%8);return new r.init(e,c/2)}},b=w.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++)e.push(String.fromCharCode(c[j>>>2]>>>24-8*(j%4)&255));return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j++)e[j>>>2]|=(a.charCodeAt(j)&255)<<24-8*(j%4);return new r.init(e,c)}},x=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(b.stringify(a)))}catch(c){throw Error("Malformed UTF-8 data");}},parse:function(a){return b.parse(unescape(encodeURIComponent(a)))}},
11
- q=l.BufferedBlockAlgorithm=t.extend({reset:function(){this._data=new r.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var c=this._data,e=c.words,j=c.sigBytes,k=this.blockSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0);a=b*k;j=u.min(4*a,j);if(a){for(var q=0;q<a;q+=k)this._doProcessBlock(e,q);q=e.splice(0,a);c.sigBytes-=j}return new r.init(q,j)},clone:function(){var a=t.clone.call(this);
12
- a._data=this._data.clone();return a},_minBufferSize:0});l.Hasher=q.extend({cfg:t.extend(),init:function(a){this.cfg=this.cfg.extend(a);this.reset()},reset:function(){q.reset.call(this);this._doReset()},update:function(a){this._append(a);this._process();return this},finalize:function(a){a&&this._append(a);return this._doFinalize()},blockSize:16,_createHelper:function(a){return function(b,e){return(new a.init(e)).finalize(b)}},_createHmacHelper:function(a){return function(b,e){return(new n.HMAC.init(a,
13
- e)).finalize(b)}}});var n=d.algo={};return d}(Math);
14
- (function(){var u=CryptoJS,p=u.lib.WordArray;u.enc.Base64={stringify:function(d){var l=d.words,p=d.sigBytes,t=this._map;d.clamp();d=[];for(var r=0;r<p;r+=3)for(var w=(l[r>>>2]>>>24-8*(r%4)&255)<<16|(l[r+1>>>2]>>>24-8*((r+1)%4)&255)<<8|l[r+2>>>2]>>>24-8*((r+2)%4)&255,v=0;4>v&&r+0.75*v<p;v++)d.push(t.charAt(w>>>6*(3-v)&63));if(l=t.charAt(64))for(;d.length%4;)d.push(l);return d.join("")},parse:function(d){var l=d.length,s=this._map,t=s.charAt(64);t&&(t=d.indexOf(t),-1!=t&&(l=t));for(var t=[],r=0,w=0;w<
15
- l;w++)if(w%4){var v=s.indexOf(d.charAt(w-1))<<2*(w%4),b=s.indexOf(d.charAt(w))>>>6-2*(w%4);t[r>>>2]|=(v|b)<<24-8*(r%4);r++}return p.create(t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})();
16
- (function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<<j|b>>>32-j)+n}function d(b,n,a,c,e,j,k){b=b+(n&c|a&~c)+e+k;return(b<<j|b>>>32-j)+n}function l(b,n,a,c,e,j,k){b=b+(n^a^c)+e+k;return(b<<j|b>>>32-j)+n}function s(b,n,a,c,e,j,k){b=b+(a^(n|~c))+e+k;return(b<<j|b>>>32-j)+n}for(var t=CryptoJS,r=t.lib,w=r.WordArray,v=r.Hasher,r=t.algo,b=[],x=0;64>x;x++)b[x]=4294967296*u.abs(u.sin(x+1))|0;r=r.MD5=v.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},
17
- _doProcessBlock:function(q,n){for(var a=0;16>a;a++){var c=n+a,e=q[c];q[c]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var a=this._hash.words,c=q[n+0],e=q[n+1],j=q[n+2],k=q[n+3],z=q[n+4],r=q[n+5],t=q[n+6],w=q[n+7],v=q[n+8],A=q[n+9],B=q[n+10],C=q[n+11],u=q[n+12],D=q[n+13],E=q[n+14],x=q[n+15],f=a[0],m=a[1],g=a[2],h=a[3],f=p(f,m,g,h,c,7,b[0]),h=p(h,f,m,g,e,12,b[1]),g=p(g,h,f,m,j,17,b[2]),m=p(m,g,h,f,k,22,b[3]),f=p(f,m,g,h,z,7,b[4]),h=p(h,f,m,g,r,12,b[5]),g=p(g,h,f,m,t,17,b[6]),m=p(m,g,h,f,w,22,b[7]),
18
- f=p(f,m,g,h,v,7,b[8]),h=p(h,f,m,g,A,12,b[9]),g=p(g,h,f,m,B,17,b[10]),m=p(m,g,h,f,C,22,b[11]),f=p(f,m,g,h,u,7,b[12]),h=p(h,f,m,g,D,12,b[13]),g=p(g,h,f,m,E,17,b[14]),m=p(m,g,h,f,x,22,b[15]),f=d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g,t,9,b[17]),g=d(g,h,f,m,C,14,b[18]),m=d(m,g,h,f,c,20,b[19]),f=d(f,m,g,h,r,5,b[20]),h=d(h,f,m,g,B,9,b[21]),g=d(g,h,f,m,x,14,b[22]),m=d(m,g,h,f,z,20,b[23]),f=d(f,m,g,h,A,5,b[24]),h=d(h,f,m,g,E,9,b[25]),g=d(g,h,f,m,k,14,b[26]),m=d(m,g,h,f,v,20,b[27]),f=d(f,m,g,h,D,5,b[28]),h=d(h,f,
19
- m,g,j,9,b[29]),g=d(g,h,f,m,w,14,b[30]),m=d(m,g,h,f,u,20,b[31]),f=l(f,m,g,h,r,4,b[32]),h=l(h,f,m,g,v,11,b[33]),g=l(g,h,f,m,C,16,b[34]),m=l(m,g,h,f,E,23,b[35]),f=l(f,m,g,h,e,4,b[36]),h=l(h,f,m,g,z,11,b[37]),g=l(g,h,f,m,w,16,b[38]),m=l(m,g,h,f,B,23,b[39]),f=l(f,m,g,h,D,4,b[40]),h=l(h,f,m,g,c,11,b[41]),g=l(g,h,f,m,k,16,b[42]),m=l(m,g,h,f,t,23,b[43]),f=l(f,m,g,h,A,4,b[44]),h=l(h,f,m,g,u,11,b[45]),g=l(g,h,f,m,x,16,b[46]),m=l(m,g,h,f,j,23,b[47]),f=s(f,m,g,h,c,6,b[48]),h=s(h,f,m,g,w,10,b[49]),g=s(g,h,f,m,
20
- E,15,b[50]),m=s(m,g,h,f,r,21,b[51]),f=s(f,m,g,h,u,6,b[52]),h=s(h,f,m,g,k,10,b[53]),g=s(g,h,f,m,B,15,b[54]),m=s(m,g,h,f,e,21,b[55]),f=s(f,m,g,h,v,6,b[56]),h=s(h,f,m,g,x,10,b[57]),g=s(g,h,f,m,t,15,b[58]),m=s(m,g,h,f,D,21,b[59]),f=s(f,m,g,h,z,6,b[60]),h=s(h,f,m,g,C,10,b[61]),g=s(g,h,f,m,j,15,b[62]),m=s(m,g,h,f,A,21,b[63]);a[0]=a[0]+f|0;a[1]=a[1]+m|0;a[2]=a[2]+g|0;a[3]=a[3]+h|0},_doFinalize:function(){var b=this._data,n=b.words,a=8*this._nDataBytes,c=8*b.sigBytes;n[c>>>5]|=128<<24-c%32;var e=u.floor(a/
21
- 4294967296);n[(c+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;n[(c+64>>>9<<4)+14]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360;b.sigBytes=4*(n.length+1);this._process();b=this._hash;n=b.words;for(a=0;4>a;a++)c=n[a],n[a]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360;return b},clone:function(){var b=v.clone.call(this);b._hash=this._hash.clone();return b}});t.MD5=v._createHelper(r);t.HmacMD5=v._createHmacHelper(r)})(Math);
22
- (function(){var u=CryptoJS,p=u.lib,d=p.Base,l=p.WordArray,p=u.algo,s=p.EvpKDF=d.extend({cfg:d.extend({keySize:4,hasher:p.MD5,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,r){for(var p=this.cfg,s=p.hasher.create(),b=l.create(),u=b.words,q=p.keySize,p=p.iterations;u.length<q;){n&&s.update(n);var n=s.update(d).finalize(r);s.reset();for(var a=1;a<p;a++)n=s.finalize(n),s.reset();b.concat(n)}b.sigBytes=4*q;return b}});u.EvpKDF=function(d,l,p){return s.create(p).compute(d,
23
- l)}})();
24
- CryptoJS.lib.Cipher||function(u){var p=CryptoJS,d=p.lib,l=d.Base,s=d.WordArray,t=d.BufferedBlockAlgorithm,r=p.enc.Base64,w=p.algo.EvpKDF,v=d.Cipher=t.extend({cfg:l.extend(),createEncryptor:function(e,a){return this.create(this._ENC_XFORM_MODE,e,a)},createDecryptor:function(e,a){return this.create(this._DEC_XFORM_MODE,e,a)},init:function(e,a,b){this.cfg=this.cfg.extend(b);this._xformMode=e;this._key=a;this.reset()},reset:function(){t.reset.call(this);this._doReset()},process:function(e){this._append(e);return this._process()},
25
- finalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(e){return{encrypt:function(b,k,d){return("string"==typeof k?c:a).encrypt(e,b,k,d)},decrypt:function(b,k,d){return("string"==typeof k?c:a).decrypt(e,b,k,d)}}}});d.StreamCipher=v.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var b=p.mode={},x=function(e,a,b){var c=this._iv;c?this._iv=u:c=this._prevBlock;for(var d=0;d<b;d++)e[a+d]^=
26
- c[d]},q=(d.BlockCipherMode=l.extend({createEncryptor:function(e,a){return this.Encryptor.create(e,a)},createDecryptor:function(e,a){return this.Decryptor.create(e,a)},init:function(e,a){this._cipher=e;this._iv=a}})).extend();q.Encryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize;x.call(this,e,a,c);b.encryptBlock(e,a);this._prevBlock=e.slice(a,a+c)}});q.Decryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize,d=e.slice(a,a+c);b.decryptBlock(e,a);x.call(this,
27
- e,a,c);this._prevBlock=d}});b=b.CBC=q;q=(p.pad={}).Pkcs7={pad:function(a,b){for(var c=4*b,c=c-a.sigBytes%c,d=c<<24|c<<16|c<<8|c,l=[],n=0;n<c;n+=4)l.push(d);c=s.create(l,c);a.concat(c)},unpad:function(a){a.sigBytes-=a.words[a.sigBytes-1>>>2]&255}};d.BlockCipher=v.extend({cfg:v.cfg.extend({mode:b,padding:q}),reset:function(){v.reset.call(this);var a=this.cfg,b=a.iv,a=a.mode;if(this._xformMode==this._ENC_XFORM_MODE)var c=a.createEncryptor;else c=a.createDecryptor,this._minBufferSize=1;this._mode=c.call(a,
28
- this,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(){var a=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){a.pad(this._data,this.blockSize);var b=this._process(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var n=d.CipherParams=l.extend({init:function(a){this.mixIn(a)},toString:function(a){return(a||this.formatter).stringify(this)}}),b=(p.format={}).OpenSSL={stringify:function(a){var b=a.ciphertext;a=a.salt;return(a?s.create([1398893684,
29
- 1701076831]).concat(a).concat(b):b).toString(r)},parse:function(a){a=r.parse(a);var b=a.words;if(1398893684==b[0]&&1701076831==b[1]){var c=s.create(b.slice(2,4));b.splice(0,4);a.sigBytes-=16}return n.create({ciphertext:a,salt:c})}},a=d.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(a,b,c,d){d=this.cfg.extend(d);var l=a.createEncryptor(c,d);b=l.finalize(b);l=l.cfg;return n.create({ciphertext:b,key:c,iv:l.iv,algorithm:a,mode:l.mode,padding:l.padding,blockSize:a.blockSize,formatter:d.format})},
30
- decrypt:function(a,b,c,d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c,d).finalize(b.ciphertext)},_parse:function(a,b){return"string"==typeof a?b.parse(a,this):a}}),p=(p.kdf={}).OpenSSL={execute:function(a,b,c,d){d||(d=s.random(8));a=w.create({keySize:b+c}).compute(a,d);c=s.create(a.words.slice(b),4*c);a.sigBytes=4*b;return n.create({key:a,iv:c,salt:d})}},c=d.PasswordBasedCipher=a.extend({cfg:a.cfg.extend({kdf:p}),encrypt:function(b,c,d,l){l=this.cfg.extend(l);d=l.kdf.execute(d,
31
- b.keySize,b.ivSize);l.iv=d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:function(b,c,d,l){l=this.cfg.extend(l);c=this._parse(c,l.format);d=l.kdf.execute(d,b.keySize,b.ivSize,c.salt);l.iv=d.iv;return a.decrypt.call(this,b,c,d.key,l)}})}();
32
- (function(){for(var u=CryptoJS,p=u.lib.BlockCipher,d=u.algo,l=[],s=[],t=[],r=[],w=[],v=[],b=[],x=[],q=[],n=[],a=[],c=0;256>c;c++)a[c]=128>c?c<<1:c<<1^283;for(var e=0,j=0,c=0;256>c;c++){var k=j^j<<1^j<<2^j<<3^j<<4,k=k>>>8^k&255^99;l[e]=k;s[k]=e;var z=a[e],F=a[z],G=a[F],y=257*a[k]^16843008*k;t[e]=y<<24|y>>>8;r[e]=y<<16|y>>>16;w[e]=y<<8|y>>>24;v[e]=y;y=16843009*G^65537*F^257*z^16843008*e;b[k]=y<<24|y>>>8;x[k]=y<<16|y>>>16;q[k]=y<<8|y>>>24;n[k]=y;e?(e=z^a[a[a[G^z]]],j^=a[a[j]]):e=j=1}var H=[0,1,2,4,8,
33
- 16,32,64,128,27,54],d=d.AES=p.extend({_doReset:function(){for(var a=this._key,c=a.words,d=a.sigBytes/4,a=4*((this._nRounds=d+6)+1),e=this._keySchedule=[],j=0;j<a;j++)if(j<d)e[j]=c[j];else{var k=e[j-1];j%d?6<d&&4==j%d&&(k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=H[j/d|0]<<24);e[j]=e[j-d]^k}c=this._invKeySchedule=[];for(d=0;d<a;d++)j=a-d,k=d%4?e[j]:e[j-4],c[d]=4>d||4>=j?k:b[l[k>>>24]]^x[l[k>>>16&255]]^q[l[k>>>
34
- 8&255]]^n[l[k&255]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,t,r,w,v,l)},decryptBlock:function(a,c){var d=a[c+1];a[c+1]=a[c+3];a[c+3]=d;this._doCryptBlock(a,c,this._invKeySchedule,b,x,q,n,s);d=a[c+1];a[c+1]=a[c+3];a[c+3]=d},_doCryptBlock:function(a,b,c,d,e,j,l,f){for(var m=this._nRounds,g=a[b]^c[0],h=a[b+1]^c[1],k=a[b+2]^c[2],n=a[b+3]^c[3],p=4,r=1;r<m;r++)var q=d[g>>>24]^e[h>>>16&255]^j[k>>>8&255]^l[n&255]^c[p++],s=d[h>>>24]^e[k>>>16&255]^j[n>>>8&255]^l[g&255]^c[p++],t=
35
- d[k>>>24]^e[n>>>16&255]^j[g>>>8&255]^l[h&255]^c[p++],n=d[n>>>24]^e[g>>>16&255]^j[h>>>8&255]^l[k&255]^c[p++],g=q,h=s,k=t;q=(f[g>>>24]<<24|f[h>>>16&255]<<16|f[k>>>8&255]<<8|f[n&255])^c[p++];s=(f[h>>>24]<<24|f[k>>>16&255]<<16|f[n>>>8&255]<<8|f[g&255])^c[p++];t=(f[k>>>24]<<24|f[n>>>16&255]<<16|f[g>>>8&255]<<8|f[h&255])^c[p++];n=(f[n>>>24]<<24|f[g>>>16&255]<<16|f[h>>>8&255]<<8|f[k&255])^c[p++];a[b]=q;a[b+1]=s;a[b+2]=t;a[b+3]=n},keySize:8});u.AES=p._createHelper(d)})();
36
-
37
- export default CryptoJS;
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // version 0.0.8
3
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e.jm=e.jm||{},e.jm.mpagent={}))}(this,function(e){"use strict";var t,n=!1,a=!1,o=!1,i=!1,s="develop";"undefined"!=typeof tt&&tt?(t=tt,a=!0):"undefined"!=typeof swan&&swan?(t=swan,o=!0):"undefined"!=typeof wx&&wx?(t=wx,n=!0):"undefined"!=typeof jd&&jd&&(t=jd,i=!0);var c=256,u=256,d=6e5,p=1500,f=!0,l=!0,h=5,g=[500,1500],m="2.6.4",v="MP_UUID",y="CONFIG_MONITOR",S="SAMPLING",D="SETDATA_THRESHOLD",T="SETDATA_TRACE",E="SETDATA_TRACEHINT",O="SETDATA_TIME_INTERVAL",q="REQUEST_HEADER_DATA",x="REQUEST_RESPONSE_DATA",b="recordCustomTime",I="RECORD_METHOD",R="request",w="api",k=["success","fail"];var P=Object.assign({latitude:"",longitude:"",accuracy:"",net:""},function(){var e={appid:"",envVersion:"",appVersion:""};if(n){var r=t.getAccountInfoSync().miniProgram;e.appid=r.appId,e.envVersion=r.envVersion,e.appVersion=r.version}else if(a)e.envVersion=t.env.VERSION;else if(o){let t=swan.getEnvInfoSync();t instanceof Error||(e.envVersion=t.env)}return e}(),function(){var e={};if(i)t.getSystemInfo({success(t){for(var n in(e=t).machineType=e.model,delete e.model,e.os=e.system,delete e.system,e.screen=e.screenWidth+"*"+e.screenHeight,delete e.screenWidth,delete e.screenHeight,e.sdkVersion=e.SDKVersion,delete e.SDKVersion,console.log(e),e)e[n]=e[n].toString();P=Object.assign({},e)}});else{e=t.getSystemInfoSync(),console.log(e),delete e.safeArea,e.machineType=e.model,delete e.model;var n=e.system.split(" ");for(var r in e.os=n[0],e.osVersion=n[1],delete e.system,e.screen=e.screenWidth+"*"+e.screenHeight,delete e.screenWidth,delete e.screenHeight,e.sdkVersion=e.SDKVersion,delete e.SDKVersion,e)e[r]=e[r].toString()}return e}()),L={mpVersion:"0.0.8",hookApp:function(e){return 0<=Xe(P,m)||!Te()?e:Le.apply(this,arguments)},hookPage:function(e){return 0<=Xe(P,m)||!Te()?e:He.apply(this,arguments)},hookComponent:function(e){return 0<=Xe(P,m)||!Te()?e:Fe.apply(this,arguments)},request:Ue},j={machineCode:function(){var e=t.getStorageSync(v);e||(e=function(){function e(e){return e<0?NaN:e<=30?0|Math.random()*(1<<e):e<=53?(0|Math.random()*(1<<30))+(0|Math.random()*(1<<e-30))*(1<<30):NaN}function t(e,t){for(var n=e.toString(16),r=t-n.length,a="0";0<r;r>>>=1,a+=a)1&r&&(n=a+n);return n}return t(e(32),8)+"-"+t(e(16),4)+"-"+t(16384|e(12),4)+"-"+t(32768|e(14),4)+"-"+t(e(48),12)}(),t.setStorageSync(v,e));return e}(),mpVersion:"0.0.8"},A=ye(),N={context:null},H={},M=[],F=[],C=t.request,_={},V={},K=[],J=0,U={},B={stuck:!1,firstLoad:0,jsError:!1,netError:!1},z={canSend:!1,sent:!1,apiRemain:0,isResetPerformanceData:!1},G=[],W=!1,Q=!1;c=256,u=256,d=6e5;function X(e){return function(t){return"Array"===e&&Array.isArray?Array.isArray(t):Object.prototype.toString.call(t)==="[object "+e+"]"}}function Y(e){return X("String")(e)}function Z(e){return X("Array")(e)}function $(e){return X("Function")(e)}function ee(e){return X("Object")(e)}function te(e){return X("Number")(e)}var ne=le(S),re=le(I)||!1,ae=le(q)||H.reqHeaderData||!1,oe=le(x)||H.reqResponseData||!0;function ie(e,t){return function(){if($(t))try{t.apply(this,arguments)}catch(e){}if($(e))return e.apply(this,arguments)}}function se(e,t,n){return function(){var r;if($(t))try{t.apply(this,arguments)}catch(e){}if($(e)&&(r=e.apply(this,arguments)),$(n))try{n.apply(this,arguments)}catch(e){}return r}}function ce(){for(var e=0;e<arguments.length;e++)if(null!=arguments[e])return arguments[e]}function ue(e,t){var n="",r=!1;try{n=e.errMsg?e.errMsg:e,n=JSON.stringify(n)}catch(e){n="",r=!0}return t?{error:r,value:n}:n}function de(e,t){var n;return n=ee(e)?ue(e):Y(e)?e:"",t&&(n=n.substring(0,t)),n}function pe(e){return null!=e&&te(e)}function fe(e){return null!=e&&function(e){return X("Boolean")(e)}(e)}function le(e){var n=t.getStorageSync(y);if(n&&ee(n))return n[e]}function he(){return+new Date}function ge(){J=he()}function me(){M=[]}function ve(){return M.slice()}function ye(){return{pageId:0,requestId:0,apiId:0,setData:{threshold:ce(le(D),p),setDataTrace:ce(le(T),f),setDataTraceHint:ce(le(E),l),setDataTimeInterval:ce(le(O),g),stuck:!1,max:0,currentSegmentTime:0,data:{},requestBridge:[]},request:{headerData:ce(le(q),ae),responseData:ce(le(x),oe)},reqStat:{currentSegmentTime:0,data:{}},apis:[],lastSetDataInOnReady:0,stuck:!1,jsError:!1,netError:!1,recordFirstLoad:!1}}function Se(){B={stuck:!1,firstLoad:0,jsError:!1,netError:!1}}function De(e,n){var r=this,a={};e.forEach(function(e){var t=e.key,o=e.storeKey,i=e.validFunc;i&&i.call(r,n[t])&&(H[t]=n[t],a[o]=n[t])}),function(e){var n=t.getStorageSync(y);if(n&&ee(n)||(n={}),e)for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);t.setStorageSync(y,n)}(a)}function Te(){return W}function Ee(e,t,n,r,a){var o;this.id=++A.pageId,this.parent=e||null,this.name=t||"<root>",this.type=n||"event",this.subType="event"===this.type?r||"tap":r,this.requests=[],this.apis=[],this.remain=(o={},["request","api"].forEach(function(e){o[e]={current:0,children:0}}),o),this.start=he(),this.endTime=null,this.data=a;var i=this,s=H&&H.eventTimeout||d;this.interval=setTimeout(function(){i.timeout()},s),this.closed=!1,this.path=U.current,this.prevPath=U.prev}function Oe(e,t){if(ee(e)&&$(e.handler)){var n=e.name,r=e.handler,a=e.afterHandler;t[n]=se(t[n],r,a)}}function qe(e){return H.ignoredPages&&Z(H.ignoredPages)?H.ignoredPages.indexOf(e)<0:!H.pages||!Z(H.pages)||-1<H.pages.indexOf(e)}function xe(e){var n=Object.assign({},j,P||{},{appOnLaunch:_.onLaunch+""||"",appOnShow:_.onShow+""||"",appOnHide:_.onHide+""||""},{appid:H.appKey},{wxAppid:P.appid},{dimension:"app",app:"vapp",curTime:he().toString()});H.appKey&&H.url&&t.request({url:"".concat(H.url,"/v2/report?functionId=vappGetRule&appid="+H.serverName),data:{body:JSON.stringify(n)},header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",_no_record:!0,success:function(e){var n,r,a,o=e.data||{},i=e.statusCode,s=o.data;200===i&&s&&pe(s.sampling)&&(ne=s.sampling)&&function(e){var n=t.getStorageSync(y);if(n&&ee(n)||(n={}),e)for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);t.setStorageSync(y,n)}((a=ne,(r=S)in(n={})?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,n)),200===i&&De([{key:"setdataThreshold",storeKey:D,validFunc:pe},{key:"setdataTrace",storeKey:T,validFunc:fe},{key:"setdataTraceHint",storeKey:E,validFunc:fe},{key:"requestHeaderData",storeKey:q,validFunc:fe},{key:"requestResponseData",storeKey:x,validFunc:fe},{key:"recordMethod",storeKey:I,validFunc:fe}],s)},complete:function(){e&&e(ne)}})}function be(e,t,n){for(var r in t)if(t.hasOwnProperty(r)&&t[r]&&0<t[r].count&&("request"==n&&t[r].url||"setData"==n)){var a=t[r];a.traces=void 0!=t[r].traces?JSON.stringify(t[r].traces):"[]",e.push(Object.assign(a||{},{occurTime:+r},{type:n,typeId:1,chId:"setData"==n?21:23}))}}function Ie(e){var t=[];return e.length>0&&e.forEach(function(e){var n,r,a,o,i={};i.occurTime=e.occurTime,i.stack=e.stack,i.type="error",i.errorType=(n=e.stack,/ReferenceError/.test(n)?"ReferenceError":/TypeError/.test(n)?"TypeError":/URIError/.test(n)?"URIError":/RangeError/.test(n)?"RangeError":/SyntaxError/.test(n)?"SyntaxError":"Error"),i.methods=(r=e.methods,a=getCurrentPages(),o={},a.length&&(o=a[a.length-1]),r.forEach(function(e){e.currentRoute||(e.currentRoute=U.current?U.current:"",e.prevRoute=U.prev?U.prev:"",e.options=o.options?o.options:"")}),JSON.stringify(r)),i.typeId=1,i.chId=20,t.push(i)}),t}function Re(e){return e.forEach(function(e){for(var t in e)e[t]=e[t]+"";return e}),e}function we(e){if(Q&&(z.canSend=!0,!z.sent&&z.canSend)){var n=getCurrentPages(),r={};n.length&&(r=n[n.length-1]);var a=Re(Ie(K.slice())),o=function(){var e=[],t=[],n=[];be(e,A.setData.data,"setData"),be(n,A.reqStat.data,"request");var r={jsError:(K&&0<K.length).toString(),netError:A.netError.toString(),stuck:A.stuck.toString(),threshold:ce(A.setData.threshold,p).toString(),setDataTrace:ce(A.setData.setDataTrace,f).toString(),setDataTraceHint:ce(A.setData.setDataTraceHint,l).toString(),max:A.setData.max.toString()};if(B={jsError:K&&0<K.length,netError:A.netError,stuck:A.stuck},0<e.length&&(t=A.setData.requestBridge).forEach(function(e){e.type="requestBridge",e.typeId=1,e.chId=22}),V.onLoad){var a=A.lastSetDataInOnReady;if(a=a||V.onReady){var o=a-V.onLoad;o=0<o?o:0,r.firstLoad=o+""}}return{allData:r,setData:e,requestBridge:t,requestData:n}}();!function(e){M.push({occurTime:he(),route:e,type:"route",typeId:1,chId:19})}(U.current);var c=Re(ve()),u=Re(o.setData),d=Re(o.requestBridge),h=Re(o.requestData),g=function(e){var t=0,n=[];return e.length>0&&(e.forEach(function(e){n.push(parseInt(e.duration))}),n.sort(),t=n[n.length-1]+""),t}(h),m=function(e){var t,n=0,r=[];return e.length>0&&(r=e.sort((t="endTime",function(e,n){return e[t]-n[t]})),n=V.onLoad?r[0].end-V.onLoad:r[0].end-r[0].start),n+""}(h);c[0]&&(c[0].firstResponse=m);var v=Re(A.apis),y=Object.assign({},{dimension:"page",app:"vapp",curTime:he().toString(),maxRequest:g+"",path:U.current,pageOnLoad:V.onLoad+""||"",pageOnshow:V.onShow+""||"",pageOnReady:V.onReady+""||"",pageOnHide:V.onHide+""||"",appOnLaunch:_.onLaunch+""||"",appOnShow:_.onShow+""||"",appOnHide:_.onHide+""||"",data:[],options:r.options?JSON.stringify(r.options):"",fromPath:U.prev||""},Object.assign({},j,P||{},{wxAppid:P.appid}),{appid:H.appKey},0<J?{customTime:J}:{},o.allData);v.length>0&&(y.data=y.data.concat(v)),c.length>0&&(y.data=y.data.concat(c)),a.length>0&&(y.data=y.data.concat(a)),u.length>0&&(y.data=y.data.concat(u)),d.length>0&&(y.data=y.data.concat(d)),h.length>0&&(y.data=y.data.concat(h)),i&&(y.envVersion=s),t.request({url:"".concat(H.url,"/v2/report?functionId=vappReport&appid="+H.serverName),data:{body:JSON.stringify(y)},header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",_no_record:!0,success:function(){}}),me(),F=[],V={},K=[],J=0,z.apiRemain=0,A=ye(),z.needClearDeferredData=!0,z.sent=!0,z.canSend=!1}}function ke(e){if(Q){var n=Object.assign({},j,P||{},{appOnLaunch:_.onLaunch+""||"",appOnShow:_.onShow+""||"",appOnHide:_.onHide+""||""},{appid:H.appKey},{wxAppid:P.appid},{dimension:"app",app:"vapp",curTime:he().toString()});e&&(n.data=e.routeTrack,n.closePath=e.closePath,n.jsError=e.metric.jsError.toString(),n.netError=e.metric.netError.toString(),n.stuck=e.metric.stuck.toString()),i&&(n.envVersion=s),t.request({url:"".concat(H.url,"/v2/report?functionId=vappReport&appid="+H.serverName),data:{body:JSON.stringify(n)},header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",_no_record:!0,success:function(){}})}}setInterval(xe,d),Ee.prototype.end=function(e,t){if(!this.closed){if(e&&(e.type===R||e.type===w)){var n=e.requests||[],r=e.apis||[];this.requests.map(function(t){"".concat(t.url,"-").concat(t.requestId)===e.name&&(t.requests=n,t.apis=r)}),this.apis.map(function(t){"".concat(t.name,"-").concat(t.apiId)===e.name&&(t.requests=n,t.apis=r)})}(this.isNoRemain()||t)&&(this.endTime=he(),this.closed=!0,this.interval&&clearTimeout(this.interval),this.parent&&this.parent.end(this))}},Ee.prototype.isNoRemain=function(e){var t=!0;for(var n in this.remain)if(this.remain.hasOwnProperty(n)&&!(this.remain[n].current<=0&&(e||this.remain[n].children<=0))){t=!1;break}return t},Ee.prototype.timeout=function(){this.end(null,!0)},Ee.prototype.setData=function(e){this.data=e},Ee.prototype.hasPrevAssignedData=function(){return this.requests&&0<this.requests.length||this.apis&&0<this.apis.length},Ee.prototype.canEnd=function(e,t){return this.isNoRemain(!0)},Ee.prototype.updateRemain=function(e,t){t=t||R;var n=e||0;this.remain[t].current=this.remain[t].current+n;for(var r=this.parent;r;)r.remain[t].children=r.remain[t].children+n,r=r.parent},Object.defineProperty(Ee.prototype,"current",{get:function(){return N.context},enumerable:!0,configurable:!0}),Object.defineProperty(Ee,"createEvent",{value:function(e,t,n,r,a){return new Ee(e,t,n||"event",r||null,a)},enumerable:!0,configurable:!0,writable:!0});var Pe=[{name:"onLaunch",handler:function(e){_.onLaunch=he(),function(){ne=ne||+H.sampleRate||1;var e=Math.random();Q=e<=ne}();var n=e.path,r=JSON.stringify(e.query),a=e.scene+"";P.openPath=n,H.disableFetchQuery||(P.query=r),P.scene=a,t.getSetting({success(e){e.authSetting["scope.userLocation"]&&t.getLocation({type:"wgs84",success:e=>{P.latitude=e.latitude+"",P.longitude=e.longitude+"",P.accuracy=e.accuracy+""}})}}),t.getNetworkType({success:function(e){P.net=e.networkType},complete:function(){ke()}})}},{name:"onError",handler:function(e){var t="",n="";if(Y(e)?t=e:e&&(t=e.stack,n=e.message),t){var r={occurTime:he(),stack:t,methods:[]};F&&F.length>0&&(r.methods=F),F=[],n&&(r.msg=n),K.push(r)}}},{name:"onShow",handler:function(){_.onShow=he()}},{name:"onHide",handler:function(){_.onHide=he();var e=ve();me();var t=U.current;U.prev="",U.current="",ke({routeTrack:e,closePath:t,metric:B})}}];function Le(e){return Pe.forEach(function(t){Oe(t,e)}),e}function je(){var e=App;App=function(t){if(t=Le(t),e)return e.call(this,t)}}var Ae=[{name:"onLoad",handler:function(){qe(this.route)&&(z.isResetPerformanceData&&(Se(),z.isResetPerformanceData=!1),A.recordFirstLoad=!0,V.onLoad=he(),function(){var e=this.setData,t=A.setData.threshold,n=A.setData.setDataTrace,r=A.setData.setDataTraceHint;A.setData.setDataTimeInterval;try{Object.defineProperty(this,"setData",{enumerable:!0,configurable:!0,writable:!0,value:function(){var a=arguments[0],o=arguments[1],i=he(),s={start:i},c=N.context,u=c&&c.type===R&&c.data&&c.data.recordFirstLoad;(A.recordFirstLoad||u)&&(s.calcFirstLoad=!0);try{A.setData.currentSegmentTime,A.setData.currentSegmentTime=i,A.setData.data[i]={count:0,traces:[]},s.segmentTime=i}catch(e){}return e.call(this,arguments[0],function(){try{s.end=he(),s.calcFirstLoad&&s.end>A.lastSetDataInOnReady&&(A.lastSetDataInOnReady=s.end),s.duration=s.end-s.start;var e=A.setData.data[s.segmentTime];if(e.count++,s.duration>A.setData.max&&(A.setData.max=s.duration),s.duration>t&&(A.stuck||(A.stuck=!0)),e.traces.length<h&&n)try{var i=ue(a,!0),d={timestamp:s.start,duration:s.duration,size:i.value.length};r&&(d.hint=i.value.substring(0,200)),i.error&&(d.error=i.error),e.traces.push(d),e.duration=s.duration}catch(e){}u&&A.setData.requestBridge.push({start:s.start,end:s.end,occurTime:s.start,requestId:c.data.requestId,url:c.data.url})}catch(e){}return o&&o.apply(this,arguments)})}})}catch(e){console.log("rewriteSetData",e)}}.call(this))}},{name:"onShow",handler:function(){qe(this.route)&&(z.isResetPerformanceData&&(Se(),z.isResetPerformanceData=!1),V.onShow=he(),U.prev=U.current,U.current=this.route,z.sent=!1)}},{name:"onReady",handler:function(){qe(this.route)&&(V.onReady=he())},afterHandler:function(){qe(this.route)&&(A.recordFirstLoad=!1)}},{name:"onHide",handler:function(){qe(this.route)&&(V.onHide=he(),we())}},{name:"onUnload",handler:function(){qe(this.route)&&(V.onUnload=he(),we())}}];function Ne(e,t){var n=getCurrentPages();n.length&&n[n.length-1],e[t]=ie(e[t],function(){var e,n={occurTime:he(),method:t};e=n,F.push(e),F.length>20&&F.shift()})}function He(e){return Ae.forEach(function(t){Oe(t,e)}),re&&Object.keys(e).forEach(t=>{!(["onLoad","onShow","onReady","onHide","onUnload","onPageScroll"].indexOf(t)>=0)&&"function"==typeof e[t]&&Ne(e,t)}),e[b]=ge,e}function Me(){var e=Page;Page=function(t){if(t=He(t),e)return e.call(this,t)}}function Fe(e){return e.methods||(e.methods={}),Ae.forEach(function(t){Oe(t,e.methods)}),e}function Ce(){var e=Component;Component=function(t){t=Fe(t),e&&e.call(this,t)}}function _e(e){return function(e){var t=N.context;return function(){var n,r=N.context;N.context=t;try{n=e.apply(this,arguments)}finally{r&&!r.closed&&(N.context=r)}return n}}(e)}function Ve(e){return e?ee(e)?ue(e).length:Y(e)?e.length:e instanceof ArrayBuffer?e.byteLength:e.length?e.length:0:0}function Ke(e,t,n){var r=A.request.headerData,a=A.request.responseData;return Object.assign({requestId:e.requestId,type:R,url:e.url,method:e.method,start:e.start,end:e.end,cbTime:e.cbTime,duration:0<e.end-e.start?e.end-e.start:0,send:Ve(t.data),rec:function(e){if(!e)return 0;var t=e.header,n=e.data,r=0;return(r=+(t&&t["Content-Length"]))&&te(r)&&!Number.isNaN(r)||(r=Ve(n)||0),r}(n),statusCode:n.statusCode||0,failMessage:e.failMessage||"",recordFirstLoad:e.recordFirstLoad},r?{sendData:JSON.stringify(t.data)}:{},a?{recData:JSON.stringify(n)}:{})}function Je(e,t){if(!e.context){var n="".concat(e.url,"-").concat(e.requestId);e.context=Ee.createEvent(t,n,R,null,{url:e.url,requestId:e.requestId,recordFirstLoad:e.recordFirstLoad})}N.context=e.context}var Ue=function(e){var t=e||{};if(!t._no_record&&t.url&&Te()){var n=he(),r=A.reqStat.currentSegmentTime;r=n,A.reqStat.currentSegmentTime=n,A.reqStat.data[r]={count:0},A.reqStat.data[r].count++;var a=N.context,o={requestId:++A.requestId,url:t.url,method:t.method&&t.method.toUpperCase()||"GET",callbackContextCreated:!1,cbTime:0,recordFirstLoad:A.recordFirstLoad,statusCode:t.statusCode};o.id=he()%1e9,t.header=t.header||{};var i=t.success,s=t.fail,c=t.complete;t.success=_e(function(){var e;if(o.end||(o.end=he()),Je(o,a),i){var t=he();try{e=i.apply(this,arguments)}finally{var n=he()-t;0<n&&(o.cbTime+=n)}}return e}),t.fail=_e(function(){var e;if(o.end||(o.end=he()),Je(o,a),s){var t=he();try{e=s.apply(this,arguments)}finally{var n=he()-t;0<n&&(o.cbTime+=n)}}return e}),t.complete=_e(function(e){var n,i;o.end||(o.end=he());var s=H.custom;if(s&&$(s))try{var u=s.apply(this,arguments);ee(u)&&(i={custom:u})}catch(e){}if(Je(o,a),c){var d=he();try{n=c.apply(this,arguments)}finally{var p=he()-d;0<p&&(o.cbTime+=p)}}var f=void 0==e.statusCode||200!=e.statusCode;if(f&&!A.netError&&(A.netError=!0),f&&e){var l=e.data||e.errMsg||"request failed";o.failMessage=de(l,H.requestFailMessageSize)}o.failMessage=o.failMessage?o.failMessage:"";var h=Ke(o,t,e),g=Object.assign({},h||{},i||{});return A.reqStat.data[r]=Object.assign({},A.reqStat.data[r],g),function(e,t,n){N.context&&N.context.setData(n);var r=N.context&&N.context.hasPrevAssignedData(),a=N.context&&N.context.canEnd();a&&N.context.end(),t&&t.id===e.cid&&n&&(t.requests.push(n),t.updateRemain(-1,R),t.canEnd()&&a&&t.end(r?N.context:null))}(o,a,g),n}),o.start=n,a&&(o.cid=a.id,a.updateRemain(1))}return C.apply(this,arguments)};function Be(){Object.defineProperty(t,"request",{configurable:!0,enumerable:!0,writable:!0,value:Ue})}function ze(){H.hookApis&&H.hookApis.length>0&&H.hookApis.forEach(function(e){-1<G.indexOf(e)||"request"===e||G.push(e)})}function Ge(e,t){if(!e.context){var n="".concat(e.name,"-").concat(e.apiId);e.context=Ee.createEvent(t,n,w)}N.context=e.context}function We(e){var n=t[e];return function(){var t=N.context,a=arguments[0]||{},o={apiId:++A.apiId,name:e};return k.forEach(function(e){a[e]=_e(ie(a[e],function(){if(o.end||(o.end=he()),Ge(o,t),"fail"===e){o[e]=1;var n=arguments&&arguments[0];o.failMessage=de(n,H.apiFailMessageSize)}}))}),a.complete=_e(se(a.complete,function(){o.end||(o.end=he()),Ge(o,r)},function(){var e,n={apiId:(e=o).apiId,type:"api",typeId:1,chId:18,name:e.name,start:e.start,occurTime:e.start,end:e.end,duration:0<e.end-e.start?e.end-e.start:0,count:1,failMessage:e.failMessage||""};!function(e,t,n){N.context&&N.context.setData(n);var r=N.context&&N.context.hasPrevAssignedData(),a=N.context&&N.context.canEnd();A.apis.push(n),a&&N.context.end(),t&&t.id===e.cid&&n&&(t.apis.push(n),t.updateRemain(-1,w),t.canEnd()&&a&&t.end(r?N.context:null))}(o,t,n)})),t&&(o.cid=t.id,t.updateRemain(1,"api")),o.start=he(),n.apply(this,arguments)}}function Qe(){ze(),G.forEach(function(e){var n;(n=e)&&t[n]&&Object.defineProperty(t,n,{configurable:!0,enumerable:!0,writable:!0,value:We(n)})})}function Xe(e,t){var n="";return e&&(n=e.sdkVersion),n&&t?function(e,t){e=e.split("."),t=t.split(".");for(var n=Math.max(e.length,t.length);e.length<n;)e.push("0");for(;t.length<n;)t.push("0");for(var r=0;r<n;r++){var a=parseInt(e[r]),o=parseInt(t[r]);if(o<a)return 1;if(a<o)return-1}return 0}(n,t):-1}function Ye(e){n&&((!e||0<=Xe(P,m))&&(je(),Me(),Ce(),Be(),Qe()),e&&Object.assign(L,function(){ze();var e={};return G.forEach(function(t){e[t]=We(t)}),e}()||{})),(a||o||i)&&(je(),Me(),Ce(),Be(),Qe())}function Ze(e){if(e.jdEnv&&(s=e.jdEnv),!Te()){(function(e){null==(H=e||{}).requestFailMessageSize&&(H.requestFailMessageSize=c),null==H.apiFailMessageSize&&(H.apiFailMessageSize=u)})(e||{}),W=!0,xe();var t=!0;null!=H.plugin&&(t=H.plugin),Ye(t)}}t.onNetworkStatusChange(function(e){P.net=e.networkType});var $e=(L.config=Ze,L);e.monitor=$e,e.default=$e,Object.defineProperty(e,"__esModule",{value:!0})});
4
- /* eslint-disable no-new */
@@ -1 +0,0 @@
1
- import FloorListItem from '../../components/floorItem'