@conecli/cone-render 0.10.1-shop3.5 → 0.10.1-shop3.51
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/README.md +1 -1
- package/dist/common/accessibility.h5.ts +1 -0
- package/dist/common/accessibility.ts +0 -0
- package/dist/common/const.ts +1 -1
- package/dist/common/index.h5.ts +1 -1
- package/dist/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/jdplayerSdk.weapp.tsx +1 -0
- package/dist/common/jssdk.ts +1 -1
- package/dist/common/jssdk.weapp.ts +1 -0
- package/dist/common/pageType.ts +1 -1
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/common/wxappApi.ts +1 -1
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CommonFloorHead/index.module.scss +126 -111
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index-back.tsx +1 -0
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
- package/dist/components/base/Dialog/index.module.scss +11 -0
- package/dist/components/base/InOrOutViewObserver/index.weapp.tsx +1 -0
- package/dist/components/base/InViewRender/index.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.weapp.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +118 -72
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.module.scss +12 -0
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +24 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/debug/DebugLayout/index.module.scss +2 -2
- package/dist/components/floorItem.weapp.tsx +1 -1
- package/dist/interface/common.ts +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.h5.ts +1 -1
- package/dist/jumpEventReport/index.jd.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.h5.ts +1 -0
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web/report.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjm.ts +1 -1
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/language/en_US.json +231 -0
- package/dist/language/zh_CN.json +231 -0
- package/dist/language/zh_HK.json +231 -0
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -56
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/shopMember.weapp.ts +1 -0
- package/dist/open/api/util.ts +1 -1
- package/dist/open/index.ts +1 -1
- package/dist/sass/app.h5.scss +278 -224
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/fetchGateway.weapp.ts +1 -0
- package/dist/service/fetchJsonp.weapp.ts +1 -0
- package/dist/service/http/colorSign.ts +1 -1
- package/dist/service/http/const.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -1
- package/dist/service/http/httpInterceptors.weapp.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -1
- package/dist/service/requestServer.ts +1 -1
- package/dist/service/requestServer.weapp.ts +1 -0
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/harmonyCallRouter.h5.ts +1 -0
- package/dist/utils/harmonyCallRouter.ts +0 -0
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/jumpExtMapUtil.h5.ts +1 -0
- package/dist/utils/jumpExtMapUtil.ts +1 -0
- package/dist/utils/log.ts +1 -0
- package/dist/utils/{sColor.js → sColor.ts} +1 -1
- package/dist/utils/sColor.weapp.ts +1 -0
- package/dist/utils/utils.ts +1 -1
- package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
- package/dist/wxapp/common/user_info.js +1 -1
- package/package.json +160 -141
- package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
- package/dist/utils/priceUtils.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const fetchLbsAddr = () => {};
|
package/package.json
CHANGED
|
@@ -1,143 +1,162 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
2
|
+
"name": "@conecli/cone-render",
|
|
3
|
+
"version": "0.10.1-shop3.51",
|
|
4
|
+
"private": false,
|
|
5
|
+
"files": [
|
|
6
|
+
"dist/"
|
|
7
|
+
],
|
|
8
|
+
"exports": {
|
|
9
|
+
"./api": "./dist/open/api/index.ts",
|
|
10
|
+
"./components": "./dist/open/components/index.ts",
|
|
11
|
+
"./modules": "./dist/open/modules/index.ts",
|
|
12
|
+
"./_api": "./dist/api",
|
|
13
|
+
"./_config/": "./dist/config/",
|
|
14
|
+
"./_common/": "./dist/common/",
|
|
15
|
+
"./_components/": "./dist/components/",
|
|
16
|
+
"./_interface": "./dist/interface",
|
|
17
|
+
"./_jumpEventReport": "./dist/jumpEventReport",
|
|
18
|
+
"./_jumpEventReport/": "./dist/jumpEventReport/",
|
|
19
|
+
"./_utils": "./dist/utils",
|
|
20
|
+
"./_utils/": "./dist/utils/",
|
|
21
|
+
"./sass/": "./dist/sass/"
|
|
22
|
+
},
|
|
23
|
+
"description": "cone-render",
|
|
24
|
+
"templateInfo": {
|
|
25
|
+
"name": "default",
|
|
26
|
+
"typescript": true,
|
|
27
|
+
"css": "sass",
|
|
28
|
+
"framework": "React"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build:weapp": "taro build --type weapp",
|
|
32
|
+
"build:swan": "taro build --type swan",
|
|
33
|
+
"build:alipay": "taro build --type alipay",
|
|
34
|
+
"build:tt": "taro build --type tt",
|
|
35
|
+
"build:h5": "taro build --type h5",
|
|
36
|
+
"build:rn": "taro build --type rn",
|
|
37
|
+
"build:qq": "taro build --type qq",
|
|
38
|
+
"build:jd": "taro build --type jd",
|
|
39
|
+
"build:harmony-hybrid": "taro build --type harmony-hybrid",
|
|
40
|
+
"dev:weapp": "npm run build:weapp -- --watch",
|
|
41
|
+
"dev:swan": "npm run build:swan -- --watch",
|
|
42
|
+
"dev:alipay": "npm run build:alipay -- --watch",
|
|
43
|
+
"dev:tt": "npm run build:tt -- --watch",
|
|
44
|
+
"dev:h5": "npm run build:h5 -- --watch",
|
|
45
|
+
"dev:rn": "npm run build:rn -- --watch",
|
|
46
|
+
"dev:qq": "npm run build:qq -- --watch",
|
|
47
|
+
"dev:jd": "npm run build:jd -- --watch",
|
|
48
|
+
"dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch",
|
|
49
|
+
"compressWatch": "gulp compressWatch --gulpfile ./publish/gulpfile.js",
|
|
50
|
+
"compress": "gulp compress --gulpfile ./publish/gulpfile.js",
|
|
51
|
+
"build": "npm run compress",
|
|
52
|
+
"check": "gulp check --gulpfile ./publish/gulpfile.js"
|
|
53
|
+
},
|
|
54
|
+
"browserslist": {
|
|
55
|
+
"development": [
|
|
56
|
+
"defaults and fully supports es6-module",
|
|
57
|
+
"maintained node versions"
|
|
58
|
+
],
|
|
59
|
+
"production": [
|
|
60
|
+
"last 3 versions",
|
|
61
|
+
"Android >= 4.1",
|
|
62
|
+
"ios >= 8"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"husky": {
|
|
66
|
+
"hooks": {
|
|
67
|
+
"pre-commit": "lint-staged",
|
|
68
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"lint-staged": {
|
|
72
|
+
"*.{js,ts}": [
|
|
73
|
+
"eslint",
|
|
74
|
+
"eslint --fix",
|
|
75
|
+
"git add"
|
|
76
|
+
],
|
|
77
|
+
"*.{scss}": [
|
|
78
|
+
"prettier --write",
|
|
79
|
+
"git add"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"keywords": [
|
|
83
|
+
"conecli",
|
|
84
|
+
"render"
|
|
85
|
+
],
|
|
86
|
+
"author": "conecli",
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@babel/runtime": "7.24.4",
|
|
89
|
+
"@tarojs/components": "4.1.2",
|
|
90
|
+
"@tarojs/helper": "4.1.2",
|
|
91
|
+
"@tarojs/plugin-platform-weapp": "4.1.2",
|
|
92
|
+
"@tarojs/plugin-platform-alipay": "4.1.2",
|
|
93
|
+
"@tarojs/plugin-platform-tt": "4.1.2",
|
|
94
|
+
"@tarojs/plugin-platform-swan": "4.1.2",
|
|
95
|
+
"@tarojs/plugin-platform-jd": "4.1.2",
|
|
96
|
+
"@tarojs/plugin-platform-qq": "4.1.2",
|
|
97
|
+
"@tarojs/plugin-platform-h5": "4.1.2",
|
|
98
|
+
"@tarojs/plugin-platform-harmony-hybrid": "4.1.2",
|
|
99
|
+
"@tarojs/runtime": "4.1.2",
|
|
100
|
+
"@tarojs/shared": "4.1.2",
|
|
101
|
+
"@tarojs/taro": "4.1.2",
|
|
102
|
+
"@tarojs/plugin-framework-react": "4.1.2",
|
|
103
|
+
"@tarojs/react": "4.1.2",
|
|
104
|
+
"@tarojs/service": "4.1.2",
|
|
105
|
+
"react-dom": "^18.2.0",
|
|
106
|
+
"react": "^18.2.0",
|
|
107
|
+
"art-template": "^4.13.2",
|
|
108
|
+
"gulp-filter": "^7.0.0",
|
|
109
|
+
"normalize.css": "^8.0.1",
|
|
110
|
+
"react-content-loader": "^6.2.0",
|
|
111
|
+
"react-intersection-observer": "8.33.1",
|
|
112
|
+
"react-refresh": "^0.14.0",
|
|
113
|
+
"sha256": "^0.2.0"
|
|
114
|
+
},
|
|
115
|
+
"devDependencies": {
|
|
116
|
+
"@babel/plugin-transform-strict-mode": "^7.16.7",
|
|
117
|
+
"@babel/core": "7.24.4",
|
|
118
|
+
"@tarojs/cli": "4.1.2",
|
|
119
|
+
"@babel/plugin-proposal-class-properties": "7.14.5",
|
|
120
|
+
"@types/webpack-env": "^1.13.6",
|
|
121
|
+
"@types/react": "^18.0.17",
|
|
122
|
+
"webpack": "5.91.0",
|
|
123
|
+
"@tarojs/taro-loader": "4.1.2",
|
|
124
|
+
"@tarojs/webpack5-runner": "4.1.2",
|
|
125
|
+
"sass": "^1.75.0",
|
|
126
|
+
"babel-preset-taro": "4.1.2",
|
|
127
|
+
"eslint-config-taro": "4.1.2",
|
|
128
|
+
"eslint": "^8.57.0",
|
|
129
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
130
|
+
"react-refresh": "^0.14.0",
|
|
131
|
+
"@babel/preset-react": "^7.24.1",
|
|
132
|
+
"eslint-plugin-react": "^7.34.1",
|
|
133
|
+
"eslint-plugin-import": "^2.12.0",
|
|
134
|
+
"eslint-plugin-react-hooks": "^4.4.0",
|
|
135
|
+
"stylelint": "^16.4.0",
|
|
136
|
+
"@typescript-eslint/parser": "^6.2.0",
|
|
137
|
+
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
138
|
+
"typescript": "^5.4.5",
|
|
139
|
+
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
140
|
+
"postcss": "^8.4.38",
|
|
141
|
+
"ts-node": "^10.9.1",
|
|
142
|
+
"@types/node": "^18",
|
|
143
|
+
"del": "^6.1.1",
|
|
144
|
+
"escodegen": "^2.0.0",
|
|
145
|
+
"espree": "^9.3.2",
|
|
146
|
+
"esprima": "^4.0.1",
|
|
147
|
+
"estraverse": "^5.3.0",
|
|
148
|
+
"gulp": "^4.0.2",
|
|
149
|
+
"gulp-util": "^3.0.8",
|
|
150
|
+
"html-webpack-plugin": "^5.5.0",
|
|
151
|
+
"mini-css-extract-plugin": "^2.6.1",
|
|
152
|
+
"shelljs": "^0.8.5",
|
|
153
|
+
"terser-webpack-plugin": "^5.3.6"
|
|
154
|
+
},
|
|
155
|
+
"resolutions": {
|
|
156
|
+
"@babel/runtime": "7.24.4",
|
|
157
|
+
"@tarojs/cli": "4.1.2",
|
|
158
|
+
"@tarojs/helper": "4.1.2",
|
|
159
|
+
"minimatch": "9.0.5",
|
|
160
|
+
"cacheable": "1.10.4"
|
|
161
|
+
}
|
|
143
162
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { SECTION_HOME_TAB_TYPE, SHOP_MENU_ID_TYPE } from '../../common/const'
|
package/dist/utils/priceUtils.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const reg = /([\d|\.]+)/;
|
|
2
|
const newPrice = (price + '').match(reg);
|
|
3
1
|
if (Array.isArray(newPrice) && newPrice.length > 0) {
|
|
4
2
|
return newPrice[0];
|
|
5
3
|
}
|
|
6
4
|
return '0';
|
|
7
5
|
const tmpPrice = parseFloat(price);
|
|
8
6
|
return tmpPrice.toFixed(2);
|
|
9
7
|
const tmpPrice = formatPrice(price);
|
|
10
8
|
const priceArray = tmpPrice.split('.');
|
|
11
9
|
let decPart;
|
|
12
10
|
if (tmpPrice.length > 1) {
|
|
13
11
|
decPart = priceArray[1];
|
|
14
12
|
} else {
|
|
15
13
|
decPart = '00';
|
|
16
14
|
}
|
|
17
15
|
return {
|
|
18
16
|
intPart: priceArray[0],
|
|
19
17
|
decPart
|
|
20
18
|
}
|