@conecli/cone-render 0.10.1-shop3.1 → 0.10.1-shop3.100
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/api/index.ts +1 -1
- package/dist/common/accessibility.h5.ts +1 -0
- package/dist/common/accessibility.ts +1 -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.ascf.ts +1 -0
- 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.module.scss +49 -44
- 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/ExposureSmart/index.h5.module.scss +12 -2
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
- 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.module.scss +2 -2
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/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 +33 -1
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
- package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
- package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
- package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
- package/dist/components/debug/DebugLayout/index.module.scss +2 -2
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/floorItem.weapp.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -1
- package/dist/config/env.ts +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/interface/service.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.jdb.ts +1 -1
- package/dist/jumpEventReport/web.jdjch.ts +1 -1
- package/dist/jumpEventReport/web.jxwxapp.ts +1 -1
- package/dist/jumpEventReport/web.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjapp.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 +395 -0
- package/dist/language/zh_CN.json +395 -0
- package/dist/language/zh_HK.json +395 -0
- package/dist/libs/openShopBridge.js +161 -0
- package/dist/libs/openShopBridge.min.js +1 -0
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +80 -53
- 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/track.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/open/index.ts +1 -1
- package/dist/sass/app.h5.scss +278 -224
- package/dist/sass/base.scss +150 -145
- 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/jumpExtMapUtil.weapp.ts +1 -0
- package/dist/utils/log.ts +1 -0
- package/dist/utils/sColor.ts +1 -0
- 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 +162 -141
- package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
- package/dist/utils/memberFormatUtils.js +0 -1
- package/dist/utils/priceUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare namespace JumpEventReportInterFace {
|
|
2
1
|
export interface ShopIdsInfo {
|
|
3
2
|
shopId?: number | string
|
|
4
3
|
venderId?: number | string
|
|
5
4
|
logEventInfo?: object
|
|
6
5
|
type?: string
|
|
7
6
|
}
|
|
8
7
|
export interface RouterInfo {
|
|
9
8
|
params: any
|
|
10
9
|
pageParamStr?: string
|
|
11
10
|
[key: string]: any
|
|
12
11
|
}
|
|
13
12
|
export interface JumpMiniPath {
|
|
14
13
|
shop: string
|
|
15
14
|
shopx: string
|
|
16
15
|
detail: string
|
|
17
16
|
searchCoupon: string
|
|
18
17
|
h5: string
|
|
19
18
|
jingGouHome: string
|
|
20
19
|
shopFans: string
|
|
21
20
|
shopLight: string
|
|
22
21
|
couponSearch: string
|
|
23
22
|
shopSearch: string
|
|
24
23
|
jxCouponSearch: string
|
|
25
24
|
jxDetail: string
|
|
26
25
|
}
|
|
27
26
|
export interface jumpWebUrl {
|
|
28
27
|
mshop: string
|
|
29
28
|
pages: string
|
|
30
29
|
pcCoupon: string
|
|
31
30
|
couponSearch: string
|
|
32
31
|
jxCouponSearch: string
|
|
33
32
|
pcCouponSearch: string
|
|
34
33
|
shopSecondActivity: string
|
|
35
34
|
shopLight: string
|
|
36
35
|
detail: string
|
|
37
36
|
jxDetail: string
|
|
38
37
|
tjDetail: string
|
|
39
38
|
pcDetail: string
|
|
40
39
|
mobileHome: string
|
|
41
40
|
rank: string
|
|
42
41
|
wqShopMember: string
|
|
43
42
|
wqShopDetail: string
|
|
44
43
|
wqShopSearch: string
|
|
45
44
|
myCouponList: string
|
|
46
45
|
myRedPacketList: string
|
|
47
46
|
memberHome: string
|
|
48
47
|
memberCard: string
|
|
49
48
|
memberPoints: string
|
|
50
49
|
memberBenefit: string
|
|
51
50
|
memberScores: string
|
|
52
51
|
memberScoreRule: string
|
|
53
52
|
memberProduct: string
|
|
54
53
|
shopMember: string
|
|
55
54
|
shopMemberPointDetail: string
|
|
56
55
|
shopMemberBenefit: string
|
|
57
56
|
shopMemberRule: string
|
|
58
57
|
shopMemberCloseAccount: string
|
|
59
58
|
shopMemberPointExchange: string
|
|
60
59
|
shopMemberBonusPurchase: string
|
|
61
60
|
shopMemberGood: string
|
|
62
61
|
beanDetail: string
|
|
63
62
|
totalPromotion: string
|
|
64
63
|
mLive: string
|
|
65
64
|
shopHome: string
|
|
66
65
|
shopIntroduce: string
|
|
67
66
|
shopSearch: string
|
|
68
67
|
shopLottery: string
|
|
69
68
|
shopCoupon: string
|
|
70
69
|
shopWares: string
|
|
71
70
|
shopFastShopping: string
|
|
72
71
|
shopSpeciSeckill: string
|
|
73
72
|
shopVideos: string
|
|
74
73
|
shopMoreGoods:string
|
|
75
74
|
shopUseShareOrderUgcContent: string
|
|
76
75
|
dongDongChat: string
|
|
77
76
|
samCenter: string
|
|
78
77
|
samCard: string
|
|
79
78
|
shopH5MemberCardAPP: string
|
|
80
79
|
shopH5MemberCardM: string
|
|
81
80
|
}
|
|
82
81
|
export interface EventReportConfig {
|
|
83
82
|
routerInfo: RouterInfo
|
|
84
83
|
nativeEvent: any
|
|
85
84
|
}
|
|
86
85
|
export interface OptEventLogParams {
|
|
87
86
|
eventId?: string
|
|
88
87
|
eventParam?: string | object
|
|
89
88
|
pTag?: string
|
|
90
89
|
jsonParam?: {
|
|
91
90
|
[key: string]: any
|
|
92
91
|
}
|
|
93
92
|
skuId?: string | number
|
|
94
93
|
eventLevel?: string
|
|
95
94
|
exposureState?: boolean
|
|
96
95
|
otherParams?: object
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
export interface JumpH5ReportConfig {
|
|
100
99
|
shopId?: number | string
|
|
101
100
|
venderId?: number | string
|
|
102
101
|
sourceValue?: string
|
|
103
102
|
sourceType?: string
|
|
104
103
|
}
|
|
105
104
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
106
105
|
getConfig(opt): EventReportConfig
|
|
107
106
|
updateInfo(routerInfo, logPname): void
|
|
108
107
|
}
|
|
109
108
|
export interface CouponUrlParams {
|
|
110
109
|
batchId: number
|
|
111
110
|
bindType: number
|
|
112
111
|
startTime?: number
|
|
113
112
|
endTime?: number
|
|
114
113
|
quangoufrom?: number
|
|
115
114
|
sceneId?: number
|
|
116
115
|
}
|
|
117
116
|
export interface JdMiniJumpParams {
|
|
118
117
|
param: string | object
|
|
119
118
|
sourceValue?: string
|
|
120
119
|
sourceType?: string
|
|
121
120
|
des?: any
|
|
122
121
|
logEventInfo?: object
|
|
123
122
|
}
|
|
124
123
|
export interface LinkMiniParams {
|
|
125
124
|
param?: {
|
|
126
125
|
pageType?: string
|
|
127
126
|
}
|
|
128
127
|
appId?: string | number
|
|
129
128
|
path?: string
|
|
130
129
|
}
|
|
131
130
|
export interface JdJumpWxappReportConfig {
|
|
132
131
|
wxApiVersion: string
|
|
133
132
|
wxApiUrl: string
|
|
134
133
|
wqReportUrl: string
|
|
135
134
|
}
|
|
135
|
+
export declare namespace JumpEventReportInterFace {
|
|
136
136
|
export interface ShopIdsInfo {
|
|
137
137
|
shopId?: number | string;
|
|
138
138
|
venderId?: number | string;
|
|
139
139
|
logEventInfo?: object;
|
|
140
140
|
type?: string;
|
|
141
141
|
}
|
|
142
142
|
export interface RouterInfo {
|
|
143
143
|
params: any;
|
|
144
144
|
pageParamStr?: string;
|
|
145
145
|
[key: string]: any;
|
|
146
146
|
}
|
|
147
147
|
export interface JumpMiniPath {
|
|
148
148
|
shop: string;
|
|
149
149
|
shopx: string;
|
|
150
150
|
detail: string;
|
|
151
151
|
searchCoupon: string;
|
|
152
152
|
h5: string;
|
|
153
153
|
jingGouHome: string;
|
|
154
154
|
shopFans: string;
|
|
155
155
|
shopLight: string;
|
|
156
156
|
couponSearch: string;
|
|
157
157
|
shopSearch: string;
|
|
158
158
|
jxCouponSearch: string;
|
|
159
159
|
jxDetail: string;
|
|
160
160
|
jdLive: string;
|
|
161
161
|
orderList: string;
|
|
162
162
|
}
|
|
163
163
|
export interface jumpWebUrl {
|
|
164
164
|
mshop: string;
|
|
165
165
|
pages: string;
|
|
166
166
|
pcCoupon: string;
|
|
167
167
|
couponSearch: string;
|
|
168
168
|
jxCouponSearch: string;
|
|
169
169
|
pcCouponSearch: string;
|
|
170
170
|
shopSecondActivity: string;
|
|
171
171
|
shopLight: string;
|
|
172
172
|
detail: string;
|
|
173
173
|
jxDetail: string;
|
|
174
174
|
tjDetail: string;
|
|
175
175
|
pcDetail: string;
|
|
176
176
|
mobileHome: string;
|
|
177
177
|
rank: string;
|
|
178
178
|
wqShopMember: string;
|
|
179
179
|
wqShopDetail: string;
|
|
180
180
|
wqShopSearch: string;
|
|
181
181
|
myCouponList: string;
|
|
182
182
|
myRedPacketList: string;
|
|
183
183
|
memberHome: string;
|
|
184
184
|
memberCard: string;
|
|
185
185
|
memberPoints: string;
|
|
186
186
|
memberBenefit: string;
|
|
187
187
|
memberScores: string;
|
|
188
188
|
memberScoreRule: string;
|
|
189
189
|
memberProduct: string;
|
|
190
190
|
shopMember: string;
|
|
191
191
|
shopMemberPointDetail: string;
|
|
192
192
|
shopMemberBenefit: string;
|
|
193
193
|
shopMemberRule: string;
|
|
194
194
|
shopMemberCloseAccount: string;
|
|
195
195
|
shopMemberPointExchange: string;
|
|
196
196
|
shopMemberBonusPurchase: string;
|
|
197
197
|
shopMemberGood: string;
|
|
198
198
|
beanDetail: string;
|
|
199
199
|
totalPromotion: string;
|
|
200
200
|
mLive: string;
|
|
201
201
|
shopHome: string;
|
|
202
202
|
shopIntroduce: string;
|
|
203
203
|
shopSearch: string;
|
|
204
204
|
shopLottery: string;
|
|
205
205
|
shopCoupon: string;
|
|
206
206
|
shopWares: string;
|
|
207
207
|
shopFastShopping: string;
|
|
208
208
|
shopSpeciSeckill: string;
|
|
209
209
|
shopVideos: string;
|
|
210
210
|
shopMoreGoods: string;
|
|
211
211
|
shopUseShareOrderUgcContent: string;
|
|
212
212
|
dongDongChat: string;
|
|
213
213
|
samCenter: string;
|
|
214
214
|
samCard: string;
|
|
215
215
|
shopH5MemberCardAPP: string;
|
|
216
216
|
shopH5MemberCardM: string;
|
|
217
217
|
sageAuthorHome: string;
|
|
218
218
|
shopMemberInfoEdit: string;
|
|
219
219
|
cart: string;
|
|
220
220
|
memberPaidCenter: string;
|
|
221
221
|
memberPaidCard: string;
|
|
222
222
|
memberPaidBind: string;
|
|
223
223
|
orderList: string;
|
|
224
224
|
}
|
|
225
225
|
export interface EventReportConfig {
|
|
226
226
|
routerInfo: RouterInfo;
|
|
227
227
|
nativeEvent: any;
|
|
228
228
|
}
|
|
229
229
|
export interface OptEventLogParams {
|
|
230
230
|
eventId?: string;
|
|
231
231
|
eventParam?: string | object;
|
|
232
232
|
pTag?: string;
|
|
233
233
|
jsonParam?: {
|
|
234
234
|
[key: string]: any;
|
|
235
235
|
};
|
|
236
236
|
skuId?: string | number;
|
|
237
237
|
eventLevel?: string;
|
|
238
238
|
exposureState?: boolean;
|
|
239
239
|
otherParams?: object;
|
|
240
240
|
spmAllCode?: string;
|
|
241
241
|
spmCodeForCD?: string;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
export interface JumpH5ReportConfig {
|
|
245
245
|
shopId?: number | string;
|
|
246
246
|
venderId?: number | string;
|
|
247
247
|
sourceValue?: string;
|
|
248
248
|
sourceType?: string;
|
|
249
249
|
}
|
|
250
250
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
251
251
|
getConfig(opt): EventReportConfig;
|
|
252
252
|
updateInfo(routerInfo, logPname): void;
|
|
253
253
|
}
|
|
254
254
|
export interface CouponUrlParams {
|
|
255
255
|
batchId: number;
|
|
256
256
|
bindType: number;
|
|
257
257
|
startTime?: number;
|
|
258
258
|
endTime?: number;
|
|
259
259
|
quangoufrom?: number;
|
|
260
260
|
sceneId?: number;
|
|
261
261
|
}
|
|
262
262
|
export interface JdMiniJumpParams {
|
|
263
263
|
param: string | object;
|
|
264
264
|
sourceValue?: string;
|
|
265
265
|
sourceType?: string;
|
|
266
266
|
des?: any;
|
|
267
267
|
logEventInfo?: object;
|
|
268
268
|
useEncodeParams?: boolean;
|
|
269
269
|
}
|
|
270
270
|
export interface LinkMiniParams {
|
|
271
271
|
param?: {
|
|
272
272
|
pageType?: string;
|
|
273
273
|
};
|
|
274
274
|
appId?: string | number;
|
|
275
275
|
path?: string;
|
|
276
276
|
}
|
|
277
277
|
export interface JdJumpWxappReportConfig {
|
|
278
278
|
wxApiVersion: string;
|
|
279
279
|
wxApiUrl: string;
|
|
280
280
|
wqReportUrl: string;
|
|
281
281
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { ComponentInterFace } from './component'
|
|
2
1
|
pcCoupon: string
|
|
3
2
|
api: string
|
|
4
3
|
hkApi: string
|
|
5
4
|
pcSo: string
|
|
6
5
|
mobileLogin: string
|
|
7
6
|
kpl: string
|
|
8
7
|
jxDomain: string
|
|
9
8
|
hkApiFunc: string
|
|
10
9
|
isLogin: string
|
|
11
10
|
statusCode: number
|
|
12
11
|
resTimeoutState?: boolean
|
|
13
12
|
errMsg?: string
|
|
14
13
|
msg?: string
|
|
15
14
|
data?: any
|
|
16
15
|
status?: string
|
|
17
16
|
requestType?: string
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
export interface FloorInfoPageRequestParam {
|
|
21
20
|
snapVersion?: string
|
|
22
21
|
projectId?: string
|
|
23
22
|
pageId?: string
|
|
24
23
|
lastFloorIdInPrePage?: string
|
|
25
24
|
}
|
|
25
|
+
import { ComponentInterFace } from './component';
|
|
26
26
|
export interface Domain {
|
|
27
27
|
base: string;
|
|
28
28
|
ztJshop: string;
|
|
29
29
|
jshop2013: string;
|
|
30
30
|
pcCoupon: string;
|
|
31
31
|
sale: string;
|
|
32
32
|
mshop: string;
|
|
33
33
|
pages: string;
|
|
34
34
|
club: string;
|
|
35
35
|
pm: string;
|
|
36
36
|
pf: string;
|
|
37
37
|
fmall: string;
|
|
38
38
|
lbs: string;
|
|
39
39
|
yushou: string;
|
|
40
40
|
wq: string;
|
|
41
41
|
wqs: string;
|
|
42
42
|
wqshop: string;
|
|
43
43
|
shopMember: string;
|
|
44
44
|
bean: string;
|
|
45
45
|
mapi: string;
|
|
46
46
|
api: string;
|
|
47
47
|
hkApi: string;
|
|
48
48
|
actJshop: string;
|
|
49
49
|
msJshop: string;
|
|
50
50
|
quark: string;
|
|
51
51
|
ranking: string;
|
|
52
52
|
iJshop: string;
|
|
53
53
|
mobileSo: string;
|
|
54
54
|
pcSo: string;
|
|
55
55
|
capturehomeshare: string;
|
|
56
56
|
jdcs: string;
|
|
57
57
|
lives: string;
|
|
58
58
|
mobileDetail: string;
|
|
59
59
|
mobileHome: string;
|
|
60
60
|
mobileLogin: string;
|
|
61
61
|
pcView: string;
|
|
62
62
|
pcLogin: string;
|
|
63
63
|
kpl: string;
|
|
64
64
|
jxDomain: string;
|
|
65
65
|
ecoDomain: string;
|
|
66
66
|
p: string;
|
|
67
67
|
trade: string;
|
|
68
68
|
}
|
|
69
69
|
export interface HttpApi {
|
|
70
70
|
decorate: {
|
|
71
71
|
preview: string;
|
|
72
72
|
};
|
|
73
73
|
userAddress: string;
|
|
74
74
|
lbsLocation: string;
|
|
75
75
|
couponStatus: string;
|
|
76
76
|
addCart: string;
|
|
77
77
|
receiveCoupon: string;
|
|
78
78
|
areaStockState: string;
|
|
79
79
|
apiFunc: string;
|
|
80
80
|
hkApiFunc: string;
|
|
81
81
|
follow: string;
|
|
82
82
|
unfollow: string;
|
|
83
83
|
isFollow: string;
|
|
84
84
|
flowers: string;
|
|
85
85
|
serverTime: string;
|
|
86
86
|
followShop: string;
|
|
87
87
|
getDefaultAddress: string;
|
|
88
88
|
userInfo: string;
|
|
89
89
|
font: string;
|
|
90
90
|
isLogin: string;
|
|
91
91
|
}
|
|
92
92
|
export interface HttpRequestInfo {
|
|
93
93
|
cookiesStr: string;
|
|
94
94
|
requestHeaderContentType: {
|
|
95
95
|
jsonHeader: {
|
|
96
96
|
'content-type': string;
|
|
97
97
|
};
|
|
98
98
|
formDataHeader: {
|
|
99
99
|
'content-type': string;
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
requestBaseParam: {
|
|
103
103
|
data: any;
|
|
104
104
|
header: {
|
|
105
105
|
'content-type': string;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
apiClientParams: {
|
|
109
109
|
appid: string;
|
|
110
110
|
clientVersion: string;
|
|
111
111
|
client: string;
|
|
112
112
|
uuid: string;
|
|
113
113
|
area?: string;
|
|
114
114
|
loginType?: string;
|
|
115
115
|
loginWQBiz?: string;
|
|
116
116
|
};
|
|
117
117
|
wxappClientParams?: {
|
|
118
118
|
appid: string;
|
|
119
119
|
clientVersion: string;
|
|
120
120
|
client: string;
|
|
121
121
|
uuid: string;
|
|
122
122
|
area?: string;
|
|
123
123
|
};
|
|
124
124
|
timeOut: number;
|
|
125
125
|
}
|
|
126
126
|
export interface Method {
|
|
127
127
|
|
|
128
128
|
OPTIONS;
|
|
129
129
|
|
|
130
130
|
GET;
|
|
131
131
|
|
|
132
132
|
HEAD;
|
|
133
133
|
|
|
134
134
|
POST;
|
|
135
135
|
|
|
136
136
|
PUT;
|
|
137
137
|
|
|
138
138
|
DELETE;
|
|
139
139
|
|
|
140
140
|
TRACE;
|
|
141
141
|
|
|
142
142
|
CONNECT;
|
|
143
143
|
}
|
|
144
144
|
export interface RequestPromiseRes {
|
|
145
145
|
statusCode: number;
|
|
146
146
|
resTimeoutState?: boolean;
|
|
147
147
|
errMsg?: string;
|
|
148
148
|
msg?: string;
|
|
149
149
|
data?: any;
|
|
150
150
|
status?: string;
|
|
151
151
|
requestType?: string;
|
|
152
152
|
}
|
|
153
153
|
export interface RequestResponseFormatRes {
|
|
154
154
|
statusCode?: number;
|
|
155
155
|
code?: number | string;
|
|
156
156
|
ok: boolean;
|
|
157
157
|
errMsg?: string;
|
|
158
158
|
msg?: string;
|
|
159
159
|
data?: any;
|
|
160
160
|
result?: any;
|
|
161
161
|
source?: any;
|
|
162
162
|
}
|
|
163
163
|
export interface CouponParams {
|
|
164
164
|
couponId: string;
|
|
165
165
|
act: string;
|
|
166
166
|
operation: string;
|
|
167
167
|
}
|
|
168
168
|
export interface AddToCartQueryParam {
|
|
169
169
|
wareId: string | number;
|
|
170
170
|
num: number;
|
|
171
171
|
resourceType: string;
|
|
172
172
|
resourceValue: string;
|
|
173
173
|
sid: string;
|
|
174
174
|
clientKey: string;
|
|
175
175
|
ran: number;
|
|
176
176
|
suitSkuId?: string | number;
|
|
177
177
|
suitSkuNum?: number;
|
|
178
178
|
sType?: number;
|
|
179
179
|
ybId?: string | number | null;
|
|
180
180
|
}
|
|
181
181
|
export interface UserAddressData {
|
|
182
182
|
id: number;
|
|
183
183
|
provinceId: number;
|
|
184
184
|
cityId: number;
|
|
185
185
|
countyId?: number;
|
|
186
186
|
townId?: number;
|
|
187
187
|
}
|
|
188
188
|
export interface UserAddressListData {
|
|
189
189
|
body: {
|
|
190
190
|
addressInfoList: UserAddressListItemData[];
|
|
191
191
|
addressLimit: number;
|
|
192
192
|
checkFlag: boolean;
|
|
193
193
|
rangeFlag: boolean;
|
|
194
194
|
resultFlag: boolean;
|
|
195
195
|
supportGis: boolean;
|
|
196
196
|
supportIntelliGenText: boolean;
|
|
197
197
|
};
|
|
198
198
|
code: string;
|
|
199
199
|
message: string;
|
|
200
200
|
}
|
|
201
201
|
export interface UserAddressListItemData {
|
|
202
202
|
addressDetail: string;
|
|
203
203
|
addressId: number;
|
|
204
204
|
addressName: string;
|
|
205
205
|
areaCode: string;
|
|
206
206
|
cityId: number;
|
|
207
207
|
cityName: string;
|
|
208
208
|
clickAble: boolean;
|
|
209
209
|
coordType: number;
|
|
210
210
|
countyId: number;
|
|
211
211
|
countyName: string;
|
|
212
212
|
defaultAddress: boolean;
|
|
213
213
|
email: string;
|
|
214
214
|
encryFlag: boolean;
|
|
215
215
|
foreignOverSea: boolean;
|
|
216
216
|
fullAddress: string;
|
|
217
217
|
gangAoTai: boolean;
|
|
218
218
|
latitude: number;
|
|
219
219
|
latitudeString: string;
|
|
220
220
|
longitude: number;
|
|
221
221
|
longitudeString: string;
|
|
222
222
|
mobile: string;
|
|
223
223
|
name: string;
|
|
224
224
|
nameCode: string;
|
|
225
225
|
operateTime: string;
|
|
226
226
|
operationType: number;
|
|
227
227
|
phone: string;
|
|
228
228
|
postCode: string;
|
|
229
229
|
provinceId: number;
|
|
230
230
|
provinceName: string;
|
|
231
231
|
realMobile: string;
|
|
232
232
|
retTag: number;
|
|
233
233
|
selected: boolean;
|
|
234
234
|
sortTime: string;
|
|
235
235
|
tagSource: number;
|
|
236
236
|
townId: number;
|
|
237
237
|
townName: string;
|
|
238
238
|
updateTime: string;
|
|
239
239
|
}
|
|
240
240
|
export interface ShopHomeDataResponseRes extends RequestResponseFormatRes {
|
|
241
241
|
readonly ok: boolean;
|
|
242
242
|
readonly msg?: any;
|
|
243
243
|
baseInfo?: ComponentInterFace.ShopTotalInfo;
|
|
244
244
|
extendInfo?: {
|
|
245
245
|
[key: string]: any;
|
|
246
246
|
};
|
|
247
247
|
floorInfo?: {
|
|
248
248
|
floors: [];
|
|
249
249
|
pageSet?: object;
|
|
250
250
|
homeDecorationType?: number;
|
|
251
251
|
[key: string]: any;
|
|
252
252
|
};
|
|
253
253
|
otherInfo?: {
|
|
254
254
|
[key: string]: any;
|
|
255
255
|
};
|
|
256
256
|
menuInfo?: {
|
|
257
257
|
menuList: [];
|
|
258
258
|
[key: string]: any;
|
|
259
259
|
};
|
|
260
260
|
activityInfo?: {
|
|
261
261
|
activityRuleType: number;
|
|
262
262
|
isSign: number;
|
|
263
263
|
followed: boolean;
|
|
264
264
|
[key: string]: any;
|
|
265
265
|
};
|
|
266
266
|
}
|
|
267
267
|
export interface ShopPromotionListDataRes extends RequestResponseFormatRes {
|
|
268
268
|
readonly ok: boolean;
|
|
269
269
|
readonly msg?: any;
|
|
270
270
|
noPromotionState?: boolean;
|
|
271
271
|
shopTotalInfo?: ComponentInterFace.ShopTotalInfo;
|
|
272
272
|
shopPromotionData?: ComponentInterFace.FloorModuleData;
|
|
273
273
|
}
|
|
274
274
|
export interface ShopPromotionDataResponseRes extends RequestResponseFormatRes {
|
|
275
275
|
readonly ok: boolean;
|
|
276
276
|
readonly msg?: any;
|
|
277
277
|
baseInfo?: ComponentInterFace.ShopTotalInfo;
|
|
278
278
|
extendInfo?: {
|
|
279
279
|
[key: string]: any;
|
|
280
280
|
};
|
|
281
281
|
floorInfo?: {
|
|
282
282
|
floors: [];
|
|
283
283
|
pageSet?: object;
|
|
284
284
|
[key: string]: any;
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
export interface SkuToCartDataRes {
|
|
288
288
|
readonly ok: boolean;
|
|
289
289
|
[key: string]: any;
|
|
290
290
|
}
|
|
291
291
|
export interface FloorInfoPageRequestParam {
|
|
292
292
|
snapVersion?: string;
|
|
293
293
|
projectId?: string;
|
|
294
294
|
pageId?: string;
|
|
295
295
|
lastFloorIdInPrePage?: string;
|
|
296
296
|
}
|