|
|
|
@ -129,24 +129,22 @@ const Course: FC<Props> = ({id, courseId, preview, curEnd}) => { |
|
|
|
|
setTime={videoSeek} |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<CustomPageContainer |
|
|
|
|
show={show} |
|
|
|
|
position='bottom' |
|
|
|
|
> |
|
|
|
|
<CustomPageContainer show={show} position='bottom'> |
|
|
|
|
<View> |
|
|
|
|
<View className='text-center mt-2 text-muted'> |
|
|
|
|
<Text className='mr-2'>{formatMinute(time)}考题</Text> |
|
|
|
|
</View> |
|
|
|
|
{examAll?.[time]?.slice(0, 1)?.map((d) => |
|
|
|
|
<ScrollView style='height:60vh' scrollY key={d.id}> |
|
|
|
|
{d.question_type === 2 && |
|
|
|
|
<Judge |
|
|
|
|
data={d as ShareSubject} |
|
|
|
|
validate={validate} |
|
|
|
|
onAnswer={(isAnswer) => setRecord([isAnswer])} |
|
|
|
|
/>} |
|
|
|
|
</ScrollView> |
|
|
|
|
)} |
|
|
|
|
{ |
|
|
|
|
examAll?.[time]?.slice(0, 1)?.map((d) => |
|
|
|
|
<ScrollView style='height:60vh' scrollY key={d.id}> |
|
|
|
|
{d.question_type === 2 && |
|
|
|
|
<Judge |
|
|
|
|
data={d as ShareSubject} |
|
|
|
|
validate={validate} |
|
|
|
|
onAnswer={(isAnswer) => setRecord([isAnswer])} |
|
|
|
|
/>} |
|
|
|
|
</ScrollView>) |
|
|
|
|
} |
|
|
|
|
<View> |
|
|
|
|
|
|
|
|
|
<View className='statistics'> |
|
|
|
|