提交 61545f86 作者: 曹云

改-飞手培训-列表-视频封面数据显示修改

上级 0b24ec1d
......@@ -16,6 +16,7 @@ export interface Flying {
free: 0 | 1
curriculumDesc: string
videoUrl: string
surfaceUrl: string
}
export interface ListPageFlyingInfoResp {
......
......@@ -64,7 +64,11 @@ export default function FlyingHandService() {
>
<div className="item-top">
<Image
src={`${item.videoUrl}?x-oss-process=video/snapshot,t_1000,m_fast`}
src={
item.videoUrl
? `${item.videoUrl}?x-oss-process=video/snapshot,t_1000,m_fast`
: item.surfaceUrl
}
alt="#"
fill
/>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论