sign-stream/src/views/signup/index.vue

45 lines
860 B
Vue
Raw Normal View History

2024-01-31 07:42:39 +00:00
<script setup>
2024-01-31 08:18:27 +00:00
import { useRouter } from 'vue-router';
import storage from '@/util/storage.js';
2024-01-31 07:42:39 +00:00
2024-01-31 08:18:27 +00:00
const router = useRouter();
const goRouter=()=>{
storage.setItem('top-title','登录')
router.push('/title-forward/logon')
}
2024-01-31 07:42:39 +00:00
</script>
<template>
<div class="container">
2024-01-31 08:18:27 +00:00
<div class="content1" @click="goRouter">
2024-01-31 07:42:39 +00:00
报名
</div>
</div>
</template>
<style scoped lang="scss">
.container{
2024-02-05 05:10:46 +00:00
box-sizing: border-box;
2024-01-31 07:42:39 +00:00
width: 375px;
background-image: url("@/assets/images/hb.png");
background-size: cover;
2024-02-05 05:10:46 +00:00
height: 100vh;
2024-01-31 07:42:39 +00:00
position: relative;
.content1{
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 85px;
width: 218px;
height: 30px;
border-radius: 15px;
background: #2159C4;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 14px;
}
}
</style>