<template>
  <div class="kongbi">
    <div class="apply-mask" @click="emits('kongbi1Close')"></div>
    <div class="apply-content">
      <div class="slide-line"></div>
      <div class="apply-text pf600 fs18 fc121212">大户多空比</div>
      <div class="apply-desc pf500 fs14 fc333333">
        持仓大户的净持仓多头和空头账户数占比，大户指保
        证金余额排名前20%的用户。一个账户记一次。
      </div>
      <div class="computed-way1 pf500 fs14 fc333333">
        多仓账户数比例 <br />
        =持多仓大户数/总持仓大户数
      </div>
      <div class="computed-way1 pf500 fs14 fc333333">
        空仓大户数比例 <br />
        =持空仓大户数/总持仓大户数
      </div>
      <div class="computed-way1 pf500 fs14 fc333333">
        多空账户数比值 <br />
        ＝多仓账户数比例/空仓账户数比例
      </div>
      <div class="sure-btn pf600 fs14 fcFFFFFF" @click="emits('kongbi1Close')">确认</div>
    </div>
  </div>
</template>
<script setup>
  const emits = defineEmits(["kongbi1Close"]);
</script>
<style lang="less" scoped>
  .kongbi {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-height: 100vh;

    .apply-mask {
      position: fixed;
      left: 0;
      top: 0;
      z-index: -1;
      width: 100%;
      min-height: 100vh;
      background: rgba(0, 0, 0, 0.5);
    }

    .apply-content {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      width: 375px;
      height: 390px;
      background: #ffffff;
      border-radius: 24px 24px 0px 0px;

      .slide-line {
        margin-top: 12px;
        width: 32px;
        height: 4px;
        border-radius: 2px;
        opacity: 0.4;
        background: rgba(0, 0, 0, 0.5);
      }

      .apply-text {
        margin-top: 21px;
        width: 345px;
        height: 24px;
        line-height: 24px;
        letter-spacing: 0.2px;
      }

      .apply-desc {
        margin-top: 5px;
        width: 345px;
        line-height: 25px;
        letter-spacing: 0.2px;
      }

      .computed-way1 {
        margin-top: 10px;
        width: 345px;
        line-height: 25px;
        letter-spacing: 0.2px;
      }

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