Commit aeaf71ea authored by Mac's avatar Mac

滚动的问题

parent 6b03f9e3
......@@ -59,7 +59,7 @@
:enable-back-to-top="true"
:enable-flex="true"
@scrolltolower="lower"
:style="{ height: '100%' }">
:style="{ 'height': scrollHeight}">
<view style="display: flex;flex-direction: column;align-items: center;">
<view v-for="(item, index) in g" :key="index" class="listbox">
<view class="box_c" >
......@@ -88,7 +88,7 @@
</view>
</view>
</view>
<!-- <view style="width: 100%;height: 900px;"></view> -->
</view>
<u-loadmore
:status="status"
......@@ -230,8 +230,8 @@
GoodsName:'',
},
show:false,
cHeight:0
cHeight:0,
scrollHeight:0,
}
},
onLoad(){
......@@ -239,6 +239,7 @@
},
created(){
this.contentHeight = this.$utils.calcContentHeight(-40)+'px';
this.scrollHeight = this.$utils.calcContentHeight(-40+210)+'px';
this.cHeight = this.$uiConfig.is_bang ? 80 : 52;
this.mainColor = this.$uiConfig.mainColor;
this.secondary = this.$uiConfig.secondary;
......
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