|
@@ -9,6 +9,7 @@ import { createState } from './createState'
|
|
|
import styles from './detail.module.less'
|
|
|
import dayjs from 'dayjs'
|
|
|
import { postMessage } from '@/helpers/native-message'
|
|
|
+import GroupPlanStep from '@/business-components/group-plan-step'
|
|
|
interface IProps {
|
|
|
courseTime: string
|
|
|
coursePlan: string
|
|
@@ -48,7 +49,6 @@ export default defineComponent({
|
|
|
courseInfo() {
|
|
|
const tempArr = [] as IProps[]
|
|
|
const coursePlanList = createState.live.coursePlanList || []
|
|
|
- console.log(createState.live, "createState.live");
|
|
|
coursePlanList.forEach((item: any) => {
|
|
|
tempArr.push({
|
|
|
courseTime: `${dayjs(item.startTime).format('YYYY-MM-DD')} ${dayjs(
|
|
@@ -56,7 +56,7 @@ export default defineComponent({
|
|
|
).format('HH:mm')}~${dayjs(item.endTime).format('HH:mm')}`,
|
|
|
roomUid: item.roomUid,
|
|
|
teacherName: state.user.data?.username,
|
|
|
- subjectName: "",
|
|
|
+ subjectName: createState.live.subjectName,
|
|
|
liveState: item.liveState,
|
|
|
coursePlan: item.plan,
|
|
|
id: item.courseId
|
|
@@ -149,7 +149,8 @@ export default defineComponent({
|
|
|
<p class={styles.introduction}>{this.userInfo.lessonDesc}</p>
|
|
|
</SectionDetail>
|
|
|
|
|
|
- <SectionDetail
|
|
|
+ <GroupPlanStep courseInfo={this.courseInfo} />
|
|
|
+ {/* <SectionDetail
|
|
|
title="课程安排"
|
|
|
icon="courseList"
|
|
|
titleShow={false}
|
|
@@ -157,10 +158,10 @@ export default defineComponent({
|
|
|
contentStyle={{ paddingTop: '0' }}
|
|
|
>
|
|
|
<CoursePlanStep courseInfo={this.courseInfo} />
|
|
|
- </SectionDetail>
|
|
|
+ </SectionDetail> */}
|
|
|
|
|
|
<Sticky offsetBottom={0} position="bottom">
|
|
|
- <div class={['btnGroup', 'btnMore']}>
|
|
|
+ <div class={['btnGroup', 'btnMore']} style={{ paddingTop: '12px' }}>
|
|
|
<Button
|
|
|
block
|
|
|
round
|