<template>
<div class="bottom-jiesuan">
    <div class="js-right">
        <div class="js-right-right">
            <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" >全选</el-checkbox>
            <a href="">删除</a>
            <a href="">移入收藏夹</a>
            <a href="">分享</a>
        </div>
        <div class="js-right-left">
            <p>已选商品<span>{{sumnum}}</span>件</p>
            <p>合计（不含运费）：<span>{{sumprice.toFixed(2)}}</span></p>
        </div>
    </div>
    <div class="js-left">
        <p>结算</p>
    </div>
</div>
          
</template>

<script>
export default {
    name:'bottomjiesuan',
    props:{
        sumnum:Number,
        sumprice:Number
    },
    data(){
        return{
           
        }
    },
     methods: {
    
     }
}
</script>

<style>
.bottom-jiesuan{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0px;
    margin: 0 auto ;
    background-color: #e5e5e5;
    width: 98%;
    height: 40px;
}
.js-right{
     display: flex;
    justify-content:space-between;
    width: 90%;
    padding-left: 10px;
}

.js-right a{
    margin-left: 30px;
    color: black;
}
.js-right a:hover{
    color: #e2231a;
}
.js-right-left{
     display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.js-right-left p{
    margin-left: 20px;
}
.js-right-left span{
    font-size: 18px;
    font-weight: bold;
    color: #e2231a;
    margin: 0 5px;
}
.js-left p{
    /* margin-right: 20px; */
    line-height:18px ;
    font-size: 18px;
    color: white;
    margin: auto 0;
    margin-top: 12px;
    margin-left: 20px;
}
.js-left{
    background-color: #B0B0B0;
    width: 80px;
    height: 40px;
}
</style>