<template>
  <section class="Label-container">
    <div class="label-item wow animate__animated animate__fadeInDown">
      <img :src="labelProps.imgUrl" alt="">
      <section class="label">{{labelProps.label}}</section>
      <section class="first-desc">{{labelProps.firstText}}</section>
      <section class="secoend-desc">{{labelProps.secoendText}}</section>
    </div>
  </section>
</template>

<script>
if (process.browser) {
  var { WOW } = require("wowjs");
}
export default {
  name: "LabelPage",
  props: {
    labelProps: {
      type: Object,
      required: true,
    },
  },

  mounted() {
    if (process.browser) {
      new WOW({
        offset: 0,
        live: true,
      }).init();
    }
  },
};
</script>
<style scoped lang="scss">
.Label-container {
  margin-top: 106px;
  display: flex;
  justify-content: center;
  .label-item {
    position: relative;
    font-size: 16px;
    font-family: PingFangSC-Regular, sans-serif;
    font-weight: 400;
    color: #666666;
    line-height: 22px;


    img {
      // width: 298px;
      // height: 56px;
      position: absolute;
      transform: translateX(-36%);
    }
    .label {
      height: 65px;
      font-size: 46px;
      font-family: PingFangSC-Semibold, sans-serif;
      font-weight: 600;
      color: #333333;
      line-height: 65px;
      letter-spacing: 1px;
    }
    .first-desc {
      margin-top: 40px;
      margin-bottom: 18px;
      text-align: center;
    }
    .secoend-desc {
      text-align: center;
    }
  }
}
</style>