export default OrderCard; /** * - 奥创组件数据 */ export type UltronProps = { /** * - 组件实例数据 */ componentData: any; /** * - 异步提交 */ onChange: Function; /** * - 外层异步提交 */ onChangeData: Function; /** * - 表单提交 */ onSubmit: Function; /** * - 定制点 */ customization: Customization; /** * - 表单数据 */ fields: Fields; /** * - uuid */ uuid: string; /** * - events * * 表单数据 */ events: any; }; /** * - 输入数据 */ export type Fields = { /** * - 标题名称 */ orderList: Order[]; /** * - 页面页数 */ pageNo: number | string; /** * - 页面数据条数 */ pageSize: number | string; /** * - 数据总条数 */ total: number | string; /** * - 数据总页数 */ totalPage: number | string; }; /** * 奥创组件协议传入类型 */ export type Order = { /** * - 订单中的状态 */ status: any; /** * - 订单中的商品列表 */ itemList: Item[]; /** * - 订单中的商家信息 */ sellerInfo: SellerInfo; /** * - 订单付款信息 */ payInfo: PayInfo; /** * - 订单可操作项deprecated */ orderop: Orderop[]; /** * - 新操作按钮 */ options: Option[]; /** * - 订单链接 */ detailUrl: string; /** * - 响应的操作 */ actionCode: string; }; /** * - 订单付款信息 */ export type SellerInfo = { /** * - openSearch */ openSearch: boolean; /** * - shopDisable */ shopDisable: boolean; /** * - guestUser */ guestUser: boolean; /** * - nick */ nick: string; /** * - shopName */ shopName: string; /** * - shopImg */ shopImg: string; /** * - String */ id: string; /** * - labels */ labels: any[]; }; /** * - 订单付款信息 */ export type PayInfo = { /** * - 来源 */ source: string; /** * - 供应商 */ supplierName: string; /** * - 总计 */ total: Total; /** * - 运费 */ postFees: PostFees; /** * - 总计 */ totalFee: TotalFee; /** * - 优惠 */ promotionFee: PromotionFee; }; /** * - 总计 */ export type Total = { /** * - 前缀 */ prefix: string; /** * - 值 */ value: string; /** * - 后缀 */ suffix: string; }; /** * - 运费 */ export type PostFees = { /** * - 前缀 */ prefix: string; /** * - name */ name: string; /** * - 值 */ value: string; /** * - 后缀 */ suffix: string; }; /** * - 总计 */ export type TotalFee = { /** * - 前缀 */ prefix: string; /** * - unit */ unit: string; /** * - 值 */ value: string; }; /** * - 优惠 */ export type PromotionFee = { /** * - 前缀 */ prefix: string; /** * - unit */ unit: string; /** * - 值 */ value: string; }; /** * - 选项 */ export type Orderop = { /** * - 旧操作按钮 */ values: string[]; /** * - extraUrl */ extraUrl: ExtraUrl; /** * - extra */ extra: Extra; /** * - id */ id: string; }; /** * - 操作按钮 */ export type Option = { /** * - 按钮文案 */ actionText: string; /** * - action类型:link,async */ actionType: string; /** * - 链接 */ actionUrl: string; /** * - action */ actionCode: string; }; /** * - 选项 */ export type Item = { /** * - 商品标题 */ title: string; /** * - 商品图片 */ pic: string; /** * - 商品sku */ skuText: string; /** * - 商品数量 */ quantity: string; /** * - 商品价格 */ priceInfo: any; /** * - 商品ID */ auctionId: string; /** * - 商品Url */ itemUrl: string; /** * - 标签 */ tagList: Tag[]; /** * - 发货时间描述 */ assistMessage: string; /** * - 物流状态 */ logisticsStatus: string; /** * - 订单状态 */ orderStatus: string; }; /** * - 标签 */ export type Tag = { /** * - 文案 */ text: string; /** * - 类型 */ type: string; }; /** * - 操作链接 */ export type ExtraUrl = { /** * - 操作链接 */ viewEticket: string; }; /** * - 价格信息 */ export type Extra = { /** * - 操作文案 * * 定制点数据 */ viewEticket: string; }; /** * - 定制点数据 */ export type Customization = any; /** * 奥创组件协议传入类型 * @typedef {Object} UltronProps - 奥创组件数据 * @property {Object} componentData - 组件实例数据 * @property {Function} onChange - 异步提交 * @property {Function} onChangeData - 外层异步提交 * @property {Function} onSubmit - 表单提交 * @property {Customization} customization - 定制点 * @property {Fields} fields - 表单数据 * @property {String} uuid - uuid * @property {Object} events - events * * 表单数据 * @typedef {Object} Fields - 输入数据 * @property {Order[]} orderList - 标题名称 * @property {Number | String} pageNo - 页面页数 * @property {Number | String} pageSize - 页面数据条数 * @property {Number | String} total - 数据总条数 * @property {Number | String} totalPage - 数据总页数 * * @typedef {Object} Order * @property {Status} status - 订单中的状态 * @property {Item[]} itemList - 订单中的商品列表 * @property {SellerInfo} sellerInfo - 订单中的商家信息 * @property {PayInfo} payInfo - 订单付款信息 * @property {Orderop[]} orderop - 订单可操作项deprecated * @property {Option[]} options - 新操作按钮 * @property {String} detailUrl - 订单链接 * @property {String} actionCode - 响应的操作 * * @typedef {Object} SellerInfo - 订单付款信息 * @property {Boolean} openSearch - openSearch * @property {Boolean} shopDisable - shopDisable * @property {Boolean} guestUser - guestUser * @property {String} nick - nick * @property {String} shopName - shopName * @property {String} shopImg - shopImg * @property {String} shopName - String * @property {String} id - String * @property {Any[]} labels - labels * * @typedef {Object} PayInfo - 订单付款信息 * @property {String} source - 来源 * @property {String} supplierName - 供应商 * @property {Total} total - 总计 * @property {PostFees} postFees - 运费 * @property {TotalFee} totalFee - 总计 * @property {PromotionFee} promotionFee - 优惠 * * @typedef {Object} Total - 总计 * @property {String} prefix - 前缀 * @property {String} value - 值 * @property {String} suffix - 后缀 * * @typedef {Object} PostFees - 运费 * @property {String} prefix - 前缀 * @property {String} name - name * @property {String} value - 值 * @property {String} suffix - 后缀 * * @typedef {Object} TotalFee - 总计 * @property {String} prefix - 前缀 * @property {String} unit - unit * @property {String} value - 值 * * @typedef {Object} PromotionFee - 优惠 * @property {String} prefix - 前缀 * @property {String} unit - unit * @property {String} value - 值 * * @typedef {Object} Orderop - 选项 * @property {String[]} values - 旧操作按钮 * @property {ExtraUrl} extraUrl - extraUrl * @property {Extra} extra - extra * @property {String} id - id * * @typedef {Object} Option - 操作按钮 * @property {String} actionText - 按钮文案 * @property {String} actionType - action类型:link,async * @property {String} actionUrl - 链接 * @property {String} actionCode - action * * @typedef {Object} Item - 选项 * @property {String} title - 商品标题 * @property {String} pic - 商品图片 * @property {String} skuText - 商品sku * @property {String} quantity - 商品数量 * @property {PriceInfo} priceInfo - 商品价格 * @property {String} auctionId - 商品ID * @property {String} itemUrl - 商品Url * @property {Tag[]} tagList - 标签 * @property {String} assistMessage - 发货时间描述 * @property {String} logisticsStatus - 物流状态 * @property {String} orderStatus - 订单状态 * * @typedef {Object} Tag - 标签 * @property {String} text - 文案 * @property {String} type - 类型 * * @typedef {Object} ExtraUrl - 操作链接 * @property {String} viewEticket - 操作链接 * * @typedef {Object} Extra - 价格信息 * @property {String} viewEticket - 操作文案 * * 定制点数据 * @typedef {Object} Customization - 定制点数据 * * @param {UltronProps} props */ declare function OrderCard(props: UltronProps): JSX.Element; import PayInfo from "../payinfo";