|
@@ -62,7 +62,7 @@ export default defineComponent({
|
|
|
<ColVideo src={this.srcUrl} poster={this.posterUrl} />
|
|
|
)
|
|
|
}} />
|
|
|
- <Cell border={false} class={styles.cell} title={this.title} titleClass={styles.title} v-slots={{
|
|
|
+ <Cell border={false} class={styles.cell} title={this.title} titleClass={styles.titleInfo} v-slots={{
|
|
|
icon: () => (<Icon name="video" size={18} style={{ display: 'flex', alignItems: 'center' }} />),
|
|
|
value: () => (<div class={styles.label}><span>1</span>/4课时</div>)
|
|
|
}}></Cell>
|
|
@@ -80,33 +80,6 @@ export default defineComponent({
|
|
|
videoUrl: item.videoUrl
|
|
|
}} onPlay={this.onPlay} />
|
|
|
))}
|
|
|
- {this.detailList.map((item: any) => (
|
|
|
- <CourseVideoItem class={'mb12'} detail={{
|
|
|
- id: item.id,
|
|
|
- title: item.videoTitle,
|
|
|
- content: item.videoContent,
|
|
|
- imgUrl: item.coverUrl,
|
|
|
- videoUrl: item.videoUrl
|
|
|
- }} onPlay={this.onPlay} />
|
|
|
- ))}
|
|
|
- {this.detailList.map((item: any) => (
|
|
|
- <CourseVideoItem class={'mb12'} detail={{
|
|
|
- id: item.id,
|
|
|
- title: item.videoTitle,
|
|
|
- content: item.videoContent,
|
|
|
- imgUrl: item.coverUrl,
|
|
|
- videoUrl: item.videoUrl
|
|
|
- }} onPlay={this.onPlay} />
|
|
|
- ))}
|
|
|
- {this.detailList.map((item: any) => (
|
|
|
- <CourseVideoItem class={'mb12'} detail={{
|
|
|
- id: item.id,
|
|
|
- title: item.videoTitle,
|
|
|
- content: item.videoContent,
|
|
|
- imgUrl: item.coverUrl,
|
|
|
- videoUrl: item.videoUrl
|
|
|
- }} onPlay={this.onPlay} />
|
|
|
- ))}
|
|
|
</SectionDetail>
|
|
|
</div>
|
|
|
|
|
@@ -136,7 +109,16 @@ export default defineComponent({
|
|
|
</Tab>
|
|
|
<Tab title="讨论" name={3}>
|
|
|
<div style={{ height: 'calc(100vh - 365px)', overflowY: 'auto' }}>
|
|
|
- <div style={{ height: '20vh' }}>主体请求</div>
|
|
|
+ {[1, 2, 3].map((item: any) => (
|
|
|
+ <Cell class={[styles['message-list'], styles['message-active']]} valueClass={styles['message-time']} v-slots={{
|
|
|
+ icon: () => (<Image class={styles.userLogo} src={this.users?.headUrl || iconTeacher} fit="cover" />),
|
|
|
+ title: () => (<div class={styles.title}>
|
|
|
+ <div class={styles['message-name']}>讨论讨论讨</div>
|
|
|
+ <div class={styles['message-time']}>2022年4月11日</div>
|
|
|
+ </div>),
|
|
|
+ label: () => (<div class={styles.label}>电光2323232323冷雾中</div>)
|
|
|
+ }} />
|
|
|
+ ))}
|
|
|
</div>
|
|
|
|
|
|
<Sticky offsetBottom={0} position='bottom'>
|