<template>
  <div class="word_gist_skeleton">
    <div class="top"></div>
    <div class="middle middle_one">
      <div class="item"></div>
      <div class="item"></div>
    </div>
    <div class="middle middle_two">
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
    </div>
    <div class="middle middle_three">
      <div class="left"></div>
      <div class="right"></div>
    </div>
    <div class="middle middle_four">
      <div class="left"></div>
      <div class="right"></div>
    </div>
    <hr />
    <div class="select_box">
      <div class="item active"></div>
      <div class="item"></div>
      <div class="item"></div>
    </div>
  </div>
</template>

<script setup>
const OSS_URL = import.meta.env.VITE_OSS_URL
const bg = `url(${OSS_URL}/urm/dictionaries_box.svg)`
</script>
<style lang="scss" scoped>
.word_gist_skeleton {
  padding: 15vh 128px 0;
  box-sizing: border-box;
  width: 144vh;
  height: 100vh;
  margin: 0 auto;
  // background-image: url('~@/static/unity/dictionaries_box.png');
  background-image: v-bind(bg);
  background-repeat: no-repeat;
  background-size: contain;
  .top {
    width: 214px;
    height: 8.33vh;
    border-radius: 0.83vh;
    background: #fffbc2;
    @include animation(animation-fff999, #fff999);
  }
  .middle {
    display: flex;
    margin: 3.08vh 0;
    & > div {
      margin-right: 24px;
    }
    .item {
      width: 112px;
      height: 3.17vh;
      border-radius: 0.83vh 0 0 0;
      background-color: #fffbc2;
      border-radius: 0.83vh;
      @include animation(animation-fff999, #fff999);
    }
    .left {
      width: 56px;
      height: 4vh;
      gap: 10px;
      border-radius: 0.83vh;
      background-color: #faf0d7;
      @include animation(animation-faebc6, #faebc6);
    }
    .right {
      border-radius: 0.83vh;
      background-color: #fffbc2;
      width: 619px;
      height: 4vh;
      @include animation(animation-fff999, #fff999);
    }
  }
  .middle_three {
    .right {
      height: 8vh;
      width: 946px;
    }
  }
  hr {
    border: none;
    border-top: 0.08vh solid #8390fa;
  }
  .select_box {
    width: 960px;
    height: 5.33vh;
    border-radius: 3.08vh;
    display: flex;
    align-items: center;
    margin: 5.33vh auto 0;
    background-color: #fff78c;
    @include animation(animation-FFF240, #fff240);

    .active {
      width: 320px;
      height: 5.33vh;
      border-radius: 3.08vh;
      background-color: #ffe64b;
      box-shadow: 0.17vh 0.17vh 0.42vh rgba(0, 0, 0, 0.2);
    }
  }
}
</style>
