@conecli/cone-render 0.8.15-beta.57 → 0.8.15-beta.58
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.
package/dist/common/index.h5.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import global from '../common'
|
|
2
1
|
console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch))
|
|
3
2
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if')
|
|
4
3
|
this.jingGouMiniState = true
|
|
5
4
|
window.isJingGouMiniViewState = true
|
|
6
5
|
console.log('进入了 iwx?.miniProgram then ')
|
|
7
6
|
global.info.isJingGouMiniViewState = true
|
|
8
7
|
if (location.pathname == '/shop/home') {
|
|
9
8
|
const getQueryData = parseQueryUrlString(
|
|
10
9
|
location.search,
|
|
11
10
|
)
|
|
12
11
|
this.jdJumpToShopHome({
|
|
13
12
|
...getQueryData,
|
|
14
13
|
type: 'redirectTo',
|
|
15
14
|
})
|
|
16
15
|
}
|
|
17
16
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle')
|
|
18
17
|
}
|
|
18
|
+
import global from '../common'
|
|
19
19
|
console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch))
|
|
20
20
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if')
|
|
21
21
|
this.jingGouMiniState = true
|
|
22
22
|
window.isJingGouMiniViewState = true
|
|
23
23
|
console.log('进入了 iwx?.miniProgram then ')
|
|
24
24
|
global.info.isJingGouMiniViewState = true
|
|
25
25
|
if (location.pathname == '/shop/home') {
|
|
26
26
|
const getQueryData = parseQueryUrlString(
|
|
27
27
|
location.search,
|
|
28
28
|
)
|
|
29
29
|
this.jdJumpToShopHome({
|
|
30
30
|
...getQueryData,
|
|
31
31
|
type: 'redirectTo',
|
|
32
32
|
})
|
|
33
33
|
}
|
|
34
34
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle')
|
|
35
35
|
}
|
package/dist/utils/index.h5.ts
CHANGED
|
@@ -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,
|