<template>
 <div v-loading="rlossLoading"      style="width: 100%; min-height: 700px">
    <!-- 公式 -->
    <el-row type="flex" justify="center">
        <p class="indexBox" style="font-weight:550;color:rgba(0,0,0,0.6)">Realized Loss = value · (price &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="indexs" >created</span><span style="color:rgba(0,0,0,0.4)">[USD]</span>  - price  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="indexs2">spent</span> &nbsp;<span style="color:rgba(0,0,0,0.4)">[USD]</span>)</p>
       
      </el-row>

      <p class="indexBox2" >(of all spent outputs where price &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="formulaFont">created</span>  > price &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="formulaFont2">spent</span>)</p>

    <el-row>
      <el-col :span="24">      
        <div
          id="rlossBox"
          style="width: 100%; min-height: 700px"
        ></div>
      </el-col>
    </el-row>
    <!-- 公式 -->

      <!-- <div class="formulaBox">
        <p>{{  $t(`home.formula`) }}</p>
        <p>Realized Loss = value . (price <span class="formulaFont">created</span> [USD] - price<span class="formulaFont"> spent </span> [USD])</p>
        <p>(of all spent outputs where price<span class="formulaFont">created</span>  > price <span class="formulaFont">spent</span>)</p>
      </div> -->




  </div>
</template>

<script>
import IndexJs from "../rloss/index"
export default {
  mixins:[IndexJs]
}
</script>

<style lang="scss" scoped>
.formulaBox{
  // outline: 1px solid  red ;
  width: 98.7%;
  padding: 10px 0px;
  margin-bottom: -30px;
  // height: 60px;
  background: #e5e5e5;
  color: rgba(0, 0, 0, 0.7);
  p{
    margin: 0px;
    height: 30px;
    padding: 0px 10px;
  }
  p:nth-of-type(3) {
    margin-left: 130px;
    color: rgba(0, 0, 0, 0.5);
  }
}
  .formulaFont{
    font-size: 12px;
  
  }

  .indexBox{
    // outline: 1px solid red;
    position: relative;
    margin-bottom: 20px;
    .indexs{
      font-size: 12px;
      position: absolute;
      left: 48%;
      top: 10px;
      color: rgba(0, 0, 0, 0.5);
    }
    .indexs2{
      font-size: 12px;
      position: absolute;
      left: 80%;
      top: 10px;
      color: rgba(0, 0, 0, 0.5);

    }
  }
  .indexBox2{
    position: relative;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    // outline: 1px solid red;
    box-sizing: border-box;
    padding-left: 43%;
    margin: 0px;
    position: absolute;
    top: 40px;
    .formulaFont{
      position: absolute;
      left: 84.5%;
      font-size: 12px;
      top: 10px;
    }
    .formulaFont2{
      position: absolute;
      left: 95.5%;
      font-size: 12px;
      top: 10px;

    }

  }

</style>