|
@@ -19,6 +19,10 @@ export default defineComponent({
|
|
/** 当前是否为选中状态 */
|
|
/** 当前是否为选中状态 */
|
|
activeStatus: {
|
|
activeStatus: {
|
|
type: Boolean
|
|
type: Boolean
|
|
|
|
+ },
|
|
|
|
+ imagePos: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: 'left'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
emits: ['setIframe'],
|
|
emits: ['setIframe'],
|
|
@@ -43,7 +47,7 @@ export default defineComponent({
|
|
// location.origin + '/instrument';
|
|
// location.origin + '/instrument';
|
|
const src = `${vaildMusicScoreUrl()}/instrument/?v=${+new Date()}&showGuide=true&platform=pc&zoom=1.2&modelType=practise&id=${
|
|
const src = `${vaildMusicScoreUrl()}/instrument/?v=${+new Date()}&showGuide=true&platform=pc&zoom=1.2&modelType=practise&id=${
|
|
props.music.content
|
|
props.music.content
|
|
- }&Authorization=${userStore.getToken}`;
|
|
|
|
|
|
+ }&Authorization=${userStore.getToken}&imagePos=${props.imagePos}`;
|
|
const checkView = () => {
|
|
const checkView = () => {
|
|
fetch(src)
|
|
fetch(src)
|
|
.then(() => {
|
|
.then(() => {
|