<template>
    <div class="theme-wrap">
        <card-title> <span>收费员消息</span></card-title>
        <div class="theme-body">
            <account-num :totalnum="total">
                <span>应签到</span>
            </account-num>
            <ul class="theme-container">
                <li class="roadside">
                    <p>{{tollsign|filterTotal}}</p>
                    <p>已签到</p>
                </li>
                <li class="roadclose">
                    <p>{{tollnosign|filterTotal}}</p>
                    <p>未签到</p>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
import CardTitle from './base/CardTitle'
import AccountNum from './base/AccountNum'
export default {
  name: 'VToll',
  components: {
    CardTitle,
    AccountNum
  },
  props:['total','tollsign','tollnosign'],
  data(){
    return{

    }
  }
}
</script>

<style scoped lang="scss">
    .theme-wrap {
        height: 100%;
    }
    .theme-body {
        height: calc(100% - 30px);
        margin-left: 20px;
    }
    .theme-container{
        height: 70%;
        display: flex;
        align-items: center;
        >li{
            flex: 1;
            height: 49px;
            padding-left: 70px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            &:nth-of-type(1){
                p{
                    &:first-child{
                        @include fontStyle(24px);
                        color: $fontBlue;
                    }
                    &:last-child{
                        font-size: 14px;
                    }
                }
            }
            &:nth-of-type(2){
                p{
                    &:first-child{
                        @include fontStyle(24px);
                        color: $fontOrange;
                    }
                    &:last-child{
                        font-size: 14px;
                    }
                }
            }
        }

        .roadside{
            background: url("../images/content/sign.png") no-repeat 0 center;
        }
        .roadclose{
            background: url("../images/content/nosign.png") no-repeat 0 center;
        }
    }

</style>
