小程序初始提交

This commit is contained in:
jdc
2025-11-13 10:36:23 +08:00
parent f26b4f9a2f
commit 5db3b180eb
447 changed files with 83351 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import type { PassThroughProps } from "../../types";
import type { ClIconProps } from "../cl-icon/props";
export type ClImagePassThrough = {
className?: string;
inner?: PassThroughProps;
error?: ClIconProps;
loading?: PassThroughProps;
};
export type ClImageProps = {
className?: string;
pt?: ClImagePassThrough;
src?: string;
mode?: "scaleToFill" | "aspectFit" | "aspectFill" | "widthFix" | "heightFix" | "top" | "bottom" | "center" | "left" | "right" | "top left" | "top right" | "bottom left" | "bottom right";
border?: boolean;
preview?: boolean;
previewList?: string[];
height?: string | number;
width?: string | number;
showLoading?: boolean;
lazyLoad?: boolean;
fadeShow?: boolean;
webp?: boolean;
showMenuByLongpress?: boolean;
};