|
@@ -32,8 +32,8 @@ export default defineComponent({
|
|
|
})
|
|
|
}
|
|
|
const openClassDetail = (item: any) => {
|
|
|
- console.log("🚀 ~ item", item)
|
|
|
- if (state.platformType == 'STUDENT') return;
|
|
|
+ console.log('🚀 ~ item', item)
|
|
|
+ if (state.platformType == 'STUDENT') return
|
|
|
postMessage({
|
|
|
api: 'open_app_page',
|
|
|
content: {
|
|
@@ -73,9 +73,13 @@ export default defineComponent({
|
|
|
) : (
|
|
|
<>
|
|
|
<div class={styles.content}>
|
|
|
- <div class={['van-ellipsis', styles.teacherName]}>
|
|
|
- {item.teacherName}
|
|
|
- </div>
|
|
|
+ {item.teacherName ? (
|
|
|
+ <div class={['van-ellipsis', styles.teacherName]}>
|
|
|
+ {item.teacherName}
|
|
|
+ </div>
|
|
|
+ ) : (
|
|
|
+ <div style={{ color: 'rgba(178,178,178,1)' }}>暂无伴学指导</div>
|
|
|
+ )}
|
|
|
</div>
|
|
|
<div class="van-cell__label">
|
|
|
<span class={styles.tag}>{item.classGroupName}</span>
|