<template>
  <div class="go-btn" @click="go">
    <p class="text">GO HERE！</p>
    <p class="text">去这里!</p>
  </div>
</template>

<script setup>
const emits = defineEmits(['click'])

function go() {
  emits('click')
}
</script>

<style lang="scss" scoped>
.go-btn {
  padding-top: 30px;
  padding-left: 210px;
  width: 430px;
  height: 140px;
  background: url('../../assets/images/detail/go.png') no-repeat center center;
  background-size: cover;
  align-items: center;
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  .text {
    font-weight: 700;
    font-size: 20px;
    text-align: justify;
    color: #ffffff;
  }
}
</style>
