故事详情排版修改

This commit is contained in:
jiangh277
2025-08-08 17:42:07 +08:00
parent efd3f4a82c
commit 30e9e1c7b2
10 changed files with 501 additions and 172 deletions

View File

@@ -16,6 +16,7 @@ interface Props {
imageInstanceId?: string;
imageList?: ImageItem[];
currentIndex?: number;
style?: React.CSSProperties;
}
const TimelineImage: React.FC<Props> = (props) => {
@@ -28,6 +29,7 @@ const TimelineImage: React.FC<Props> = (props) => {
height = 200,
imageList = [],
currentIndex = 0,
style,
} = props;
const { imageUrl, loading } = useFetchImageUrl(imageInstanceId ?? '');
@@ -55,6 +57,7 @@ const TimelineImage: React.FC<Props> = (props) => {
}}
height={height}
width={width}
style={style}
alt={title}
fallback={
fallback ??