|
@@ -14,7 +14,7 @@
|
|
|
class="nav"
|
|
|
:class="{ isScreenScroll: isScreenScroll }"
|
|
|
:fixed="false"
|
|
|
- :title="state.musicDetail.musicSheetName"
|
|
|
+ title="作品详情"
|
|
|
left-arrow
|
|
|
@click-left="goBack"
|
|
|
/>
|
|
@@ -377,7 +377,7 @@ export default {
|
|
|
const jsonConfig = JSON.parse(res.data.jsonConfig)
|
|
|
jsonConfig.speedRate && (this.staffState.speedRate = jsonConfig.speedRate)
|
|
|
jsonConfig.musicRenderType && (this.staffState.musicRenderType = jsonConfig.musicRenderType)
|
|
|
- jsonConfig.partIndex && (this.staffState.partIndex = jsonConfig.partIndex)
|
|
|
+ jsonConfig["part-index"] && (this.staffState.partIndex = jsonConfig["part-index"])
|
|
|
} catch {}
|
|
|
// 五线谱
|
|
|
this.initStaff()
|
|
@@ -645,7 +645,7 @@ export default {
|
|
|
this.state.heightA = this.$refs.playBoxDom.offsetHeight
|
|
|
document.addEventListener("scroll", this.handleScroll)
|
|
|
document.addEventListener("visibilitychange", this.handleVisibilitychange)
|
|
|
- this.setFullHeight()
|
|
|
+ !browser().isApp && this.setFullHeight()
|
|
|
window.addEventListener("resize", this.setFullHeight)
|
|
|
},
|
|
|
destroyed() {
|