<template>
  <div class="container">
    <div class="row1">
      <span>{{props.listData.name}}</span>
    </div>
    <div class="row2">
      <div>
        <i class="icon icon-total"></i>
        <span>{{props.listData.sum}}</span>
      </div>
      <div>
        <i class="icon icon-xr"></i>
        <span>{{props.listData.num1}}</span>
      </div>
      <div>
        <i class="icon icon-llc"></i>
        <span>{{props.listData.num3}}</span>
      </div>
      <div>
        <i class="icon icon-slc"></i>
        <span>{{props.listData.num2}}</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ListBoxLdkll',
}
</script>

<script setup>
  
  import { defineProps } from 'vue'

  const props = defineProps(['list-data'])


</script>

<style lang="scss" scoped>
.container {
  box-sizing: border-box;
  padding-right: 16px;
  width: 321px;
  height: 6.85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0.926vh;
  margin-left: 5px;

  .row1 {
    margin-bottom: 1.2vh;
    height: 24px;
    background: url('@/assets/imgs/page_ssky/bg-lundu-line.png') no-repeat;
    background-size: 100% 100%;
    span {
      display: block;
      margin-left: 2px;
      font-size: 18px;
      font-weight: bold;
      font-style: italic;
      color: transparent;
      line-height: 24px;
      background: linear-gradient(0deg, #ACDDFF 0%, #FFFFFF 100%);
      -webkit-background-clip: text;
    }

  }

  .row2 {
    display: flex;
    justify-content: space-between;
    align-items: center;

    &>div {
      display: flex;
      align-items: center;
    }

    span {
      font-size: 16px;
      font-family: BarlowBold;
      color: rgba(255, 234, 0, 1);
    }

    .icon {
      display: inline-block;
      width: 24px;
      height: 24px;
      margin-right: 6px;
    }

    .icon-total {
      background: url('@/assets/imgs/page_ssky/kl-total-s.png') no-repeat;
      background-size: contain;
    }
    .icon-xr {
      background: url('@/assets/imgs/page_ssky/kl-xr-s.png') no-repeat;
      background-size: contain;
    }
    .icon-llc {
      background: url('@/assets/imgs/page_ssky/kl-llc-s.png') no-repeat;
      background-size: contain;
    }
    .icon-slc {
      background: url('@/assets/imgs/page_ssky/kl-slc-s.png') no-repeat;
      background-size: contain;
    }
  }
}
</style>
