export interface ShopCartModel {
    /**
     * 加载数据
     */
    handleOnLoad: (query: {
        pageNum: number;
        pageSize: number;
    }) => Promise<unknown>;
    /**
     * 结算事件
     * */
    handleOnSubmit?: (list: ShopCarModel[]) => void;
    /**
     * 购物车删除事件
     * */
    handleOnDelete?: (list: ShopCarModel[]) => Promise<unknown>;
    /**
     * 商品修改事件
     * */
    handleGoodUpdate?: (type: 'add' | 'subtract', item: ShopCarModel) => Promise<unknown>;
    /**
     * 组件卸载前事件
     * */
    handleBeforeUnmount?: (list: ShopCarModel[]) => Promise<unknown>;
    /**
     * 是否登录
     * */
    isLogin?: boolean;
    dataList?: ShopCarModel[];
}
export interface ShopCarModel {
    amount: number;
    fkProductId: string;
    id: string;
    imgUrl: string;
    memo: string;
    phone: string;
    price: number;
    productPrice?: number;
    productPromotionPrice?: number;
    productNum?: number;
    productName: string;
    productNameLabel: string;
    userName: string;
    userNameLabel: string;
    version: number;
    checked: boolean;
    grounding: string;
    productGrounding: string;
    isUpdate: boolean;
}
