/** * Coupon * @cloud */ export interface CouponProps { /** * 组件 fields 数据 */ fields: FieldsType; } export interface FieldsType { /** * 已选中的值 */ price: number; /** * 红包图标 */ iconUrl: string; /** * 红包标题 */ title: string; /** * 完成按钮文本 */ confirm: string; /** * 弹出框标题 */ dialogTitle: string; /** * 可选列表 */ options: OptionType[]; } export interface TitleCssType { /** * color */ color: string; } export interface PriceCssType { /** * color */ color: string; } export interface OptionType { /** * id */ id: string; /** * title */ title: string; /** * titleCss */ titleCss: TitleCssType; /** * 价格 */ price: number; /** * 价格Css */ priceCss: PriceCssType; /** * 是否禁用 */ disabled: boolean; /** * 是否玄宗 */ isChecked: boolean; }