|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-05-03 22:41:15
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-05-12 17:36:08
|
|
|
|
|
* @LastEditTime: 2022-05-12 18:11:55
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -72,19 +72,21 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<BsChosen></BsChosen>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import {ApiGetCartList, ApiDeleteCartGoods, ApiPutCartNum} from '@/plugins/api/cart';
|
|
|
|
|
import {Debounce} from '@/plugins/utils';
|
|
|
|
|
import UIGoodsInfo from '../../components/UIGoodsInfo.vue';
|
|
|
|
|
import UiButton from '../../components/UiButton.vue';
|
|
|
|
|
import UiMoney from '../../components/UiMoney.vue';
|
|
|
|
|
import UiEmpty from '../../components/UiEmpty.vue';
|
|
|
|
|
import UiLoading from '../../components/UiLoading.vue';
|
|
|
|
|
import UIGoodsInfo from '@/components/UIGoodsInfo.vue';
|
|
|
|
|
import UiButton from '@/components/UiButton.vue';
|
|
|
|
|
import UiMoney from '@/components/UiMoney.vue';
|
|
|
|
|
import UiEmpty from '@/components/UiEmpty.vue';
|
|
|
|
|
import UiLoading from '@/components/UiLoading.vue';
|
|
|
|
|
import BsChosen from '@/components/BsChosen.vue';
|
|
|
|
|
export default {
|
|
|
|
|
components: { UIGoodsInfo, UiButton, UiMoney, UiEmpty, UiLoading },
|
|
|
|
|
components: { UIGoodsInfo, UiButton, UiMoney, UiEmpty, UiLoading, BsChosen },
|
|
|
|
|
data(){
|
|
|
|
|
return {
|
|
|
|
|
isLoading : false,
|
|
|
|
@ -104,7 +106,6 @@ export default {
|
|
|
|
|
tempPrice += unitPrice * (item.number || 0)
|
|
|
|
|
});
|
|
|
|
|
return (tempPrice / 100).toFixed(2);
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
// 正常可结算的商品
|
|
|
|
|
normalList(){
|
|
|
|
@ -276,6 +277,7 @@ export default {
|
|
|
|
|
td{
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 40px 0;
|
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.operation{
|
|
|
|
|