<template>
  <box title="基金涉及费用">
    <div class="cost-box">
      <div class="li">
        <img src="https://webapp-pub.ezijing.com/x-training-new/cost-i1.png" class="icon">
        <div class="right-con">
          <div class="num">
            <input v-model="form.input1" type="text">
            <span>%</span>
          </div>
          <div class="name">托管费</div>
        </div>
      </div>
      <div class="li">
        <img src="https://webapp-pub.ezijing.com/x-training-new/cost-i2.png" class="icon">
        <div class="right-con col-blue">
          <div class="num">
            <input v-model="form.input2" type="text">
            <span>%</span>
          </div>
          <div class="name">管理费</div>
        </div>
      </div>
    </div>
  </box>
</template>

<script>
import Box from './Box.vue'
export default {
  components: { Box },
  data() {
    return {
      form: {
        input1: '',
        input2: ''
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.cost-box{
  display: flex;
  justify-content: center;
  padding-top: 30px;
  .li{
    width: 225px;
    height: 97px;
    background: #FFFFFF;
    box-shadow: 0px 9px 9px 0px rgba(175, 175, 175, 0.27);
    border-radius: 10px;
    display: flex;
    align-items: center;
    .icon{
      width: 53px;
      height: 53px;
      display: block;
      margin-left: 24px;
    }
    .right-con{
      margin-left: 24px;
      &.col-blue{
        .num{
          input{
            color: #47BCDE;
          }
          span{
            color: #47BCDE;
          }
        }
      }
      .num{
        display: flex;
        input{
          outline: none;
          background: none;
          width: 80px;
          font-size: 30px;
          font-weight: bold;
          color: #4EB198;
          line-height: 100%;
          font-weight: bold;
          height: 28px;
          width: 65px;
          text-align: right;
        }
        span{
          font-size: 14px;
          color: #4EB198;
          line-height: 100%;
          margin-top: 12px;
          margin-left: 3px;
        }
      }
      .name{
        font-size: 16px;
        color: #666666;
        line-height: 100%;
        margin-top: 10px;
      }
    }
    &:nth-child(1){
      margin-right: 30px;
    }
  }
}
</style>
