|
|
@ -1,4 +1,4 @@ |
|
|
|
import {ScrollView, Text, View} from "@tarojs/components"; |
|
|
|
import {CoverView, ScrollView, Text, View} from "@tarojs/components"; |
|
|
|
import {FC, useEffect, useState} from "react"; |
|
|
|
import {FC, useEffect, useState} from "react"; |
|
|
|
import HVideo from "@/components/video/video"; |
|
|
|
import HVideo from "@/components/video/video"; |
|
|
|
import {curriculum, HourPlayData} from "@/api"; |
|
|
|
import {curriculum, HourPlayData} from "@/api"; |
|
|
@ -9,6 +9,7 @@ import unique_ident from "@/hooks/unique_ident"; |
|
|
|
import MyButton from "@/components/button/MyButton"; |
|
|
|
import MyButton from "@/components/button/MyButton"; |
|
|
|
import {formatMinute} from "@/utils/time"; |
|
|
|
import {formatMinute} from "@/utils/time"; |
|
|
|
import CustomPageContainer from "@/components/custom-page-container/custom-page-container"; |
|
|
|
import CustomPageContainer from "@/components/custom-page-container/custom-page-container"; |
|
|
|
|
|
|
|
import Single from "@/components/topic/single"; |
|
|
|
|
|
|
|
|
|
|
|
interface Props { |
|
|
|
interface Props { |
|
|
|
id: number, |
|
|
|
id: number, |
|
|
@ -127,7 +128,11 @@ const Course: FC<Props> = ({id, courseId, preview, curEnd}) => { |
|
|
|
breakpoint={breakpoint} |
|
|
|
breakpoint={breakpoint} |
|
|
|
onBreakpoint={onBreakpoint} |
|
|
|
onBreakpoint={onBreakpoint} |
|
|
|
setTime={videoSeek} |
|
|
|
setTime={videoSeek} |
|
|
|
/> |
|
|
|
> |
|
|
|
|
|
|
|
{/*<CoverView className='single-cover'>*/} |
|
|
|
|
|
|
|
{/* <Single/>*/} |
|
|
|
|
|
|
|
{/*</CoverView>*/} |
|
|
|
|
|
|
|
</HVideo> |
|
|
|
|
|
|
|
|
|
|
|
<CustomPageContainer show={show} position='bottom'> |
|
|
|
<CustomPageContainer show={show} position='bottom'> |
|
|
|
<View> |
|
|
|
<View> |
|
|
|