diff --git a/src/pages/business/videoInfo/components/catalogue.tsx b/src/pages/business/videoInfo/components/catalogue.tsx index 08f9fbb..55a1a5b 100644 --- a/src/pages/business/videoInfo/components/catalogue.tsx +++ b/src/pages/business/videoInfo/components/catalogue.tsx @@ -46,9 +46,9 @@ const Catalogue: FC = ({data, setHors, id, playId}) => { }) - function onPause() { - videoEvents.setVideoState('pause') - } + // function onPause() { + // videoEvents.setVideoState('pause') + // } function jumCurHistory() { if (playId) { @@ -192,7 +192,7 @@ const Catalogue: FC = ({data, setHors, id, playId}) => { { token && { - playing ? 暂停 + playing ? 播放中 : 立即学习 } setShow(true)}>... diff --git a/src/pages/preview/brand/article/article.tsx b/src/pages/preview/brand/article/article.tsx index 4d54b99..ff00e4f 100644 --- a/src/pages/preview/brand/article/article.tsx +++ b/src/pages/preview/brand/article/article.tsx @@ -65,7 +65,7 @@ const article: FC = () => { { - !token && ultra && + !token && ultra && children.length > 0 && diff --git a/src/pages/preview/brand/info/info.tsx b/src/pages/preview/brand/info/info.tsx index dabb565..8978cf0 100644 --- a/src/pages/preview/brand/info/info.tsx +++ b/src/pages/preview/brand/info/info.tsx @@ -67,7 +67,7 @@ const BrandInfo: FC = () => { { - (brandInfo?.introductory_video_resource?.url || brandInfo?.brand_album?.length) && + (brandInfo?.introductory_video_resource?.url || brandInfo?.brand_album)?.length > 0 && <> { muted={false} /> } - {brandInfo?.brand_album?.length + { + (brandInfo?.brand_album?.length || 0) > 0 && brandInfo?.brand_album?.split(',').map((d) =>