|
|
@ -12,8 +12,8 @@ |
|
|
|
<view class="selectBox flex-around" v-else @click="changeSelect(goodItem)"> |
|
|
|
<img src="https://static.ticket.sz-trip.com/cgc/images/order/dui.png" /> |
|
|
|
</view> |
|
|
|
<image :src="showImg(goodItem.specUrl)" mode="aspectFill" |
|
|
|
@click="goDetails(goodItem.goodsId)"></image> |
|
|
|
<image :src="showImg(goodItem.specUrl)" mode="aspectFill" @click="goDetails(goodItem.goodsId)"> |
|
|
|
</image> |
|
|
|
<view class="contentBox"> |
|
|
|
<view class="title text-overflow">{{ goodItem.goodsName }}</view> |
|
|
|
<view class="subTitle text-overflow">{{ |
|
|
@ -154,7 +154,7 @@ |
|
|
|
cartId: item.id, |
|
|
|
quantity: item.quantity, |
|
|
|
}, |
|
|
|
"/framework/cart/updateQuantity","DES" |
|
|
|
"/framework/cart/updateQuantity", "DES" |
|
|
|
) |
|
|
|
.then(function(res) { |
|
|
|
if (res) { |
|
|
@ -185,7 +185,7 @@ |
|
|
|
// 去购物 |
|
|
|
goShopping() { |
|
|
|
uni.switchTab({ |
|
|
|
url: "/pages/index/timeShopBank", |
|
|
|
url: "/pages/index/index", |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 改变所有选中 |
|
|
@ -209,9 +209,9 @@ |
|
|
|
if (res.confirm) { |
|
|
|
this.Post({ |
|
|
|
s_id: id, |
|
|
|
method: 'delete' |
|
|
|
}, |
|
|
|
`/framework/cart/remove/${id}`, |
|
|
|
|
|
|
|
"DES" |
|
|
|
) |
|
|
|
.then((res) => { |
|
|
@ -247,8 +247,9 @@ |
|
|
|
}); |
|
|
|
this.Post({ |
|
|
|
s_id: ids.toString(), |
|
|
|
method: 'delete' |
|
|
|
}, |
|
|
|
"/api/shopping/delShopping", |
|
|
|
`/framework/cart/remove/${ids.toString()}`, |
|
|
|
"DES" |
|
|
|
) |
|
|
|
.then((res) => { |
|
|
@ -297,7 +298,7 @@ |
|
|
|
if (res.confirm) { |
|
|
|
this.Post({ |
|
|
|
s_id: ids.toString(), |
|
|
|
method:'delete' |
|
|
|
method: 'delete' |
|
|
|
}, |
|
|
|
`/framework/cart/remove/${ids.toString()}`, |
|
|
|
"DES" |
|
|
|