lendTotleCard.vue 1.72 KB
<template>
  <v-card id="LendTotleCard" flat height="11rem">
    <v-card-title id="borrowTotleBlock" >
      <div class="titleBlock">借出总额(元)</div>
      <div class="numberBlock">100000.00</div>
    </v-card-title>
    <v-card-title id="interestBlock" >
      <div class="halfBlock">
        <div class="titleBlock">总利息</div>
        <div class="numberBlock">100000.00</div>
      </div>
      <div class="halfBlock">
        <div class="titleBlock">借入次数</div>
        <div class="numberBlock">100000.00</div>
      </div>
    </v-card-title>
  </v-card>
</template>

<script>
export default {
  
}
</script>

<style lang="scss" scoped>
  #LendTotleCard {
    width: 92vw;
    margin-top: 0.8rem;
    background-image: linear-gradient(0deg, #3A424A 0%, #3A424A 100%);
    border-radius: 2px;

    .card__actions {
      position: relative;
      padding: 0;

      .refresh-btn {
        color: $gold;
        min-width: 1.7rem;
        height: 1.7rem;
        width: 1.7rem;
        font-size: 1.6rem;
        position: absolute;
        right: 0.4rem;
        top: 0.6rem;
      }
    }
    .titleBlock {
      font-size: 18px;
      height: 18px;
      text-align: center;
      font-weight: bold;
    }
    .numberBlock {
      font-size: 18px;
      height: 18px;
      text-align: center;
      margin-top: 0.5rem;            
      color: $gold;
    }
    #borrowTotleBlock {
      text-align: center;
      padding: 0;
      margin-top: 2.2rem;
      
      div {
        width: 100%;
       
      }
    }
    #interestBlock {
      padding-top: 1.4rem;
      padding-bottom: 0.7rem;
      .halfBlock {
        width: 50%;
      }
    }
  }
</style>