提交 72e194d7 编写于 作者: zhangwen's avatar zhangwen

调整页面上滑下滑高度

上级 c18fe001
......@@ -179,7 +179,7 @@ export default class ScrollerView extends Vue {
initHeight() {
const el: any = this.$el;
if (this.height) {
el.style.height = this.height + "px";
el.style.height = this.height + "vh";
}
}
}
......
......@@ -13,7 +13,7 @@
<tatle-bar :tatle="tatleName"></tatle-bar>
</div>
<div style="height: calc(100vh - 200vh);">
<scroller-view :pullup="true" :pulldown="true" :height="600">
<scroller-view :pullup="true" :pulldown="true" :height="100">
<div class="cardA" v-for="(item, index) in productParam" :key="index">
<div>
<van-row @click="onClickDetails(item)">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册