Browse Source

优化滚动2

master
wanghongjun 2 years ago
parent
commit
00ee3128bf
  1. 4
      pages/category/index.vue

4
pages/category/index.vue

@ -35,7 +35,7 @@
</view>
</view>
</scroll-view>
<scroll-view v-else-if="userList.length>0 && type==1"class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }">
<scroll-view v-else-if="userList.length>0 && type==1" class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }">
<view class="cate-right-cont">
<view class="cate-two-box">
<view class="cate-cont-box">
@ -56,7 +56,7 @@
</view>
</view>
</scroll-view>
<scroll-view v-else-if="informationList.length>0 && type==2"class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }">
<scroll-view v-else-if="informationList.length>0 && type==2" class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }">
<view class="cate-right-cont">
<view class="cate-two-box">
<view class="cate-cont-box">

Loading…
Cancel
Save