|
@@ -0,0 +1,84 @@
|
|
|
+import { defineComponent } from "vue";
|
|
|
+import { Button, Cell, Icon, Image, NavBar, Rate, Sticky } from "vant";
|
|
|
+import styles from './index.module.less';
|
|
|
+
|
|
|
+import tips from './images/icon_tips.png';
|
|
|
+import banner1 from './images/1.png';
|
|
|
+import banner2 from './images/2.png';
|
|
|
+import banner3 from './images/3.png';
|
|
|
+import ColHeader from "@/components/col-header";
|
|
|
+
|
|
|
+export default defineComponent({
|
|
|
+ name: 'live-cert',
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ rate: 4
|
|
|
+ }
|
|
|
+ },
|
|
|
+ render() {
|
|
|
+ return (
|
|
|
+ <div class={styles['open-live']}>
|
|
|
+ <ColHeader v-slots={{
|
|
|
+ content: () => (
|
|
|
+ <Sticky>
|
|
|
+ <div class={styles['header-content']}>
|
|
|
+ <Button round plain size="small" class={styles.openBtn}>开通直播</Button>
|
|
|
+ </div>
|
|
|
+ </Sticky>
|
|
|
+ )
|
|
|
+ }}>
|
|
|
+ </ColHeader>
|
|
|
+
|
|
|
+ <Cell class={styles['open-teacher-info']} border={false} v-slots={{
|
|
|
+ icon: () => (<Image class={styles.userLogo} src="https://daya.ks3-cn-beijing.ksyun.com/202108/SfbC1JU.jpeg" fit="cover" />)
|
|
|
+ }}>
|
|
|
+ <div class={styles['teacher-info']}>
|
|
|
+ <div class={styles['teacher-name']}>李老师</div>
|
|
|
+ <div class={styles.level}>
|
|
|
+ <Rate v-model={this.rate} color="#FFC459" void-icon="star" voidColor="#D6D6D6" size={15} />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class={styles['teacher-desc']}>
|
|
|
+ <div class={styles.teacherItem}>
|
|
|
+ <div class={styles.title}>12/20</div>
|
|
|
+ <div class={styles.content}>粉丝</div>
|
|
|
+ </div>
|
|
|
+ <div class={styles.teacherItem} style={{ textAlign: 'right' }}>
|
|
|
+ <div class={styles.title}>12/20</div>
|
|
|
+ <div class={styles.content}>已上课时</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </Cell>
|
|
|
+
|
|
|
+ <div class={styles['open-tips']}>
|
|
|
+ <Icon name={tips} size="16" />
|
|
|
+ <p>你尚未达到开通直播的条件</p>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class={styles['open-content']}>
|
|
|
+ <h2>开通直播能为您带来什么?</h2>
|
|
|
+ <p class={styles['cert-text']}>
|
|
|
+ 酷乐秀对平台入驻的优秀老师开放直播及直播课程的功能,帮助老师拓展获客渠道及教学场景。
|
|
|
+ </p>
|
|
|
+ <p class={styles['cert-img']}>
|
|
|
+ <Image src={banner1} width="100%" height="150px" fit="contain" />
|
|
|
+ </p>
|
|
|
+ <h2>直播</h2>
|
|
|
+ <p class={styles['cert-text']}>
|
|
|
+ 开通直播功能后,您可以创建自己的直播间开启直播。
|
|
|
+ </p>
|
|
|
+ <p class={styles['cert-img']}>
|
|
|
+ <Image src={banner2} width="100%" height="150px" fit="contain" />
|
|
|
+ </p>
|
|
|
+ <h2>直播课</h2>
|
|
|
+ <p class={styles['cert-text']}>
|
|
|
+ 您可制定教学方案设置直播课程,学员购买后,您可在直播间对购买直播课的学员进行直播教学,直播课程无人数上限,可极大的提高课程收入。
|
|
|
+ </p>
|
|
|
+ <p class={styles['cert-img']}>
|
|
|
+ <Image src={banner3} width="100%" height="150px" fit="contain" />
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ )
|
|
|
+ }
|
|
|
+})
|