hfyk-app
Version:
导出问题
51 lines (49 loc) • 1.63 kB
TypeScript
declare namespace HyApp {
/**
* @description 主题类型 primary-默认,success-错误,warning-警告,error-错误,info-信息
* */
type ThemeType = "primary" | "success" | "warning" | "error" | "info";
/**
* @description 大小
* */
type SizeType = "small" | "medium" | "large";
/**
* @description 形状:circle-圆形,square-方块
* */
type ShapeType = "circle" | "square";
/**
* @description 形状:flex-start-开头排序,flex-start-结尾排序,space-between-两边靠边,space-around-两边留一半空隙,space-evenly-两边留一个空隙,center-居中
* */
type JustifyContentType =
| "flex-start"
| "flex-end"
| "space-between"
| "space-around"
| "space-evenly"
| "center";
/**
* @description 排列方式,row-横向,column-纵向
* */
type PermutationType = "row" | "column";
/**
* @description 布局方式;left-左,right-右,top-上,bottom-下,center-中
* */
type LayoutType = LeftRightType | TopBottomType | "center";
/**
* @description 布局方式:left-左,right-右
* */
type LeftRightType = "left" | "right";
/**
* @description 布局方式:top-上,bottom-下
* */
type TopBottomType = "top" | "bottom";
/**
* @description 边框:surround-四周有边框,bottom-底部有边框,none-无边框
* */
type BorderType = "surround" | "bottom" | "none";
/**
* @description 导航类型:
* */
type NavigationType = "navigateTo" | "redirectTo" | "switchTab" | "reLaunch";
type FileType = "video" | "media" | "all" | "file" | "image";
}