You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { detailsType } from './tips'
|
|
|
|
|
|
|
|
interface inpListItem {
|
|
|
|
/** 输入框标题
|
|
|
|
*/
|
|
|
|
title : string,
|
|
|
|
/** 提示输入内容
|
|
|
|
*/
|
|
|
|
placeholder ?: string,
|
|
|
|
/** 是否禁用
|
|
|
|
*/
|
|
|
|
disabled ?: boolean,
|
|
|
|
/** 输入框类型
|
|
|
|
*/
|
|
|
|
type ?: string,
|
|
|
|
/** 输入框内容
|
|
|
|
*/
|
|
|
|
value : any,
|
|
|
|
/** 数字型输入框最小数
|
|
|
|
*/
|
|
|
|
minNum ?: number,
|
|
|
|
/** 数字型输入框最大数
|
|
|
|
*/
|
|
|
|
maxNum ?: number,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface tiplistType extends detailsType {
|
|
|
|
/** 弹窗的类型
|
|
|
|
* 1.文本输入框类型
|
|
|
|
* 2.数组列表展示类型
|
|
|
|
* 3.上传图片+输入框
|
|
|
|
* */
|
|
|
|
tipstate : number;
|
|
|
|
/** 输入框提示文本
|
|
|
|
* */
|
|
|
|
placeholder : string;
|
|
|
|
/** 显示的数组下标
|
|
|
|
* */
|
|
|
|
list : string[];
|
|
|
|
/** 选中的数组下标
|
|
|
|
* */
|
|
|
|
checklist : number[];
|
|
|
|
/** 输入的文本
|
|
|
|
* */
|
|
|
|
inputtext : string;
|
|
|
|
/** 是否单选
|
|
|
|
* */
|
|
|
|
isonecheck : boolean;
|
|
|
|
/** 图片数组
|
|
|
|
* */
|
|
|
|
imglist : string[];
|
|
|
|
/** 图片长度
|
|
|
|
* */
|
|
|
|
maximglength : number;
|
|
|
|
/** 选中的长度
|
|
|
|
* */
|
|
|
|
checklength : number,
|
|
|
|
/** 是否为修改提交
|
|
|
|
* */
|
|
|
|
isChange : boolean,
|
|
|
|
/** 记录修改的图片的类型
|
|
|
|
* */
|
|
|
|
changeImageList : string[],
|
|
|
|
/** 必选图片的类型
|
|
|
|
* */
|
|
|
|
ImagesRequiredFields : {}[],
|
|
|
|
/** 是否显示预览图片
|
|
|
|
* */
|
|
|
|
showPreviewPicture : boolean,
|
|
|
|
/** 图片数组
|
|
|
|
* */
|
|
|
|
inpList : inpListItem[];
|
|
|
|
}
|