You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
673 B
36 lines
673 B
<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>
|
|
|