qj-b2c-store 1.6.92 → 1.6.96
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/context/index.d.ts +6 -0
- package/dist/core/external.d.ts +5 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/makeStore.d.ts +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/store/account/hooks/index.d.ts +1 -0
- package/dist/store/account/hooks/useAgreement.d.ts +1 -0
- package/dist/store/account/hooks/useMySetting.d.ts +4 -0
- package/dist/store/account/index.d.ts +1 -0
- package/dist/store/addressDetail/hooks/index.d.ts +1 -0
- package/dist/store/addressDetail/hooks/useAddAddress.d.ts +3 -0
- package/dist/store/addressDetail/index.d.ts +1 -0
- package/dist/store/addressList/hooks/index.d.ts +2 -0
- package/dist/store/addressList/hooks/useAddressItem.d.ts +3 -0
- package/dist/store/addressList/hooks/useAddressList.d.ts +8 -0
- package/dist/store/addressList/index.d.ts +1 -0
- package/dist/store/afterSales/hooks/afterSalesConfig.d.ts +4 -0
- package/dist/store/afterSales/hooks/index.d.ts +5 -0
- package/dist/store/afterSales/hooks/useAfterSalesApply.d.ts +23 -0
- package/dist/store/afterSales/hooks/useAfterSalesChooseType.d.ts +16 -0
- package/dist/store/afterSales/hooks/useAfterSalesDetail.d.ts +17 -0
- package/dist/store/afterSales/hooks/useAfterSalesList.d.ts +8 -0
- package/dist/store/afterSales/index.d.ts +1 -0
- package/dist/store/articleDetail/hooks/index.d.ts +1 -0
- package/dist/store/articleDetail/hooks/useArticleDetail.d.ts +8 -0
- package/dist/store/articleDetail/index.d.ts +1 -0
- package/dist/store/cart/hooks/index.d.ts +2 -0
- package/dist/store/cart/hooks/useCartItem.d.ts +10 -0
- package/dist/store/cart/hooks/useCartList.d.ts +19 -0
- package/dist/store/cart/index.d.ts +2 -0
- package/dist/store/cart/store/index.d.ts +10 -0
- package/dist/store/cart-next/hooks/index.d.ts +3 -0
- package/dist/store/cart-next/hooks/useCartListNext.d.ts +13 -0
- package/dist/store/cart-next/hooks/useCartOperate.d.ts +13 -0
- package/dist/store/cart-next/hooks/useCartTop.d.ts +4 -0
- package/dist/store/cart-next/index.d.ts +1 -0
- package/dist/store/collectionList/hooks/index.d.ts +1 -0
- package/dist/store/collectionList/hooks/useCollectionList.d.ts +26 -0
- package/dist/store/collectionList/index.d.ts +1 -0
- package/dist/store/coupon/hooks/index.d.ts +1 -0
- package/dist/store/coupon/hooks/useAllCoupon.d.ts +11 -0
- package/dist/store/coupon/index.d.ts +1 -0
- package/dist/store/couponList/hooks/index.d.ts +4 -0
- package/dist/store/couponList/hooks/useCouponList.d.ts +26 -0
- package/dist/store/couponList/hooks/useOverdue.d.ts +5 -0
- package/dist/store/couponList/hooks/useUnused.d.ts +5 -0
- package/dist/store/couponList/hooks/useUsed.d.ts +5 -0
- package/dist/store/couponList/index.d.ts +1 -0
- package/dist/store/cube/hooks/index.d.ts +6 -0
- package/dist/store/cube/index.d.ts +1 -0
- package/dist/store/evaluateDetail/hooks/index.d.ts +1 -0
- package/dist/store/evaluateDetail/hooks/useEvaluateDetail.d.ts +6 -0
- package/dist/store/evaluateDetail/index.d.ts +1 -0
- package/dist/store/evaluateViewDetail/hooks/index.d.ts +1 -0
- package/dist/store/evaluateViewDetail/hooks/useEvaluateViewDetail.d.ts +4 -0
- package/dist/store/evaluateViewDetail/index.d.ts +1 -0
- package/dist/store/expressInfo/hooks/index.d.ts +1 -0
- package/dist/store/expressInfo/hooks/useExpressInfo.d.ts +14 -0
- package/dist/store/expressInfo/index.d.ts +1 -0
- package/dist/store/footprint/hooks/index.d.ts +1 -0
- package/dist/store/footprint/hooks/useFootprint.d.ts +26 -0
- package/dist/store/footprint/index.d.ts +1 -0
- package/dist/store/goTop/hooks/index.d.ts +1 -0
- package/dist/store/goTop/hooks/useGoTop.d.ts +3 -0
- package/dist/store/goTop/index.d.ts +1 -0
- package/dist/store/goods/hooks/index.d.ts +1 -0
- package/dist/store/goods/hooks/useGoods.d.ts +8 -0
- package/dist/store/goods/index.d.ts +1 -0
- package/dist/store/goodsClassify/hooks/index.d.ts +1 -0
- package/dist/store/goodsClassify/hooks/useGoodsClassify.d.ts +6 -0
- package/dist/store/goodsClassify/index.d.ts +1 -0
- package/dist/store/goodsDetail/hooks/index.d.ts +13 -0
- package/dist/store/goodsDetail/hooks/useAddCoupon.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/useAddShopping.d.ts +9 -0
- package/dist/store/goodsDetail/hooks/useBanner.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/useCoupon.d.ts +39 -0
- package/dist/store/goodsDetail/hooks/useEvaluate.d.ts +1 -0
- package/dist/store/goodsDetail/hooks/useFootprint.d.ts +1 -0
- package/dist/store/goodsDetail/hooks/useGoodCollection.d.ts +12 -0
- package/dist/store/goodsDetail/hooks/useGoodDetail.d.ts +40 -0
- package/dist/store/goodsDetail/hooks/useGoodSku.d.ts +9 -0
- package/dist/store/goodsDetail/hooks/useGoodSpecAndPrice.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/useGoodsShare.d.ts +3 -0
- package/dist/store/goodsDetail/hooks/usePoster.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/usePromotion.d.ts +1 -0
- package/dist/store/goodsDetail/index.d.ts +3 -0
- package/dist/store/goodsDetail/store/index.d.ts +24 -0
- package/dist/store/goodsDetail/utils/index.d.ts +27 -0
- package/dist/store/goodsList/hooks/index.d.ts +1 -0
- package/dist/store/goodsList/hooks/useGoodsList.d.ts +17 -0
- package/dist/store/goodsList/index.d.ts +1 -0
- package/dist/store/index.d.ts +32 -0
- package/dist/store/marketing/hooks/index.d.ts +1 -0
- package/dist/store/marketing/hooks/useMarketingPromotion.d.ts +6 -0
- package/dist/store/marketing/index.d.ts +1 -0
- package/dist/store/memberSignin/hooks/index.d.ts +1 -0
- package/dist/store/memberSignin/hooks/useMemberSignin.d.ts +8 -0
- package/dist/store/memberSignin/index.d.ts +1 -0
- package/dist/store/notice/index.d.ts +4 -0
- package/dist/store/noticeDetail/hooks/index.d.ts +4 -0
- package/dist/store/noticeDetail/index.d.ts +1 -0
- package/dist/store/order/constant/index.d.ts +3 -0
- package/dist/store/order/hooks/config.d.ts +8 -0
- package/dist/store/order/hooks/index.d.ts +3 -0
- package/dist/store/order/hooks/useOrderList.d.ts +40 -0
- package/dist/store/order/hooks/useOrderOperate.d.ts +4 -0
- package/dist/store/order/index.d.ts +1 -0
- package/dist/store/orderDetail/hooks/index.d.ts +1 -0
- package/dist/store/orderDetail/hooks/useOrderDetail.d.ts +33 -0
- package/dist/store/orderDetail/index.d.ts +1 -0
- package/dist/store/paymentMode/hooks/index.d.ts +1 -0
- package/dist/store/paymentMode/hooks/useOrderResult.d.ts +15 -0
- package/dist/store/paymentMode/index.d.ts +1 -0
- package/dist/store/pickupPointList/hooks/index.d.ts +2 -0
- package/dist/store/pickupPointList/hooks/usePickupPointItem.d.ts +3 -0
- package/dist/store/pickupPointList/hooks/usePickupPointList.d.ts +7 -0
- package/dist/store/pickupPointList/index.d.ts +1 -0
- package/dist/store/placeOrder/hooks/index.d.ts +8 -0
- package/dist/store/placeOrder/hooks/useOrderAddress.d.ts +24 -0
- package/dist/store/placeOrder/hooks/useOrderCoupon.d.ts +35 -0
- package/dist/store/placeOrder/hooks/useOrderGood.d.ts +66 -0
- package/dist/store/placeOrder/hooks/useOrderInfo.d.ts +8 -0
- package/dist/store/placeOrder/hooks/useOrderPay.d.ts +12 -0
- package/dist/store/placeOrder/hooks/useOrderPickupAddress.d.ts +18 -0
- package/dist/store/placeOrder/hooks/usePayMode.d.ts +6 -0
- package/dist/store/placeOrder/hooks/usePlaceOrder.d.ts +49 -0
- package/dist/store/placeOrder/index.d.ts +2 -0
- package/dist/store/placeOrder/instore/index.d.ts +46 -0
- package/dist/store/placeOrderResult/hooks/index.d.ts +1 -0
- package/dist/store/placeOrderResult/hooks/useOrderResult.d.ts +4 -0
- package/dist/store/placeOrderResult/index.d.ts +1 -0
- package/dist/store/signinDetail/hooks/index.d.ts +1 -0
- package/dist/store/signinDetail/hooks/useSigninDetail.d.ts +10 -0
- package/dist/store/signinDetail/index.d.ts +1 -0
- package/dist/utils/formatTime.d.ts +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/localData.d.ts +5 -0
- package/dist/utils/navigator.d.ts +11 -0
- package/dist/utils/payment.d.ts +15 -0
- package/dist/utils/routerMap/index.d.ts +11 -0
- package/dist/utils/showToast.d.ts +1 -0
- package/dist/utils/useImmutableCallback.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const useCollectionList: (collectType?: number) => {
|
|
2
|
+
collectionList: any[];
|
|
3
|
+
edit: boolean;
|
|
4
|
+
setEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
|
+
getData: () => Promise<never[] | undefined>;
|
|
6
|
+
collectCodeStr: string;
|
|
7
|
+
getSelectItem: (e: {
|
|
8
|
+
value: string[];
|
|
9
|
+
detail: {
|
|
10
|
+
value: string[];
|
|
11
|
+
};
|
|
12
|
+
}) => void;
|
|
13
|
+
delItem: () => Promise<void>;
|
|
14
|
+
init: () => void;
|
|
15
|
+
checked: boolean;
|
|
16
|
+
setChecked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
17
|
+
handleSelectAll: (e: {
|
|
18
|
+
value: string[];
|
|
19
|
+
detail: {
|
|
20
|
+
value: string[];
|
|
21
|
+
};
|
|
22
|
+
}) => void;
|
|
23
|
+
selectAll: string;
|
|
24
|
+
setSelectAll: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
25
|
+
selectAllChecked: boolean;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useAllCoupon';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface useAllCouponType {
|
|
2
|
+
defaultValue: Array<any>;
|
|
3
|
+
coupons: Array<any>;
|
|
4
|
+
}
|
|
5
|
+
export declare const useAllCoupon: (props: useAllCouponType) => {
|
|
6
|
+
list: any[];
|
|
7
|
+
setList: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
8
|
+
takeCoupon: ({ promotionCode, couponAmount, index }: any) => Promise<void>;
|
|
9
|
+
takeList: any[];
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const useCouponList: () => {
|
|
2
|
+
config: import("react").MutableRefObject<({
|
|
3
|
+
id: number;
|
|
4
|
+
label: string;
|
|
5
|
+
dataState: string;
|
|
6
|
+
styleName: string;
|
|
7
|
+
text: string;
|
|
8
|
+
} | {
|
|
9
|
+
id: number;
|
|
10
|
+
label: string;
|
|
11
|
+
dataState: number;
|
|
12
|
+
styleName: string;
|
|
13
|
+
text: string;
|
|
14
|
+
} | {
|
|
15
|
+
id: number;
|
|
16
|
+
label: string;
|
|
17
|
+
dataState: number;
|
|
18
|
+
styleName: string;
|
|
19
|
+
text?: undefined;
|
|
20
|
+
})[]>;
|
|
21
|
+
coe: import("react").MutableRefObject<number>;
|
|
22
|
+
list: any[];
|
|
23
|
+
setList: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
24
|
+
getList: () => Promise<void>;
|
|
25
|
+
switchTab: (index: number) => Promise<void>;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useEvaluateDetail';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useEvaluateViewDetail';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useExpressInfo';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useFootprint';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const useFootprint: () => {
|
|
2
|
+
footprintList: any[];
|
|
3
|
+
edit: boolean;
|
|
4
|
+
setEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
|
+
getData: () => Promise<never[] | undefined>;
|
|
6
|
+
getSelectItem: (e: {
|
|
7
|
+
value: string[];
|
|
8
|
+
detail: {
|
|
9
|
+
value: string[];
|
|
10
|
+
};
|
|
11
|
+
}) => void;
|
|
12
|
+
delItem: () => Promise<void>;
|
|
13
|
+
init: () => Promise<void>;
|
|
14
|
+
checked: boolean;
|
|
15
|
+
setChecked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
handleSelectAll: (e: {
|
|
17
|
+
value: string[];
|
|
18
|
+
detail: {
|
|
19
|
+
value: string[];
|
|
20
|
+
};
|
|
21
|
+
}) => void;
|
|
22
|
+
selectAll: string;
|
|
23
|
+
setSelectAll: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
24
|
+
selectAllChecked: boolean;
|
|
25
|
+
loading: boolean;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useGoTop';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useGoods';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useGoodsClassify';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './useAddShopping';
|
|
2
|
+
export * from './useAddCoupon';
|
|
3
|
+
export * from './usePoster';
|
|
4
|
+
export * from './useGoodDetail';
|
|
5
|
+
export * from './useBanner';
|
|
6
|
+
export * from './useGoodCollection';
|
|
7
|
+
export * from './useGoodSku';
|
|
8
|
+
export * from './usePromotion';
|
|
9
|
+
export * from './useCoupon';
|
|
10
|
+
export * from './useEvaluate';
|
|
11
|
+
export * from './useGoodsShare';
|
|
12
|
+
export * from './useFootprint';
|
|
13
|
+
export * from './useGoodSpecAndPrice';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { actionName } from '../utils';
|
|
2
|
+
export declare function useAddShopping(goodsCode: string, skuInfo: Object, rsSkuDomainList: Array<any>, dispatchPageStore?: (...args: any[]) => void): {
|
|
3
|
+
closePopup: () => void;
|
|
4
|
+
addCardImpl: () => Promise<void>;
|
|
5
|
+
cashImpl: () => Promise<void>;
|
|
6
|
+
handleChooseSize: (...args: Array<any>) => any;
|
|
7
|
+
handleStep: (goodsNum: number, goodsMinnum: number, type: actionName) => void;
|
|
8
|
+
addShoppingImpl: () => void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const computedParams: (rsSkuDomainList: Array<any> | undefined, skuCode: string) => {
|
|
2
|
+
skuCode?: undefined;
|
|
3
|
+
skuNo?: undefined;
|
|
4
|
+
classtreeCode?: undefined;
|
|
5
|
+
brandCode?: undefined;
|
|
6
|
+
pntreeCode?: undefined;
|
|
7
|
+
memberCode?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
skuCode: string;
|
|
10
|
+
skuNo: any;
|
|
11
|
+
classtreeCode: any;
|
|
12
|
+
brandCode: any;
|
|
13
|
+
pntreeCode: any;
|
|
14
|
+
memberCode: any;
|
|
15
|
+
};
|
|
16
|
+
export declare const initialCoupon: {
|
|
17
|
+
promotionBegintime: string;
|
|
18
|
+
pbName: string;
|
|
19
|
+
discName: string;
|
|
20
|
+
promotionCode: string;
|
|
21
|
+
promotionName: string;
|
|
22
|
+
couponOnceNums: number;
|
|
23
|
+
couponOnceNumd: number;
|
|
24
|
+
promotionEndtime: string;
|
|
25
|
+
};
|
|
26
|
+
export declare function useCoupon(result: Array<any>, skuCode: string): {
|
|
27
|
+
coupon: {
|
|
28
|
+
promotionBegintime: string;
|
|
29
|
+
pbName: string;
|
|
30
|
+
discName: string;
|
|
31
|
+
promotionCode: string;
|
|
32
|
+
promotionName: string;
|
|
33
|
+
couponOnceNums: number;
|
|
34
|
+
couponOnceNumd: number;
|
|
35
|
+
promotionEndtime: string;
|
|
36
|
+
}[];
|
|
37
|
+
visible: boolean;
|
|
38
|
+
setVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useEvaluate: (goodsCode: string) => never[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useGoodFootprint: (skuCode: string) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface CollectProps {
|
|
2
|
+
skuCode: string;
|
|
3
|
+
dataPic: string;
|
|
4
|
+
goodsName: string;
|
|
5
|
+
pricesetNprice: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function useGoodCollection({ skuCode, dataPic, goodsName, pricesetNprice }: CollectProps): {
|
|
8
|
+
handleCollect: () => Promise<void>;
|
|
9
|
+
collection: {
|
|
10
|
+
dataObj: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const initialValue: {
|
|
2
|
+
rsGoodsFileDomainList: never[];
|
|
3
|
+
rsSpecValueDomainList: never[];
|
|
4
|
+
goodsRemark: string;
|
|
5
|
+
pricesetNprice: number;
|
|
6
|
+
goodsName: string;
|
|
7
|
+
dataPic: string;
|
|
8
|
+
goodsShowname: string;
|
|
9
|
+
goodsNum: number;
|
|
10
|
+
goodsCode: string;
|
|
11
|
+
skuNo: string;
|
|
12
|
+
classtreeCode: string;
|
|
13
|
+
brandCode: string;
|
|
14
|
+
pntreeCode: string;
|
|
15
|
+
memberCode: string;
|
|
16
|
+
goodsThdate: string;
|
|
17
|
+
goodsOdate: string;
|
|
18
|
+
goodsDayinfo: string;
|
|
19
|
+
rsSkuDomainList: never[];
|
|
20
|
+
};
|
|
21
|
+
export declare const useGoodDetail: (skuCode: string, scene?: string) => {
|
|
22
|
+
rsGoodsFileDomainList: never[];
|
|
23
|
+
rsSpecValueDomainList: never[];
|
|
24
|
+
goodsRemark: string;
|
|
25
|
+
pricesetNprice: number;
|
|
26
|
+
goodsName: string;
|
|
27
|
+
dataPic: string;
|
|
28
|
+
goodsShowname: string;
|
|
29
|
+
goodsNum: number;
|
|
30
|
+
goodsCode: string;
|
|
31
|
+
skuNo: string;
|
|
32
|
+
classtreeCode: string;
|
|
33
|
+
brandCode: string;
|
|
34
|
+
pntreeCode: string;
|
|
35
|
+
memberCode: string;
|
|
36
|
+
goodsThdate: string;
|
|
37
|
+
goodsOdate: string;
|
|
38
|
+
goodsDayinfo: string;
|
|
39
|
+
rsSkuDomainList: never[];
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function usePromotion(rsSkuDomainList: Array<any>, skuCode: string): never[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const goodStore: {
|
|
2
|
+
getState: () => {
|
|
3
|
+
count: number;
|
|
4
|
+
memberCode: string;
|
|
5
|
+
isNeedButton: boolean;
|
|
6
|
+
goodsNum: number;
|
|
7
|
+
goodsSupplynum: number;
|
|
8
|
+
spec: never[];
|
|
9
|
+
orderType: number;
|
|
10
|
+
offShelf: boolean;
|
|
11
|
+
};
|
|
12
|
+
setState: (newState: {
|
|
13
|
+
count: number;
|
|
14
|
+
memberCode: string;
|
|
15
|
+
isNeedButton: boolean;
|
|
16
|
+
goodsNum: number;
|
|
17
|
+
goodsSupplynum: number;
|
|
18
|
+
spec: never[];
|
|
19
|
+
orderType: number;
|
|
20
|
+
offShelf: boolean;
|
|
21
|
+
}) => void;
|
|
22
|
+
subscribe: (listener: any) => () => boolean;
|
|
23
|
+
};
|
|
24
|
+
export declare function useGoodSkuStore(selector?: (state: any) => any): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
interface GoodsDetailType {
|
|
2
|
+
count: number;
|
|
3
|
+
spec: Array<never>;
|
|
4
|
+
price: number;
|
|
5
|
+
memberCode: string;
|
|
6
|
+
couponValue: number | string;
|
|
7
|
+
popupVisible: boolean;
|
|
8
|
+
goodsNum: number;
|
|
9
|
+
goodsSupplynum: number;
|
|
10
|
+
orderType: 1 | 0;
|
|
11
|
+
isNeedButton: boolean;
|
|
12
|
+
offShelf: boolean;
|
|
13
|
+
}
|
|
14
|
+
export type actionName = 'plus' | 'minus' | 'select' | 'popupImpl' | 'initGoodSku';
|
|
15
|
+
type ActionInterface = {
|
|
16
|
+
type: actionName;
|
|
17
|
+
payload?: Partial<GoodsDetailType>;
|
|
18
|
+
};
|
|
19
|
+
export declare function getGoodDetail(skuCode: string): any;
|
|
20
|
+
export declare function popupImplement(dispatchPageStore?: (...args: any[]) => void): {
|
|
21
|
+
dispatch: (action: ActionInterface) => void;
|
|
22
|
+
openPopup: () => void;
|
|
23
|
+
closePopup: () => void;
|
|
24
|
+
addCardPopup: () => void;
|
|
25
|
+
buyOpenPopup: () => void;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useGoodsList';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface FilterType {
|
|
2
|
+
sortField: string;
|
|
3
|
+
order?: string | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface ListType {
|
|
6
|
+
skuCode: string;
|
|
7
|
+
dataPic: string;
|
|
8
|
+
goodsName: string;
|
|
9
|
+
pricesetNprice: number;
|
|
10
|
+
pricesetMakeprice: number;
|
|
11
|
+
goodsNum: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const useGoodsList: (classtreeCode: string, searchParam: string, filterParmas: FilterType) => {
|
|
14
|
+
loading: boolean;
|
|
15
|
+
getData: (...args: Array<any>) => any;
|
|
16
|
+
list: ListType[];
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from './goodsDetail';
|
|
2
|
+
export * from './addressDetail';
|
|
3
|
+
export * from './addressList';
|
|
4
|
+
export * from './cart';
|
|
5
|
+
export * from './cart-next';
|
|
6
|
+
export * from './couponList';
|
|
7
|
+
export * from './addressList';
|
|
8
|
+
export * from './goodsList';
|
|
9
|
+
export * from './paymentMode';
|
|
10
|
+
export * from './placeOrder';
|
|
11
|
+
export * from './placeOrderResult';
|
|
12
|
+
export * from './cube';
|
|
13
|
+
export * from './orderDetail';
|
|
14
|
+
export * from './order';
|
|
15
|
+
export * from './expressInfo';
|
|
16
|
+
export * from './goodsClassify';
|
|
17
|
+
export * from './collectionList';
|
|
18
|
+
export * from './evaluateDetail';
|
|
19
|
+
export * from './evaluateViewDetail';
|
|
20
|
+
export * from './footprint';
|
|
21
|
+
export * from './notice';
|
|
22
|
+
export * from './noticeDetail';
|
|
23
|
+
export * from './articleDetail';
|
|
24
|
+
export * from './goods';
|
|
25
|
+
export * from './coupon';
|
|
26
|
+
export * from './goTop';
|
|
27
|
+
export * from './marketing';
|
|
28
|
+
export * from './afterSales';
|
|
29
|
+
export * from './account';
|
|
30
|
+
export * from './pickupPointList';
|
|
31
|
+
export * from './memberSignin';
|
|
32
|
+
export * from './signinDetail';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useMarketingPromotion';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useMemberSignin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface OrderItemInter {
|
|
2
|
+
name: string;
|
|
3
|
+
code: string;
|
|
4
|
+
contractAppraise?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const orderStatusList: Array<OrderItemInter>;
|
|
7
|
+
export declare const orderStatusImpl: (type: string | number, contractAppraise?: number) => string;
|
|
8
|
+
export declare const detailButton: any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const orderType: {
|
|
2
|
+
contractBillcode: string;
|
|
3
|
+
contractType: string;
|
|
4
|
+
goodsList: {
|
|
5
|
+
dataPic: string;
|
|
6
|
+
goodsName: string;
|
|
7
|
+
dataBmoney: number;
|
|
8
|
+
goodsCamount: number;
|
|
9
|
+
contractGoodsId: number;
|
|
10
|
+
dataState: number;
|
|
11
|
+
}[];
|
|
12
|
+
dataBmoney: number;
|
|
13
|
+
dataBnum: number;
|
|
14
|
+
dataState: number;
|
|
15
|
+
contractId: string;
|
|
16
|
+
contractAppraise: number;
|
|
17
|
+
};
|
|
18
|
+
export declare function useOrderList<T>(item: T, refreshNum: number, contractType: string): {
|
|
19
|
+
onScroll: (...args: Array<any>) => any;
|
|
20
|
+
data: {
|
|
21
|
+
contractBillcode: string;
|
|
22
|
+
contractType: string;
|
|
23
|
+
goodsList: {
|
|
24
|
+
dataPic: string;
|
|
25
|
+
goodsName: string;
|
|
26
|
+
dataBmoney: number;
|
|
27
|
+
goodsCamount: number;
|
|
28
|
+
contractGoodsId: number;
|
|
29
|
+
dataState: number;
|
|
30
|
+
}[];
|
|
31
|
+
dataBmoney: number;
|
|
32
|
+
dataBnum: number;
|
|
33
|
+
dataState: number;
|
|
34
|
+
contractId: string;
|
|
35
|
+
contractAppraise: number;
|
|
36
|
+
}[];
|
|
37
|
+
loading: boolean;
|
|
38
|
+
init: (...args: Array<any>) => any;
|
|
39
|
+
countdownCancel: (contractId: string | number) => Promise<void>;
|
|
40
|
+
};
|