diff --git a/packages/park/temporaryOrder/index.vue b/packages/park/temporaryOrder/index.vue index 9a967c33..c62d2474 100644 --- a/packages/park/temporaryOrder/index.vue +++ b/packages/park/temporaryOrder/index.vue @@ -68,7 +68,7 @@ - + - - - - - - - {{ currentCity.cityName || '选择城市' }} - + + + + + + {{ currentCity.cityName || '选择城市' }} + - - - - - - - - {{ word }} - + + + + + + + + {{ word }} - - - - - - - - - - 店铺管理 - - - - - - 供应商订单 - - - - - - 物业管理 - - - - - - - - - - - - - - - - - - - - - - - {{ item.title }} - - - - - - - - - - - - - - - + - - - 定位错误 未知区域 - - {{ currentCity.district }}附近 - 一刻钟便利生活圈 - - - - - - - + + + + + + + + + 店铺管理 + + + + + + 供应商订单 + + + + + + 物业管理 + + + + + + + + - - - - - {{ item.title }} - - + + - - - {{ item.title }} - - - + + + + + + + + {{ item.title }} + + + + + + + + + + + + + + + - - - + + + + + + + + {{ item.title }} + + + + + + + {{ item.title }} + + + + + + + + + + - - - - - - {{ item.cate_name }} - - - - - - - - - - - 商品分类 - - - {{ item.cate_name }} + + + + + + {{ item.cate_name }} + + + + + - + + + 商品分类 + + + {{ item.cate_name }} + + + + + @@ -204,7 +206,8 @@ - 点评 @@ -215,12 +218,13 @@ + + 下拉加载后续10条,共计{{ bottomTotal }}条 + - - 下拉加载后续10条,共计{{ bottomTotal }}条 - + @@ -1047,22 +1051,24 @@ export default { this.showDropdown = false; this.$nextTick(() => { - uni.pageScrollTo({ - scrollTop: 1000, - duration: 300 - }); + // 获取mainBox元素并使其滚动到底部 + const mainBox = this.$refs.mainBox; + if (mainBox) { + mainBox.scrollTop = 1000; + } }); }, toggleDropdown() { this.showDropdown = !this.showDropdown; - // 当展开下拉菜单时,页面滑动 + // 当展开下拉菜单时,在mainBox内滑动 if (this.showDropdown) { this.$nextTick(() => { - uni.pageScrollTo({ - scrollTop: 1000, - duration: 300 - }); + // 获取mainBox元素并使其滚动到底部 + const mainBox = this.$refs.mainBox; + if (mainBox) { + mainBox.scrollTop = 1000; + } }) } },