Commit a5219a02 authored by zhangyanni's avatar zhangyanni

样式

parent 6095fbb6
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
this.$refs.navBar.scrollLeft = this.$refs.navBar.scrollLeft + window.document.body.clientWidth - 50; this.$refs.navBar.scrollLeft = this.$refs.navBar.scrollLeft + window.document.body.clientWidth - 50;
} }
} else { } else {
this.$refs.navBar.scrollLeft = document.getElementById("channel" + index).offsetLeft; this.$refs.navBar.scrollLeft = document.getElementById("channel" + index).offsetLeft - 20;
this.currentTab = data; this.currentTab = data;
this.getInitFunc(); this.getInitFunc();
} }
......
...@@ -42,5 +42,10 @@ ...@@ -42,5 +42,10 @@
#demo /deep/ .pageContainer img{ #demo /deep/ .pageContainer img{
width: 100%; width: 100%;
}
#demo /deep/ .pinch-zoom-container{
height: 100vh !important;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment