Browse Source

更新商城

zhuxiuping 2 years ago
parent
commit
4d18b8ae15

+ 1 - 1
packageShang/pages/pay/success.vue

@@ -30,7 +30,7 @@ export default {
 		},
 		//返回首页
 		fanhui(){
-			wx.switchTab({
+			uni.switchTab({
 				url:'pages/home3/home3'
 			})
 		}

+ 1 - 1
packageShang/pages/tabbar/category.vue

@@ -251,7 +251,7 @@
 				this.$api.togoodslist({
 					cid: item.id,
 					level:item.level,
-					keyword:item.name
+					keyword:''//item.name
 				});
 			},
 		},

+ 2 - 2
pages/home3/home3.vue

@@ -363,7 +363,7 @@ export default {
 		this.getResidueCount()
 		this.getBestNews()
 		this.getNews()
-		// this.getGoodsList()
+		this.getGoodsList()
 		setTimeout(() => {
 			uni.stopPullDownRefresh()
 		}, 1000)
@@ -378,7 +378,7 @@ export default {
 		// 获取招商资讯列表
 		this.getNews()
 		// 获取特产列表
-		// this.getGoodsList()
+		this.getGoodsList()
 	},
 	methods: {
 		async getBestNews() {