Commit f6cb1beb by 高淑倩

modify: 购物车支付

parent b2ec9124
......@@ -214,7 +214,7 @@ wxService.page({
cartListData.filter(item => { // 选中的商品信息
return item.checked
}).map(item => {
skuIds.push(item.skuId)
skuIds.push(item.skuId -0)
})
if (skuIds.length == 0) {
wx.showToast({
......@@ -223,15 +223,15 @@ wxService.page({
})
return false
}
// 去下单页
let parmas = {
specId: skuIds.join(',')
}
wxService
.router('/pages/confirmOrder/confirmOrder')
.search(parmas)
// this.handleGoBuy(skuIds)
// 去下单页 && 参数
// let parmas = {
// specId: skuIds.join(',')
// }
// wxService
// .router('/pages/confirmOrder/confirmOrder')
// .search(parmas)
// 直接调支付
this.handleGoBuy(skuIds)
},
handleGoBuy(parmas) {
// 下单
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment