|
@@ -159,7 +159,7 @@ export default defineComponent({
|
|
// if (state.list.length > 0 && result.current === 1) {
|
|
// if (state.list.length > 0 && result.current === 1) {
|
|
// return
|
|
// return
|
|
// }
|
|
// }
|
|
- state.list = state.list.concat(result.rows || [])
|
|
|
|
|
|
+ this.state.list = result.rows || []
|
|
state.listState.finished = result.current >= result.pages
|
|
state.listState.finished = result.current >= result.pages
|
|
state.params.page = result.current + 1
|
|
state.params.page = result.current + 1
|
|
state.listState.dataShow = state.list.length > 0
|
|
state.listState.dataShow = state.list.length > 0
|
|
@@ -308,7 +308,11 @@ export default defineComponent({
|
|
shareCall(str)
|
|
shareCall(str)
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
if(Date.now() - t < 3500){
|
|
if(Date.now() - t < 3500){
|
|
- window.location.href = location.origin + '/#/transfer'
|
|
|
|
|
|
+ if (window.location.pathname.includes('teacher')) {
|
|
|
|
+ window.location.href = location.origin + '/student' + '/#/transfer'
|
|
|
|
+ } else {
|
|
|
|
+ window.location.href = location.origin + '/student' + '/#/download'
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}, 3000)
|
|
}, 3000)
|
|
}
|
|
}
|
|
@@ -423,7 +427,7 @@ export default defineComponent({
|
|
window.location.href = location.origin + '/student' + '/#/transfer'
|
|
window.location.href = location.origin + '/student' + '/#/transfer'
|
|
} else {
|
|
} else {
|
|
router.push({
|
|
router.push({
|
|
- path:"/transfer"
|
|
|
|
|
|
+ path:"/download"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -621,12 +625,12 @@ export default defineComponent({
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<Sticky zIndex={1000} offsetTop={state.heightV - 1 + "px"}>
|
|
<Sticky zIndex={1000} offsetTop={state.heightV - 1 + "px"}>
|
|
- <div class={[styles.playSection, plyrState.mediaTimeShow && styles.mediaTimeShow,!plyrState.loaded && styles.notLoaded,isLandscapeScreen.value&&styles.isLandscapeScreen]} id="playMediaSection" onClick={handlerClickPlay}>
|
|
|
|
|
|
+ <div class={[styles.playSection, plyrState.mediaTimeShow && styles.mediaTimeShow,!plyrState.loaded && styles.notLoaded,isLandscapeScreen.value&&styles.isLandscapeScreen, state.playType === 'Audio' && styles.isLandscapeScreen2]} id="playMediaSection" onClick={handlerClickPlay}>
|
|
{
|
|
{
|
|
isLandscapeScreen.value &&
|
|
isLandscapeScreen.value &&
|
|
<div class={styles.backBox}>
|
|
<div class={styles.backBox}>
|
|
<img class={styles.backImg} src={backImg} onClick={handlerBack}/>
|
|
<img class={styles.backImg} src={backImg} onClick={handlerBack}/>
|
|
- <div class={styles.musicDetail}>
|
|
|
|
|
|
+ <div class={[styles.musicDetail, state.playType === 'Audio' && styles.adMusicDetail]}>
|
|
<div class={styles.musicSheetName}>
|
|
<div class={styles.musicSheetName}>
|
|
<NoticeBar
|
|
<NoticeBar
|
|
text={state.musicDetail?.musicSheetName}
|
|
text={state.musicDetail?.musicSheetName}
|