品牌详情

v2
king 1 year ago
parent a70dcc2de1
commit 8f104e2a54
  1. 8
      src/pages/business/videoInfo/components/catalogue.tsx
  2. 2
      src/pages/preview/brand/article/article.tsx
  3. 5
      src/pages/preview/brand/info/info.tsx

@ -46,9 +46,9 @@ const Catalogue: FC<Props> = ({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<Props> = ({data, setHors, id, playId}) => {
{
token && <View className='Videobutton'>
{
playing ? <MyButton className='flex-1' onClick={onPause}></MyButton>
playing ? <MyButton className='flex-1'></MyButton>
: <MyButton className='flex-1' onClick={learning}></MyButton>
}
<View className='px-3' onClick={() => setShow(true)}>...</View>

@ -65,7 +65,7 @@ const article: FC = () => {
</View>
</View>
{
!token && ultra &&
!token && ultra && children.length > 0 &&
<View className={styles.fixedBox}>
<View className={styles['fixedBox-inner']}>
<View className={styles['fixedBox-inner-icon']}>

@ -67,7 +67,7 @@ const BrandInfo: FC = () => {
<View className='flex flex-column' style={{display: 'flex'}}>
<Spin enable={enable} overlay/>
{
(brandInfo?.introductory_video_resource?.url || brandInfo?.brand_album?.length) &&
(brandInfo?.introductory_video_resource?.url || brandInfo?.brand_album)?.length > 0 &&
<>
<Swiper
className={styles['swiper']}
@ -91,7 +91,8 @@ const BrandInfo: FC = () => {
muted={false}
/>
</SwiperItem>}
{brandInfo?.brand_album?.length
{
(brandInfo?.brand_album?.length || 0) > 0
&& brandInfo?.brand_album?.split(',').map((d) =>
<SwiperItem>
<Img mode={'aspectFill'} width={750} height={600} src={d}/>

Loading…
Cancel
Save