|
|
@@ -45,7 +45,7 @@
|
|
|
<view class="item-right">
|
|
|
<text class="clamp title">{{ item.productInfo.store_name }}</text>
|
|
|
<text class="attr">{{ item.productInfo.attrInfo.suk }}</text>
|
|
|
- <text class="price">¥{{ item.productInfo.price }}</text>
|
|
|
+ <text class="price">¥{{ item.productInfo.attrInfo? item.productInfo.attrInfo.price : item.productInfo.price }}</text>
|
|
|
<view class="munbox flex">
|
|
|
<image src="../../static/img/reduce.png" mode="" @click="reduce(item, index)"></image>
|
|
|
<input type="number" :value="item.cart_num" disabled />
|
|
|
@@ -106,7 +106,7 @@
|
|
|
<view class="item-right">
|
|
|
<text class="clamp title">{{ item.productInfo.store_name }}</text>
|
|
|
<text class="attr">{{ item.productInfo.attrInfo.suk }}</text>
|
|
|
- <text class="price">¥{{ item.productInfo.price }}</text>
|
|
|
+ <text class="price">¥{{ item.productInfo.attrInfo? item.productInfo.attrInfo.price : item.productInfo.price }}</text>
|
|
|
<view class="munbox flex">
|
|
|
<image src="../../static/img/reduce.png" mode="" @click="reduce(item, index)"></image>
|
|
|
<input type="number" :value="item.cart_num" disabled />
|
|
|
@@ -398,7 +398,7 @@ export default {
|
|
|
let checked = true;
|
|
|
list.forEach(item => {
|
|
|
if (item.checked === true) {
|
|
|
- total += item.productInfo.price * item.cart_num;
|
|
|
+ total += item.productInfo.attrInfo.price * item.cart_num;
|
|
|
} else if (checked === true) {
|
|
|
checked = false;
|
|
|
}
|