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