<template>
  <div class="guide">
    <div class="guide__block">
      <div class="guide__block__tt df ai-c">
        <h3 class="fw">跳舞游戏规则</h3>
      </div>
      <div class="guide__block__ct">
        <p class="mt12">
          游戏开始后，游戏界面会从上至下掉落不同指令下来，当不同指令经过对应的判定区时，玩家需要根据不同指令做出对应的脚步动作。
        </p>
        <p class="mt12">
          指令分为单踩与长踩，单踩仅需要在指令经过判定框时做出相应的脚步动作即可，长踩则需要在指令期间内保持住正确的脚步动作不动。
        </p>
      </div>
    </div>
    <div class="guide__block guide__block-last mt12">
      <div class="guide__block__tt df ai-c">
        <h3 class="fw">游戏指令对应脚步动作</h3>
      </div>
      <div class="guide__block__step mt12 df ai-c pd12">
        <img class="foot-homing" src="../assets/guide/foot-homing.png" />
        <div class="df fdc jc-c">
          <h3 class="fw">归位</h3>
          <p class="mt12">
            每次双脚靠近并拢，将重新规划坐标原点与坐标轴，划分出5个指令的对应区域
          </p>
        </div>
      </div>
      <div class="guide__block__step mt12 pr">
        <img src="../assets/guide/step-one.png" class="pa step" />
        <div class="body df fdc ai-c">
          <img
            class="foot-draw-close"
            src="../assets/guide/foot-draw-close.png"
          />
          <p class=" mt12">
            双脚平行并靠拢,在位于如图所示的圆圈范围内,单脚原地踩踏一步
          </p>
          <img class="next mt12" src="../assets/guide/next.png" />
          <p class="mt12 fw">对应游戏指令</p>
          <img class="order mt12" src="../assets/guide/order-middle.png" />
        </div>
      </div>
      <div class="guide__block__step mt12 pr">
        <img src="../assets/guide/step-two.png" class="pa step" />
        <div class="body df fdc ai-c">
          <img class="foot-left-top" src="../assets/guide/foot-left-top.png" />
          <p class=" mt12">左脚朝左上方，即如图所示坐标区域踩踏一步步</p>
          <img class="next mt12" src="../assets/guide/next.png" />
          <p class=" mt12 fw">对应游戏指令</p>
          <img class="order mt12" src="../assets/guide/order-left-top.png" />
        </div>
      </div>
      <div class="guide__block__step mt12 pr">
        <img src="../assets/guide/step-three.png" class="pa step" />
        <div class="body df fdc ai-c">
          <img
            class="foot-left-bottom"
            src="../assets/guide/foot-left-bottom.png"
          />
          <p class=" mt12">左脚朝左下方，即如图所示坐标区域踩踏一步</p>
          <img class="next mt12" src="../assets/guide/next.png" />
          <p class=" mt12 fw">对应游戏指令</p>
          <img class="order mt12" src="../assets/guide/order-left-bottom.png" />
        </div>
      </div>
      <div class="guide__block__step mt12 pr">
        <img src="../assets/guide/step-four.png" class="pa step" />
        <div class="body df fdc ai-c">
          <img
            class="foot-right-top"
            src="../assets/guide/foot-right-top.png"
          />
          <p class=" mt12">右脚朝右上方，即如图所示坐标区域踩踏一步</p>
          <img class="next mt12" src="../assets/guide/next.png" />
          <p class=" mt12 fw">对应游戏指令</p>
          <img class="order mt12" src="../assets/guide/order-right-top.png" />
        </div>
      </div>
      <div class="guide__block__step mt12 pr">
        <img src="../assets/guide/stee-five.png" class="pa step" />
        <div class="body df fdc ai-c">
          <img
            class="foot-right-bottom"
            src="../assets/guide/foot-right-bottom.png"
          />
          <p class=" mt12">右脚朝右下方，即如图所示坐标区域踩踏一步</p>
          <img class="next mt12" src="../assets/guide/next.png" />
          <p class=" mt12 fw">对应游戏指令</p>
          <img
            class="order mt12"
            src="../assets/guide/order-right-bottom.png"
          />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  name: "Guide",
  data() {
    return {
      data: {},
      status: null
    };
  }
};
</script>
<style scoped lang="scss">
.guide {
  width: 100%;
  padding: 10px;
  font-family: "PingFang·SC";
  box-sizing: border-box;
  p {
    font-size: 14px;
    color: #666;
    line-height: 20px;
  }
  .mt12 {
    margin-top: 12px;
  }
  .mt20 {
    margin-top: 20px;
  }
  .pd12 {
    padding: 12px;
  }
  &__block {
    &__tt {
      &::before {
        content: "";
        display: block;
        width: 6px;
        height: 6px;
        border-radius: 6px;
        border-color: #ffc400;
        border-width: 2px;
        border-style: solid;
      }
      h3 {
        margin-left: 6px;
      }
    }

    &__step {
      width: 100%;
      background-color: #f1f1f1;
      border-radius: 10px;
      box-sizing: border-box;

      .body {
        padding: 20px;
      }
      .step {
        width: 40px;
        height: 40px;
      }
      .foot-homing {
        width: 100px;
        height: 100px;
      }
      .foot-draw-close {
        width: 180px;
        height: 180px;
      }
      .foot-left-top {
        width: 180px;
        height: 180px;
      }
      .foot-left-bottom {
        width: 178px;
        height: 180px;
      }
      .foot-right-top {
        width: 178px;
        height: 179px;
      }
      .foot-right-bottom {
        width: 178px;
        height: 180px;
      }
      .next {
        width: 26px;
        height: 28px;
      }
      .order {
        width: 300px;
        height: 46px;
      }
    }
  }
}
</style>
