|
@@ -1,6 +1,6 @@
|
|
import request from '@/helpers/request'
|
|
import request from '@/helpers/request'
|
|
import { state } from '@/state'
|
|
import { state } from '@/state'
|
|
-import { Empty, Grid, GridItem, Icon } from 'vant'
|
|
|
|
|
|
+import { Button, Empty, Grid, GridItem, Icon } from 'vant'
|
|
import { defineComponent, onMounted, reactive } from 'vue'
|
|
import { defineComponent, onMounted, reactive } from 'vue'
|
|
import styles from './index.module.less'
|
|
import styles from './index.module.less'
|
|
import iconLook from './image/look.svg'
|
|
import iconLook from './image/look.svg'
|
|
@@ -62,6 +62,7 @@ export default defineComponent({
|
|
查看
|
|
查看
|
|
<Icon name="play-circle-o" />
|
|
<Icon name="play-circle-o" />
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
{item.unlock && (
|
|
{item.unlock && (
|
|
<div class={styles.look}>
|
|
<div class={styles.look}>
|
|
<Icon name={iconLook} /> 未解锁
|
|
<Icon name={iconLook} /> 未解锁
|
|
@@ -72,6 +73,9 @@ export default defineComponent({
|
|
)
|
|
)
|
|
})}
|
|
})}
|
|
</Grid>
|
|
</Grid>
|
|
|
|
+ <Button onClick={() => {
|
|
|
|
+ location.href = 'http://192.168.3.114:1000/teacher.html#/coursewarePlay?id=1610595720511209474'
|
|
|
|
+ }}>测试</Button>
|
|
{!data.list.length && <Empty description="空空如也" />}
|
|
{!data.list.length && <Empty description="空空如也" />}
|
|
</div>
|
|
</div>
|
|
)
|
|
)
|