|
@@ -35,6 +35,7 @@ import iconEdit from './images/edit.png';
|
|
|
import iconMember from './images/icon-member.png';
|
|
|
import vipIcon from './images/vip_icon.png';
|
|
|
import svipIcon from './images/svip_icon.png';
|
|
|
+import tyBg from './images/ty.png';
|
|
|
import TextEllipsis from './text-ellipsis/index';
|
|
|
import Loading from './loading';
|
|
|
|
|
@@ -423,8 +424,8 @@ export default defineComponent({
|
|
|
}
|
|
|
// 初始化五线谱
|
|
|
function initStaff(){
|
|
|
- const src = `/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
|
|
|
- // const src = `http://192.168.3.68:3000/instrument.html#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
|
|
|
+ // const src = `/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
|
|
|
+ const src = `http://192.168.3.68:3000/instrument.html#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
|
|
|
staffState.staffSrc = src
|
|
|
window.addEventListener('message', (event) => {
|
|
|
const { api, height } = event.data;
|
|
@@ -608,8 +609,8 @@ export default defineComponent({
|
|
|
playsinline
|
|
|
webkit-playsinline
|
|
|
/>
|
|
|
- <img src="./img/ty.png" class={styles.tyBg} />
|
|
|
- <div class="audioBoxBg">
|
|
|
+ <img src={tyBg} class={styles.tyBg} />
|
|
|
+ <div class={styles.audioBoxBg}>
|
|
|
<div class={[styles.audioPan, plyrState.playIngShow && styles.imgRotate]}>
|
|
|
<img class={styles.audioImg} src={state.musicDetail.img || musicBg} />
|
|
|
</div>
|