<template>
  <!-- 电费充值 -->
  <HeaderNav headerText="电费充值"></HeaderNav>
  <div class="electricity-recharge">
    <div class="electricity-balance">
      <div class="text pf400 fs16 fc1F2937">电费余额(USDT)</div>
      <div class="number pf600 fs26 fc1F2937">1,125,158.00</div>
      <div class="about pf400 fs12 fc6A7187">预估日电费(USDT)</div>
      <div class="balance pf500 fs16 fc1F2937">5,678.00</div>
    </div>
    <div class="card-number">
      <div class="card-text pf500 fs14 fc333333">充值金额</div>
      <div class="number-input">
        <input
          type="text"
          class="input pf400 fs14 fc333333"
          placeholder="请输入充值金额" />
        <div class="all pf500 fs14 fc333333">USDT <span class="fcDF384C">全部</span></div>
      </div>
    </div>
    <div class="use-number pf400 fs12 fc333333">
      可用&nbsp; 215.0508 USDT
      <img src="@/assets/icon/bitcoin/qianbao1.svg" alt="" class="qianbao" />
    </div>
    <div class="conduct-btn pf600 fs14 fcFFFFFF" @click="goComboDetails">立即支付</div>
  </div>
</template>
<script setup>
  import HeaderNav from "../components/HeaderNav.vue";
</script>
<style lang="less" scoped>
  .electricity-recharge {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 48px;
    width: 100%;

    .electricity-balance {
      padding-left: 23px;
      margin-top: 10px;
      width: 345px;
      height: 154px;
      border-radius: 8px;
      border: 1px solid #ebebeb;
      box-sizing: border-box;

      .text {
        margin-top: 18px;
        height: 22px;
        line-height: 22px;
      }

      .number {
        margin-top: 3px;
        height: 44px;
        line-height: 44px;
      }

      .about {
        margin-top: 8px;
        height: 20px;
        line-height: 20px;
      }

      .balance {
        margin-top: 3px;
        height: 24px;
        line-height: 24px;
      }
    }

    .card-number {
      margin-top: 15px;
      width: 345px;

      .number-input {
        position: relative;
        width: 345px;
        height: 45px;

        .input {
          padding-left: 11px;
          width: 100%;
          height: 100%;
          box-sizing: border-box;
          border-radius: 6px;
          border: none;
          outline: none;
          background: #f5f5f5;
        }

        .all {
          position: absolute;
          top: 27px;
          right: 11px;
        }
      }
    }

    .use-number {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      margin-top: 20px;
      width: 345px;
      height: 18px;

      .qianbao {
        margin-left: 8px;
        width: 14px;
        height: 14px;
      }
    }

    .conduct-btn {
      margin-top: 300px;
      width: 311px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      border-radius: 100px;
      background: #df384c;
      letter-spacing: 0.2px;
    }
  }
</style>
