|
@@ -731,7 +731,9 @@ export default defineComponent({
|
|
await getRefLevel()
|
|
await getRefLevel()
|
|
}
|
|
}
|
|
await getDetail()
|
|
await getDetail()
|
|
- data.lessonId && await getSearchDetail({search: data.search, id: data.lessonId})
|
|
|
|
|
|
+ if(state.platformType !== "SCHOOL") {
|
|
|
|
+ data.lessonId && await getSearchDetail({search: data.search, id: data.lessonId})
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// console.log(data.detail, "data.detail");
|
|
// console.log(data.detail, "data.detail");
|
|
// const hasFree = String(data.detail?.accessScope) === '0'
|
|
// const hasFree = String(data.detail?.accessScope) === '0'
|
|
@@ -1478,18 +1480,18 @@ export default defineComponent({
|
|
}}>
|
|
}}>
|
|
<img src={iconCourseType} />
|
|
<img src={iconCourseType} />
|
|
</div>}
|
|
</div>}
|
|
- <div class={styles.fullBtn} onClick={() => {
|
|
|
|
- handleStop()
|
|
|
|
- data.isSearch = true
|
|
|
|
- detailTempSearchList.value = detailList.value
|
|
|
|
- popupData.tempItemActive = ""
|
|
|
|
- popupData.tempTabActive = ""
|
|
|
|
- data.searchTemp = ""
|
|
|
|
- // data.searchTemp = JSON.parse(JSON.stringify(data.search))
|
|
|
|
- popupData.open = true
|
|
|
|
- }}>
|
|
|
|
- <img src={iconSearch} />
|
|
|
|
- </div>
|
|
|
|
|
|
+ {state.platformType !== "SCHOOL" && <div class={styles.fullBtn} onClick={() => {
|
|
|
|
+ handleStop()
|
|
|
|
+ data.isSearch = true
|
|
|
|
+ detailTempSearchList.value = detailList.value
|
|
|
|
+ popupData.tempItemActive = ""
|
|
|
|
+ popupData.tempTabActive = ""
|
|
|
|
+ data.searchTemp = ""
|
|
|
|
+ // data.searchTemp = JSON.parse(JSON.stringify(data.search))
|
|
|
|
+ popupData.open = true
|
|
|
|
+ }}>
|
|
|
|
+ <img src={iconSearch} />
|
|
|
|
+ </div>}
|
|
|
|
|
|
{data.source !== 'search' && <div class={styles.fullBtn} onClick={() => {
|
|
{data.source !== 'search' && <div class={styles.fullBtn} onClick={() => {
|
|
popupData.open = true
|
|
popupData.open = true
|
|
@@ -1742,7 +1744,9 @@ export default defineComponent({
|
|
showToast('网络异常')
|
|
showToast('网络异常')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- data.lessonId && await getSearchDetail({search: data.search, id: data.lessonId})
|
|
|
|
|
|
+ if(state.platformType !== "SCHOOL") {
|
|
|
|
+ data.lessonId && await getSearchDetail({search: data.search, id: data.lessonId})
|
|
|
|
+ }
|
|
}} />
|
|
}} />
|
|
</Popup>
|
|
</Popup>
|
|
|
|
|