|
@@ -5,8 +5,10 @@ import MEmpty from '@/components/m-empty';
|
|
|
import styles from './index.module.less';
|
|
|
import musicBg from '../../image/music_bg.png';
|
|
|
import titleIcon1 from '../../image/title_icon1.png';
|
|
|
+import titleIcon2 from '../../image/title_icon2.png';
|
|
|
import playIcon from '../../image/music_play_icon.png';
|
|
|
import emptyIcon from '../../image/ins-empty-icon.png';
|
|
|
+import { NoticeBar } from 'vant';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'InstrumentInfo',
|
|
@@ -67,7 +69,13 @@ export default defineComponent({
|
|
|
<img src={forms.dataInfo.avatar || musicBg} />
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class={styles.songName}>{forms.dataInfo.name || '--'}</div>
|
|
|
+ {/* <div class={styles.songName}>{forms.dataInfo.name || '--'}</div> */}
|
|
|
+ <NoticeBar
|
|
|
+ text={forms.dataInfo.name}
|
|
|
+ color="#000"
|
|
|
+ class={styles.songName}
|
|
|
+ background="none"
|
|
|
+ />
|
|
|
<div class={styles.songWords}>
|
|
|
{forms.dataInfo.lyricists && (
|
|
|
<span>作词:{forms.dataInfo.lyricists}</span>
|
|
@@ -116,7 +124,7 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class={styles.right}>
|
|
|
- <div class={styles.title}><img class={styles.liBg} src={titleIcon1} />乐器简介</div>
|
|
|
+ <div class={styles.title}><img class={styles.liBg} src={ props.type === 'musician' ? titleIcon2 : titleIcon1 } />{props.type === 'wiki' ? '乐器简介' : props.type === 'instrument' ? '名曲故事' : props.type === 'musician' ? '个人简介' : ''}</div>
|
|
|
<div class={styles.desc} v-html={forms.dataInfo.intros}></div>
|
|
|
{!forms.loading && !forms.dataInfo.intros && (
|
|
|
<MEmpty description="暂无内容" />
|