From 3cef4b0594e76718aad4dd756acf062f2df63d5b Mon Sep 17 00:00:00 2001 From: THK3121 Date: Mon, 29 May 2023 10:26:20 +0800 Subject: [PATCH] 1 --- pages/columnGoods/goods_search_con/index.vue | 8 ++++++++ pages/order_pay_status/index.vue | 2 +- pages/plantGrass/plant_user_attention/index.vue | 1 + pages/product/addGoods/index.vue | 4 ++-- pages/short_video/nvueSwiper/index.nvue | 11 ++++++++++- pages/supply_chains/supply_chains.vue | 8 ++++---- pages/users/user_grade/index.vue | 1 + project.config.json | 7 ++++--- project.private.config.json | 6 +++++- 9 files changed, 36 insertions(+), 12 deletions(-) diff --git a/pages/columnGoods/goods_search_con/index.vue b/pages/columnGoods/goods_search_con/index.vue index b6cf77d..43ec03c 100644 --- a/pages/columnGoods/goods_search_con/index.vue +++ b/pages/columnGoods/goods_search_con/index.vue @@ -734,9 +734,17 @@ that.hotPage, that.hotLimit, ).then(res => { + console.log(res); that.hotPage++ that.hotScroll = res.data.list.length < that.hotLimit that.hostProduct = that.hostProduct.concat(res.data.list) + if(that.hostProduct.length == res.data.count){ + uni.showToast({ + title: '推荐商品,加载完毕', + duration: 2000, // 显示时长,单位为毫秒 + icon: 'success' // 提示图标,可选值:success / loading / none + }) + } }); }, //点击事件处理 diff --git a/pages/order_pay_status/index.vue b/pages/order_pay_status/index.vue index fd32617..af9c930 100644 --- a/pages/order_pay_status/index.vue +++ b/pages/order_pay_status/index.vue @@ -186,7 +186,7 @@ */ goIndex: function(e) { uni.switchTab({ - url: '/pages/home/index' + url: '/pages/index/index' }); }, // 去参团页面; diff --git a/pages/plantGrass/plant_user_attention/index.vue b/pages/plantGrass/plant_user_attention/index.vue index a52ff36..ff43f86 100644 --- a/pages/plantGrass/plant_user_attention/index.vue +++ b/pages/plantGrass/plant_user_attention/index.vue @@ -80,6 +80,7 @@ this.$util.Tips({ title: res.message }); + this.getList() }); }, goHomepage(item){ diff --git a/pages/product/addGoods/index.vue b/pages/product/addGoods/index.vue index 361acc2..b4467c4 100644 --- a/pages/product/addGoods/index.vue +++ b/pages/product/addGoods/index.vue @@ -151,7 +151,7 @@ - + 送货方式 - + 是否包邮 diff --git a/pages/short_video/nvueSwiper/index.nvue b/pages/short_video/nvueSwiper/index.nvue index 2f3b8fb..5882b93 100644 --- a/pages/short_video/nvueSwiper/index.nvue +++ b/pages/short_video/nvueSwiper/index.nvue @@ -693,6 +693,7 @@ is_star: that.isSatrt, community_id: that.videoID }).then(res => { + console.log(res); that.videoData(res.data.list) }).catch(err => { return uni.showToast({ @@ -723,8 +724,16 @@ page: that.page, limit: that.limit, }).then(res => { + console.log(res); that.loadVideo = false - that.videoData(res.data.list) + const arr=[] + res.data.list.forEach(item=>{ + if(item.is_type == '2'){ + return arr.push(item) + } + }) + this.limit=arr.length + that.videoData(arr) }).catch(err => { return uni.showToast({ title: err, diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index b3cf378..b19d098 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -1,7 +1,7 @@