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.
65 lines
1.1 KiB
65 lines
1.1 KiB
<template>
|
|
<div>
|
|
<router-link to="/text" class="center">
|
|
<span class="text">进入测试系统</span>
|
|
</router-link>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'App',
|
|
data() {
|
|
return {
|
|
activeTab: 'question'
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
div{
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.center{
|
|
width: 300px;
|
|
height: 120px;
|
|
background: linear-gradient(135deg, #667eea 0%, #000000 100%);
|
|
border-radius: 15px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
|
border: 2px solid #2c3e50;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.center:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
|
|
background: linear-gradient(135deg, #764ba2 0%, #000000 100%);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.text {
|
|
color: white;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
|
|
user-select: none;
|
|
}
|
|
</style>
|