@conecli/cone-render 0.10.1-beta.7 → 0.10.1-beta.8
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/api/index.ts +1 -1
- 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/jssdk.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/base/CommonFloorHead/index.module.scss +126 -111
- package/dist/components/base/CommonFloorHead/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/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/reporter.tsx +1 -1
- 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/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/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/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- 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.wxapp.ts +1 -1
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -53
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/sass/app.h5.scss +273 -224
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/fetchGateway.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/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/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 +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 +158 -141
package/dist/interface/common.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro'
|
|
2
1
|
isJingxiMiniViewState?: boolean
|
|
3
2
|
floorVideInfo: object
|
|
4
3
|
isFloorInfoDataByPage?: boolean
|
|
5
4
|
originQueryInfo: {
|
|
6
5
|
openAppData?: {
|
|
7
6
|
[key: string]: any
|
|
8
7
|
}
|
|
8
|
+
import Taro from '@tarojs/taro';
|
|
9
9
|
export interface BaseConfigInfo {
|
|
10
10
|
abTestLabels: {
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
};
|
|
13
13
|
nonSellableSkuids: {
|
|
14
14
|
[key: string]: number;
|
|
15
15
|
};
|
|
16
16
|
loginState: boolean;
|
|
17
17
|
cookiesStr: string;
|
|
18
18
|
isImmersive: boolean;
|
|
19
19
|
isJingGouMiniViewState?: boolean;
|
|
20
20
|
isJingxiMiniViewState?: boolean;
|
|
21
21
|
shopInfo: {
|
|
22
22
|
shopId?: string | number;
|
|
23
23
|
venderId?: string | number;
|
|
24
24
|
};
|
|
25
25
|
pageInfo: {
|
|
26
26
|
appId?: string;
|
|
27
27
|
shopId?: string | number;
|
|
28
28
|
venderId?: string | number;
|
|
29
29
|
logoSquare?: string;
|
|
30
30
|
logoUrl?: string;
|
|
31
31
|
address?: string | null;
|
|
32
32
|
addressCommaStr?: string | null;
|
|
33
33
|
un_area?: string | null;
|
|
34
34
|
userLbsAddress?: string;
|
|
35
35
|
shopName?: string;
|
|
36
36
|
jumpTab?: string;
|
|
37
37
|
sourceType?: string;
|
|
38
38
|
sourceValue?: string;
|
|
39
39
|
moduleId?: string;
|
|
40
40
|
entrance?: string;
|
|
41
41
|
EA_PTAG?: string;
|
|
42
42
|
ptag?: string;
|
|
43
43
|
originReferer?: string;
|
|
44
44
|
recBroker?: string;
|
|
45
45
|
rcmdRelateSkuId?: string;
|
|
46
46
|
tabSpm?: string;
|
|
47
47
|
skuId?: string;
|
|
48
48
|
keywords?: string;
|
|
49
49
|
sceneId?: string;
|
|
50
50
|
miniScrollInfo?: {
|
|
51
51
|
scrollLeft: number;
|
|
52
52
|
scrollTop: number;
|
|
53
53
|
scrollHeight: number;
|
|
54
54
|
scrollWidth: number;
|
|
55
55
|
deltaX: number;
|
|
56
56
|
deltaY: number;
|
|
57
57
|
};
|
|
58
58
|
tabsLoadAllDataInfo: {
|
|
59
59
|
[key: string]: boolean;
|
|
60
60
|
};
|
|
61
61
|
wxBusinessType: string;
|
|
62
62
|
vapptype: string;
|
|
63
63
|
pageType: string;
|
|
64
64
|
dataType: string;
|
|
65
65
|
floorExposureInfo: object;
|
|
66
66
|
floorVideInfo: object;
|
|
67
67
|
isExposureState?: boolean;
|
|
68
68
|
appLazyContainerList?: string[];
|
|
69
69
|
appLazyFinishContainerList?: [];
|
|
70
70
|
shopStickyAndToTopInfo?: {
|
|
71
71
|
toTop: boolean;
|
|
72
72
|
sticky: boolean;
|
|
73
73
|
};
|
|
74
74
|
isVipShop?: boolean;
|
|
75
75
|
updateShopInfosState?: boolean;
|
|
76
76
|
pageScrollTop: number;
|
|
77
77
|
shopNavBarHeight: number;
|
|
78
78
|
isFloorInfoDataByPage?: boolean;
|
|
79
79
|
};
|
|
80
80
|
lazyContainer?: {
|
|
81
81
|
wellChosen: {
|
|
82
82
|
appLazyContainerList?: string[];
|
|
83
83
|
appLazyFinishContainerList?: string[];
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
queryLogInfo?: {
|
|
87
87
|
sourceType: string;
|
|
88
88
|
sourceValue: string;
|
|
89
89
|
moduleId?: string;
|
|
90
90
|
entrance?: string;
|
|
91
91
|
};
|
|
92
92
|
queryInfo: {
|
|
93
93
|
shopId?: string | number;
|
|
94
94
|
venderId?: string | number;
|
|
95
95
|
shopName?: string;
|
|
96
96
|
[key: string]: any;
|
|
97
97
|
};
|
|
98
98
|
originQueryInfo: {
|
|
99
99
|
shopId?: string | number;
|
|
100
100
|
venderId?: string | number;
|
|
101
101
|
shopName?: string;
|
|
102
102
|
[key: string]: any;
|
|
103
103
|
};
|
|
104
104
|
sysInfo: {
|
|
105
105
|
[key: string]: any;
|
|
106
106
|
};
|
|
107
107
|
userInfo: {
|
|
108
108
|
pin?: string;
|
|
109
109
|
encodePin?: string;
|
|
110
110
|
ptkey?: string;
|
|
111
111
|
wqCookie?: string | null;
|
|
112
112
|
wxappVersion?: string;
|
|
113
113
|
wqAuthToken?: string;
|
|
114
114
|
wqVisitkey?: string;
|
|
115
115
|
};
|
|
116
116
|
openAppData?: {
|
|
117
117
|
[key: string]: any;
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
export interface OneKeyJoinMemberParamInfo {
|
|
122
122
|
title?: string;
|
|
123
123
|
shopId?: string | number;
|
|
124
124
|
venderId?: string | number;
|
|
125
125
|
businessSource?: keyof OneKeyJoinMemberBusinessSource;
|
|
126
126
|
}
|
|
127
127
|
export interface OneKeyJoinMemberBusinessSource {
|
|
128
128
|
isv;
|
|
129
129
|
lv0;
|
|
130
130
|
}
|
|
131
131
|
export type lazyContainer = {
|
|
132
132
|
[key in 'string']?: {
|
|
133
133
|
appLazyFinishContainerList: any[];
|
|
134
134
|
appLazyContainerList: any[];
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
137
|
export type renderedIsvComponents = {
|
|
138
138
|
[key in 'string']?: any;
|
|
139
139
|
};
|
|
140
140
|
export type MiniApplogUtil = any;
|
|
141
141
|
export type MiniAppLog = any;
|
|
142
142
|
export type WxAppLogin = any;
|
|
143
143
|
export type WxAppUserInfo = any;
|
|
144
144
|
export type wxAppReportManage = any;
|
|
145
145
|
export type WxAppReportGDT = any;
|
|
146
146
|
export type WxAppNavigator = any;
|
|
147
147
|
export type wxAppParamsSign = any;
|
|
148
148
|
export type wxAppFingerReportInstance = any;
|
|
149
149
|
export type wxAppSubsGuider = any;
|
|
150
150
|
export type wxAppAddressV2api = any;
|
|
151
151
|
[key: string]: any;
|
|
@@ -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
|
}
|
|
162
162
|
export interface jumpWebUrl {
|
|
163
163
|
mshop: string;
|
|
164
164
|
pages: string;
|
|
165
165
|
pcCoupon: string;
|
|
166
166
|
couponSearch: string;
|
|
167
167
|
jxCouponSearch: string;
|
|
168
168
|
pcCouponSearch: string;
|
|
169
169
|
shopSecondActivity: string;
|
|
170
170
|
shopLight: string;
|
|
171
171
|
detail: string;
|
|
172
172
|
jxDetail: string;
|
|
173
173
|
tjDetail: string;
|
|
174
174
|
pcDetail: string;
|
|
175
175
|
mobileHome: string;
|
|
176
176
|
rank: string;
|
|
177
177
|
wqShopMember: string;
|
|
178
178
|
wqShopDetail: string;
|
|
179
179
|
wqShopSearch: string;
|
|
180
180
|
myCouponList: string;
|
|
181
181
|
myRedPacketList: string;
|
|
182
182
|
memberHome: string;
|
|
183
183
|
memberCard: string;
|
|
184
184
|
memberPoints: string;
|
|
185
185
|
memberBenefit: string;
|
|
186
186
|
memberScores: string;
|
|
187
187
|
memberScoreRule: string;
|
|
188
188
|
memberProduct: string;
|
|
189
189
|
shopMember: string;
|
|
190
190
|
shopMemberPointDetail: string;
|
|
191
191
|
shopMemberBenefit: string;
|
|
192
192
|
shopMemberRule: string;
|
|
193
193
|
shopMemberCloseAccount: string;
|
|
194
194
|
shopMemberPointExchange: string;
|
|
195
195
|
shopMemberBonusPurchase: string;
|
|
196
196
|
shopMemberGood: string;
|
|
197
197
|
beanDetail: string;
|
|
198
198
|
totalPromotion: string;
|
|
199
199
|
mLive: string;
|
|
200
200
|
shopHome: string;
|
|
201
201
|
shopIntroduce: string;
|
|
202
202
|
shopSearch: string;
|
|
203
203
|
shopLottery: string;
|
|
204
204
|
shopCoupon: string;
|
|
205
205
|
shopWares: string;
|
|
206
206
|
shopFastShopping: string;
|
|
207
207
|
shopSpeciSeckill: string;
|
|
208
208
|
shopVideos: string;
|
|
209
209
|
shopMoreGoods: string;
|
|
210
210
|
shopUseShareOrderUgcContent: string;
|
|
211
211
|
dongDongChat: string;
|
|
212
212
|
samCenter: string;
|
|
213
213
|
samCard: string;
|
|
214
214
|
shopH5MemberCardAPP: string;
|
|
215
215
|
shopH5MemberCardM: string;
|
|
216
216
|
sageAuthorHome: string;
|
|
217
217
|
}
|
|
218
218
|
export interface EventReportConfig {
|
|
219
219
|
routerInfo: RouterInfo;
|
|
220
220
|
nativeEvent: any;
|
|
221
221
|
}
|
|
222
222
|
export interface OptEventLogParams {
|
|
223
223
|
eventId?: string;
|
|
224
224
|
eventParam?: string | object;
|
|
225
225
|
pTag?: string;
|
|
226
226
|
jsonParam?: {
|
|
227
227
|
[key: string]: any;
|
|
228
228
|
};
|
|
229
229
|
skuId?: string | number;
|
|
230
230
|
eventLevel?: string;
|
|
231
231
|
exposureState?: boolean;
|
|
232
232
|
otherParams?: object;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
export interface JumpH5ReportConfig {
|
|
236
236
|
shopId?: number | string;
|
|
237
237
|
venderId?: number | string;
|
|
238
238
|
sourceValue?: string;
|
|
239
239
|
sourceType?: string;
|
|
240
240
|
}
|
|
241
241
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
242
242
|
getConfig(opt): EventReportConfig;
|
|
243
243
|
updateInfo(routerInfo, logPname): void;
|
|
244
244
|
}
|
|
245
245
|
export interface CouponUrlParams {
|
|
246
246
|
batchId: number;
|
|
247
247
|
bindType: number;
|
|
248
248
|
startTime?: number;
|
|
249
249
|
endTime?: number;
|
|
250
250
|
quangoufrom?: number;
|
|
251
251
|
sceneId?: number;
|
|
252
252
|
}
|
|
253
253
|
export interface JdMiniJumpParams {
|
|
254
254
|
param: string | object;
|
|
255
255
|
sourceValue?: string;
|
|
256
256
|
sourceType?: string;
|
|
257
257
|
des?: any;
|
|
258
258
|
logEventInfo?: object;
|
|
259
259
|
}
|
|
260
260
|
export interface LinkMiniParams {
|
|
261
261
|
param?: {
|
|
262
262
|
pageType?: string;
|
|
263
263
|
};
|
|
264
264
|
appId?: string | number;
|
|
265
265
|
path?: string;
|
|
266
266
|
}
|
|
267
267
|
export interface JdJumpWxappReportConfig {
|
|
268
268
|
wxApiVersion: string;
|
|
269
269
|
wxApiUrl: string;
|
|
270
270
|
wqReportUrl: string;
|
|
271
271
|
}
|
|
@@ -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
|
}
|
|
67
67
|
export interface HttpApi {
|
|
68
68
|
decorate: {
|
|
69
69
|
preview: string;
|
|
70
70
|
};
|
|
71
71
|
userAddress: string;
|
|
72
72
|
lbsLocation: string;
|
|
73
73
|
couponStatus: string;
|
|
74
74
|
addCart: string;
|
|
75
75
|
receiveCoupon: string;
|
|
76
76
|
areaStockState: string;
|
|
77
77
|
apiFunc: string;
|
|
78
78
|
hkApiFunc: string;
|
|
79
79
|
follow: string;
|
|
80
80
|
unfollow: string;
|
|
81
81
|
isFollow: string;
|
|
82
82
|
flowers: string;
|
|
83
83
|
serverTime: string;
|
|
84
84
|
followShop: string;
|
|
85
85
|
getDefaultAddress: string;
|
|
86
86
|
userInfo: string;
|
|
87
87
|
font: string;
|
|
88
88
|
isLogin: string;
|
|
89
89
|
}
|
|
90
90
|
export interface HttpRequestInfo {
|
|
91
91
|
cookiesStr: string;
|
|
92
92
|
requestHeaderContentType: {
|
|
93
93
|
jsonHeader: {
|
|
94
94
|
'content-type': string;
|
|
95
95
|
};
|
|
96
96
|
formDataHeader: {
|
|
97
97
|
'content-type': string;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
requestBaseParam: {
|
|
101
101
|
data: any;
|
|
102
102
|
header: {
|
|
103
103
|
'content-type': string;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
apiClientParams: {
|
|
107
107
|
appid: string;
|
|
108
108
|
clientVersion: string;
|
|
109
109
|
client: string;
|
|
110
110
|
uuid: string;
|
|
111
111
|
area?: string;
|
|
112
112
|
loginType?: string;
|
|
113
113
|
loginWQBiz?: string;
|
|
114
114
|
};
|
|
115
115
|
wxappClientParams?: {
|
|
116
116
|
appid: string;
|
|
117
117
|
clientVersion: string;
|
|
118
118
|
client: string;
|
|
119
119
|
uuid: string;
|
|
120
120
|
area?: string;
|
|
121
121
|
};
|
|
122
122
|
timeOut: number;
|
|
123
123
|
}
|
|
124
124
|
export interface Method {
|
|
125
125
|
|
|
126
126
|
OPTIONS;
|
|
127
127
|
|
|
128
128
|
GET;
|
|
129
129
|
|
|
130
130
|
HEAD;
|
|
131
131
|
|
|
132
132
|
POST;
|
|
133
133
|
|
|
134
134
|
PUT;
|
|
135
135
|
|
|
136
136
|
DELETE;
|
|
137
137
|
|
|
138
138
|
TRACE;
|
|
139
139
|
|
|
140
140
|
CONNECT;
|
|
141
141
|
}
|
|
142
142
|
export interface RequestPromiseRes {
|
|
143
143
|
statusCode: number;
|
|
144
144
|
resTimeoutState?: boolean;
|
|
145
145
|
errMsg?: string;
|
|
146
146
|
msg?: string;
|
|
147
147
|
data?: any;
|
|
148
148
|
status?: string;
|
|
149
149
|
requestType?: string;
|
|
150
150
|
}
|
|
151
151
|
export interface RequestResponseFormatRes {
|
|
152
152
|
statusCode?: number;
|
|
153
153
|
code?: number | string;
|
|
154
154
|
ok: boolean;
|
|
155
155
|
errMsg?: string;
|
|
156
156
|
msg?: string;
|
|
157
157
|
data?: any;
|
|
158
158
|
result?: any;
|
|
159
159
|
source?: any;
|
|
160
160
|
}
|
|
161
161
|
export interface CouponParams {
|
|
162
162
|
couponId: string;
|
|
163
163
|
act: string;
|
|
164
164
|
operation: string;
|
|
165
165
|
}
|
|
166
166
|
export interface AddToCartQueryParam {
|
|
167
167
|
wareId: string | number;
|
|
168
168
|
num: number;
|
|
169
169
|
resourceType: string;
|
|
170
170
|
resourceValue: string;
|
|
171
171
|
sid: string;
|
|
172
172
|
clientKey: string;
|
|
173
173
|
ran: number;
|
|
174
174
|
suitSkuId?: string | number;
|
|
175
175
|
suitSkuNum?: number;
|
|
176
176
|
sType?: number;
|
|
177
177
|
ybId?: string | number | null;
|
|
178
178
|
}
|
|
179
179
|
export interface UserAddressData {
|
|
180
180
|
id: number;
|
|
181
181
|
provinceId: number;
|
|
182
182
|
cityId: number;
|
|
183
183
|
countyId?: number;
|
|
184
184
|
townId?: number;
|
|
185
185
|
}
|
|
186
186
|
export interface UserAddressListData {
|
|
187
187
|
body: {
|
|
188
188
|
addressInfoList: UserAddressListItemData[];
|
|
189
189
|
addressLimit: number;
|
|
190
190
|
checkFlag: boolean;
|
|
191
191
|
rangeFlag: boolean;
|
|
192
192
|
resultFlag: boolean;
|
|
193
193
|
supportGis: boolean;
|
|
194
194
|
supportIntelliGenText: boolean;
|
|
195
195
|
};
|
|
196
196
|
code: string;
|
|
197
197
|
message: string;
|
|
198
198
|
}
|
|
199
199
|
export interface UserAddressListItemData {
|
|
200
200
|
addressDetail: string;
|
|
201
201
|
addressId: number;
|
|
202
202
|
addressName: string;
|
|
203
203
|
areaCode: string;
|
|
204
204
|
cityId: number;
|
|
205
205
|
cityName: string;
|
|
206
206
|
clickAble: boolean;
|
|
207
207
|
coordType: number;
|
|
208
208
|
countyId: number;
|
|
209
209
|
countyName: string;
|
|
210
210
|
defaultAddress: boolean;
|
|
211
211
|
email: string;
|
|
212
212
|
encryFlag: boolean;
|
|
213
213
|
foreignOverSea: boolean;
|
|
214
214
|
fullAddress: string;
|
|
215
215
|
gangAoTai: boolean;
|
|
216
216
|
latitude: number;
|
|
217
217
|
latitudeString: string;
|
|
218
218
|
longitude: number;
|
|
219
219
|
longitudeString: string;
|
|
220
220
|
mobile: string;
|
|
221
221
|
name: string;
|
|
222
222
|
nameCode: string;
|
|
223
223
|
operateTime: string;
|
|
224
224
|
operationType: number;
|
|
225
225
|
phone: string;
|
|
226
226
|
postCode: string;
|
|
227
227
|
provinceId: number;
|
|
228
228
|
provinceName: string;
|
|
229
229
|
realMobile: string;
|
|
230
230
|
retTag: number;
|
|
231
231
|
selected: boolean;
|
|
232
232
|
sortTime: string;
|
|
233
233
|
tagSource: number;
|
|
234
234
|
townId: number;
|
|
235
235
|
townName: string;
|
|
236
236
|
updateTime: string;
|
|
237
237
|
}
|
|
238
238
|
export interface ShopHomeDataResponseRes extends RequestResponseFormatRes {
|
|
239
239
|
readonly ok: boolean;
|
|
240
240
|
readonly msg?: any;
|
|
241
241
|
baseInfo?: ComponentInterFace.ShopTotalInfo;
|
|
242
242
|
extendInfo?: {
|
|
243
243
|
[key: string]: any;
|
|
244
244
|
};
|
|
245
245
|
floorInfo?: {
|
|
246
246
|
floors: [];
|
|
247
247
|
pageSet?: object;
|
|
248
248
|
homeDecorationType?: number;
|
|
249
249
|
[key: string]: any;
|
|
250
250
|
};
|
|
251
251
|
otherInfo?: {
|
|
252
252
|
[key: string]: any;
|
|
253
253
|
};
|
|
254
254
|
menuInfo?: {
|
|
255
255
|
menuList: [];
|
|
256
256
|
[key: string]: any;
|
|
257
257
|
};
|
|
258
258
|
activityInfo?: {
|
|
259
259
|
activityRuleType: number;
|
|
260
260
|
isSign: number;
|
|
261
261
|
followed: boolean;
|
|
262
262
|
[key: string]: any;
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
265
|
export interface ShopPromotionListDataRes extends RequestResponseFormatRes {
|
|
266
266
|
readonly ok: boolean;
|
|
267
267
|
readonly msg?: any;
|
|
268
268
|
noPromotionState?: boolean;
|
|
269
269
|
shopTotalInfo?: ComponentInterFace.ShopTotalInfo;
|
|
270
270
|
shopPromotionData?: ComponentInterFace.FloorModuleData;
|
|
271
271
|
}
|
|
272
272
|
export interface ShopPromotionDataResponseRes extends RequestResponseFormatRes {
|
|
273
273
|
readonly ok: boolean;
|
|
274
274
|
readonly msg?: any;
|
|
275
275
|
baseInfo?: ComponentInterFace.ShopTotalInfo;
|
|
276
276
|
extendInfo?: {
|
|
277
277
|
[key: string]: any;
|
|
278
278
|
};
|
|
279
279
|
floorInfo?: {
|
|
280
280
|
floors: [];
|
|
281
281
|
pageSet?: object;
|
|
282
282
|
[key: string]: any;
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
285
|
export interface SkuToCartDataRes {
|
|
286
286
|
readonly ok: boolean;
|
|
287
287
|
[key: string]: any;
|
|
288
288
|
}
|
|
289
289
|
export interface FloorInfoPageRequestParam {
|
|
290
290
|
snapVersion?: string;
|
|
291
291
|
projectId?: string;
|
|
292
292
|
pageId?: string;
|
|
293
293
|
lastFloorIdInPrePage?: string;
|
|
294
294
|
}
|