|
@@ -3,13 +3,14 @@ import MSticky from '@/components/m-sticky';
|
|
|
import { defineComponent, onMounted, reactive } from 'vue';
|
|
|
import { useEventListener, useWindowScroll } from '@vueuse/core';
|
|
|
import styles from './index.module.less';
|
|
|
-import { Image } from 'vant';
|
|
|
+import { Image, NoticeBar } from 'vant';
|
|
|
import request from '@/helpers/request';
|
|
|
import { useRoute } from 'vue-router';
|
|
|
import AudioPlayer from '../components/audio-player';
|
|
|
import banner from '../images/banner1.png';
|
|
|
import musicBg from '../images/music_bg.png';
|
|
|
import MEmpty from '@/components/m-empty';
|
|
|
+import TheNoticeBar from '@/components/TheNoticeBar';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'instrument-detail',
|
|
@@ -18,7 +19,6 @@ export default defineComponent({
|
|
|
const forms = reactive({
|
|
|
titleOpacity: 0,
|
|
|
background: 'transparent',
|
|
|
- color: '#fff',
|
|
|
detail: {} as any,
|
|
|
musicList: [] as any,
|
|
|
loading: false
|
|
@@ -80,7 +80,11 @@ export default defineComponent({
|
|
|
</div>
|
|
|
<div class={styles.musicContent}>
|
|
|
<div class={[styles.musicTitle, 'van-multi-ellipsis--l2']}>
|
|
|
- {forms.detail.name || '--'}
|
|
|
+ <NoticeBar
|
|
|
+ scrollable={forms.detail.name >= 13 ? true : false}
|
|
|
+ background="transparent"
|
|
|
+ text={forms.detail.name || '--'}
|
|
|
+ />
|
|
|
</div>
|
|
|
<div class={styles.musicInto}>
|
|
|
{forms.detail.lyricists && (
|