diff --git a/pages/cloud_warehouse/home/home.vue b/pages/cloud_warehouse/home/home.vue index e683262..898423a 100644 --- a/pages/cloud_warehouse/home/home.vue +++ b/pages/cloud_warehouse/home/home.vue @@ -19,7 +19,7 @@ top: calc(82rpx + var(--status-bar-height)); padding: 0rpx 20rpx; background-color: #fff; - transition: height .7s; + transition: height .5s; overflow: hidden; margin-bottom: 20rpx; diff --git a/pages/cloud_warehouse/market/market.vue b/pages/cloud_warehouse/market/market.vue index 6d3c7a4..dfcbc1d 100644 --- a/pages/cloud_warehouse/market/market.vue +++ b/pages/cloud_warehouse/market/market.vue @@ -25,7 +25,6 @@ background-color: #fff; transition: height .7s; overflow: hidden; - margin-bottom: 20rpx; .wholeSale-nav { display: flex; @@ -448,13 +447,13 @@ this.storeMerchantList(); }, onReachBottom() { - this.storeMerchantList(); + // this.storeMerchantList(); }, onPageScroll() { uni.$emit('scroll'); }, onPullDownRefresh() { - this.storeMerchantList(true); + // this.storeMerchantList(true); }, methods: { scrolltoupper() { @@ -466,6 +465,8 @@ }, onScroll(e) { + console.log(e); + if (this.scrollTop >= e.target.scrollTop) { //上拉 this.wrapHeight = 300; } else {