瀏覽代碼

样式修改

黄琪勇 9 月之前
父節點
當前提交
67f3292ae0
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 2
      src/views/creation/index-shareRoute.vue
  2. 1 0
      src/views/creation/index.less

+ 2 - 2
src/views/creation/index-shareRoute.vue

@@ -14,7 +14,7 @@
             class="nav"
             class="nav"
             :class="{ isScreenScroll: isScreenScroll }"
             :class="{ isScreenScroll: isScreenScroll }"
             :fixed="false"
             :fixed="false"
-            :title="state.musicDetail.musicSheetName"
+            title="作品详情"
             left-arrow
             left-arrow
             @click-left="goBack"
             @click-left="goBack"
          />
          />
@@ -645,7 +645,7 @@ export default {
       this.state.heightA = this.$refs.playBoxDom.offsetHeight
       this.state.heightA = this.$refs.playBoxDom.offsetHeight
       document.addEventListener("scroll", this.handleScroll)
       document.addEventListener("scroll", this.handleScroll)
       document.addEventListener("visibilitychange", this.handleVisibilitychange)
       document.addEventListener("visibilitychange", this.handleVisibilitychange)
-      this.setFullHeight()
+      !browser().isApp && this.setFullHeight()
       window.addEventListener("resize", this.setFullHeight)
       window.addEventListener("resize", this.setFullHeight)
    },
    },
    destroyed() {
    destroyed() {

+ 1 - 0
src/views/creation/index.less

@@ -23,6 +23,7 @@
             color: #fff;
             color: #fff;
          }
          }
          .van-nav-bar__title {
          .van-nav-bar__title {
+            line-height: 46px;
             font-size: 0.2rem;
             font-size: 0.2rem;
             color: #fff;
             color: #fff;
          }
          }