|
@@ -30,7 +30,7 @@ import { getRandomKey, musicBuy } from '../music'
|
|
|
import { state } from '@/state'
|
|
|
import { useEventTracking } from '@/helpers/hooks'
|
|
|
import ColSticky from '@/components/col-sticky'
|
|
|
-import { moneyFormat } from '@/helpers/utils'
|
|
|
+import { browser, moneyFormat } from '@/helpers/utils'
|
|
|
import { orderStatus } from '@/views/order-detail/orderStatus'
|
|
|
import iconShare from '@/views/music/album/icon_share.svg'
|
|
|
import iconAlbum from '@/views/music/component/images/icon_album.png'
|
|
@@ -547,7 +547,7 @@ export default defineComponent({
|
|
|
<iframe
|
|
|
id="containerPrint"
|
|
|
ref="print"
|
|
|
- style="width: 100%;page-break-after:always; height: 0"
|
|
|
+ style="width: 540px;page-break-after:always; height: 0;"
|
|
|
src={accompanyUrl.value}
|
|
|
/>
|
|
|
<p class={styles.musicTitle}>
|
|
@@ -584,7 +584,24 @@ export default defineComponent({
|
|
|
)}
|
|
|
|
|
|
<div class={[styles.collect, styles.collectCell]}>
|
|
|
- <div class={[styles.userInfo]}>
|
|
|
+ <div
|
|
|
+ class={[styles.userInfo]}
|
|
|
+ onClick={() => {
|
|
|
+ if (
|
|
|
+ browser().isApp &&
|
|
|
+ musicDetail.value?.sourceType === 'TEACHER' &&
|
|
|
+ state.platformType === 'STUDENT'
|
|
|
+ ) {
|
|
|
+ router.push({
|
|
|
+ path: '/teacherHome',
|
|
|
+ query: {
|
|
|
+ teacherId: musicDetail.value?.userId,
|
|
|
+ tabs: 'music'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }}
|
|
|
+ >
|
|
|
<img src={musicDetail.value?.userAvatar || iconTeacher} />
|
|
|
<span>{musicDetail.value?.userName}</span>
|
|
|
</div>
|