|
|
|
@ -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> |
|
|
|
|