LXT-NJ\Admin 1 year ago
parent
commit
4b2e07ef23
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pages/zidingyikan/index.vue

+ 3 - 2
pages/zidingyikan/index.vue

@@ -116,7 +116,7 @@ export default {
 	methods: {
 		jiarufuFun(data){
 			uni.navigateTo({
-				url: "/pages/shopdetail/index",
+				url: "/pages/shopdetail/index?cartId="+data.data.id+'&classId='+data.data.category_id,
 			})
 		},
 		getShp(){
@@ -137,7 +137,8 @@ export default {
 							id: item.shopGoods.id,
 							buy: 0,
 							itemId: 0,
-							price:item.shopGoods.sale_price
+							price:item.shopGoods.sale_price,
+							category_id:item.shopGoods.category_id
 						})
 					})
 				}else{