优化订单,组件页面下拉刷新,修改评论bug

This commit is contained in:
lemon橪
2021-09-27 19:58:18 +08:00
parent cebde87682
commit 3b9b2e8ba2
6 changed files with 42 additions and 30 deletions

View File

@@ -135,22 +135,23 @@ export default {
*/
async onLoad(options) {
this.storeId = options.id;
this.goodsParams.storeId = options.id;
this.couponParams.storeId = options.id;
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
},
onPullDownRefresh() {
this.init();
this.init();
},
mounted() {
// #ifdef MP-WEIXIN
// #ifdef MP-WEIXIN
// 小程序默认分享
uni.showShareMenu({ withShareTicket: true });
// #endif
this.init();
},
// 下拉加载
onReachBottom() {
this.goodsParams.pageNumber++;