<template>
  <div class="home_screen_container">
    <h1 class="main_title">
      做铁路相关的设备<span class="sign">研发和制造</span>
    </h1>
    <div class="to_bottom" @click="toNextPage()">
      <svg
        t="1684719940478"
        class="arrow"
        viewBox="0 0 1024 1024"
        version="1.1"
        xmlns="http://www.w3.org/2000/svg"
        p-id="2386"
        width="30"
        height="100"
      >
        <path
          d="M512.726547 675.318646c-8.063653 0-15.790638-3.245927-21.435195-9.006118L231.175103 400.906809c-11.603269-11.837606-11.410887-30.840402 0.427742-42.442648 11.837606-11.601222 30.841426-11.410887 42.442648 0.427742l238.681054 243.534596L751.407602 358.891903c11.601222-11.839653 30.602995-12.033058 42.442648-0.427742 11.839653 11.603269 12.031011 30.605042 0.427742 42.442648L534.161742 666.312528C528.517185 672.072719 520.791224 675.318646 512.726547 675.318646z"
          fill="#ffffff"
          p-id="2387"
        ></path>
      </svg>
    </div>
  </div>
</template>

<script setup>
const toNextPage = () => {
  document.getElementById('about_us').scrollIntoView({
    behavior: 'smooth',
  })
}
</script>

<style lang="scss" scoped>
.home_screen_container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url(../static/img/index/1.png) no-repeat;
  background-size: 100% 100%;
  .main_title {
    font-size: 76px;
    font-family: Alibaba PuHuiTi;
    font-weight: bold;
    color: #f1f1f1;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    .sign {
      color: RGBA(249, 89, 38, 1);
    }
  }
  .to_bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: absolute;
    bottom: 53px;
    left: 50%;
    transform: translateX(-50%);
    .arrow {
      // width: 17px;
      // height: 10px;
    }
  }
}
</style>
