|
@@ -6,7 +6,7 @@ import {
|
|
reactive,
|
|
reactive,
|
|
ref,
|
|
ref,
|
|
watch,
|
|
watch,
|
|
- nextTick
|
|
|
|
|
|
+ nextTick,
|
|
} from 'vue'
|
|
} from 'vue'
|
|
// import WaveSurfer from 'wavesurfer.js';
|
|
// import WaveSurfer from 'wavesurfer.js';
|
|
// import Regions from 'wavesurfer.js/dist/plugins/regions.js';
|
|
// import Regions from 'wavesurfer.js/dist/plugins/regions.js';
|
|
@@ -29,6 +29,8 @@ import musicBg from './share-model/images/music-bg.png';
|
|
import playImg from './images/play.png';
|
|
import playImg from './images/play.png';
|
|
import btnImg from './images/btn.png';
|
|
import btnImg from './images/btn.png';
|
|
import iconUpward from './images/upward.png';
|
|
import iconUpward from './images/upward.png';
|
|
|
|
+import vipIcon from './images/vip_icon.png';
|
|
|
|
+import svipIcon from './images/svip_icon.png';
|
|
import {
|
|
import {
|
|
browser,
|
|
browser,
|
|
getAuth,
|
|
getAuth,
|
|
@@ -113,7 +115,6 @@ export default defineComponent({
|
|
const wxStatus = ref(false)
|
|
const wxStatus = ref(false)
|
|
const staffDom= ref<HTMLIFrameElement>()
|
|
const staffDom= ref<HTMLIFrameElement>()
|
|
const {playStaff, pauseStaff, updateProgressStaff} = staffMoveInstance()
|
|
const {playStaff, pauseStaff, updateProgressStaff} = staffMoveInstance()
|
|
-
|
|
|
|
// 点赞
|
|
// 点赞
|
|
const onStarChange = async () => {
|
|
const onStarChange = async () => {
|
|
await checkLogin();
|
|
await checkLogin();
|
|
@@ -711,7 +712,11 @@ export default defineComponent({
|
|
<div class={[styles.musicSection, styles.musicShareSection]}>
|
|
<div class={[styles.musicSection, styles.musicShareSection]}>
|
|
<div class={styles.avatarInfoBox}>
|
|
<div class={styles.avatarInfoBox}>
|
|
<div class={styles.avatar}>
|
|
<div class={styles.avatar}>
|
|
- <Image class={styles.userLogo} src={state.musicDetail.avatar} />
|
|
|
|
|
|
+ <Image class={[styles.userLogo, state.musicDetail.vipType === 'VIP' ? styles.vipLogo : state.musicDetail.vipType === 'PERMANENT_SVIP' || state.musicDetail.vipType === 'SVIP' ? styles.svipLogo : '']} src={state.musicDetail.avatar} />
|
|
|
|
+ {
|
|
|
|
+ (state.musicDetail.vipType === 'VIP' || state.musicDetail.vipType === 'PERMANENT_SVIP' || state.musicDetail.vipType === 'SVIP') &&
|
|
|
|
+ <img class={styles.vipIcon} src={state.musicDetail.vipType === 'VIP' ? vipIcon : svipIcon} />
|
|
|
|
+ }
|
|
<div class={styles.infoCon}>
|
|
<div class={styles.infoCon}>
|
|
<div class={styles.info}>
|
|
<div class={styles.info}>
|
|
<span class={styles.userName}>{state.musicDetail?.username}</span>
|
|
<span class={styles.userName}>{state.musicDetail?.username}</span>
|