<template>
  <div class="buy-left">
    <div class="buy-btn pf500 fs14 fcFFFFFF">购买</div>
    <div class="sell-btn pf500 fs14 fc999999">出售</div>
  </div>
  <div class="user-staking margin-top43">
    <div class="user-staking-title pf500 fs14 fc2C3131">我要支付</div>
    <div class="user-staking-number">
      <input
        type="text"
        class="user-staking-number-input pf400 fs26 fc333333"
        placeholder="0" />
      <div class="user-staking-number-coin pf500 fs18 fc1F2937">
        <img src="@/assets/icon/coin/bnb.svg" class="coin" alt="" />BTC
        <img src="@/assets/icon/index/bottom-arrow.svg" class="bottom-arrow" alt="" />
      </div>
    </div>
    <div class="user-staking-line"></div>
    <div class="tips pf400 fs12 fc999999">10 - 5000.000</div>
  </div>
  <div class="user-staking margin-top15">
    <div class="user-staking-title pf500 fs14 fc2C3131">我将收到</div>
    <div class="user-staking-number">
      <input
        type="text"
        class="user-staking-number-input pf400 fs26 fc333333"
        placeholder="0" />
      <div class="user-staking-number-coin pf500 fs18 fc1F2937">
        <img src="@/assets/icon/coin/bnb.svg" class="coin" alt="" />BTC
        <img src="@/assets/icon/index/bottom-arrow.svg" class="bottom-arrow" alt="" />
      </div>
    </div>
    <div class="user-staking-line"></div>
    <div class="tips pf400 fs12 fc999999">1 CNY ≈ 0.1684258 BTC</div>
  </div>
  <div class="buy-sell-btn pf600 fs14 fcFFFFFF">购买</div>
</template>
<script setup></script>
<style lang="less" scoped>
  .buy-left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 13px;
    width: 345px;
    height: 35px;

    .buy-btn {
      width: 85px;
      height: 35px;
      line-height: 35px;
      text-align: center;
      border-radius: 6px;
      background: #45b26b;
    }

    .sell-btn {
      margin-left: 14px;
      width: 85px;
      height: 35px;
      line-height: 35px;
      text-align: center;
      border-radius: 6px;
      background: #f5f5f5;
    }
  }

  .margin-top15 {
    margin-top: 15px;
  }

  .margin-top43 {
    margin-top: 43px;
  }

  .user-staking {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 345px;

    .user-staking-title {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      width: 345px;
      height: 24px;

      img {
        margin-left: 6px;
        width: 13px;
        height: 13px;
      }
    }

    .user-staking-number {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      width: 311px;
      height: 40px;

      .user-staking-number-input {
        width: 191px;
        height: 100%;
        box-sizing: border-box;
        border-radius: 6px;
        border: none;
        outline: none;
      }

      .user-staking-number-coin {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 105px;
        height: 40px;
        border-radius: 30px;
        border: 1px solid #ebebeb;
        box-sizing: border-box;

        .coin {
          margin-left: 8px;
          margin-right: 6px;
          width: 24px;
          height: 24px;
        }

        .bottom-arrow {
          margin-left: 6px;
          width: 12px;
          height: 12px;
        }
      }
    }

    .user-staking-line {
      margin-top: 22px;
      width: 311px;
      height: 1px;
      background: #e2e8f0;
    }

    .tips {
      margin-top: 3px;
      width: 311px;
      height: 24px;
      line-height: 24px;
    }
  }

  .buy-sell-btn {
    margin-top: 50px;
    width: 311px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100px;
    background: #df384c;
  }
</style>
