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.
41 lines
729 B
41 lines
729 B
<template> |
|
<div id="app"> |
|
<transition name="fade"> |
|
<!-- <router-link to="/"></router-link> --> |
|
<router-view /> |
|
</transition> |
|
</div> |
|
</template> |
|
<script> |
|
</script> |
|
<style lang="less"> |
|
::-webkit-scrollbar { |
|
-webkit-appearance: none; |
|
width: 6px; |
|
height: 6px; |
|
} |
|
::-webkit-scrollbar-track { |
|
background: rgba(0, 0, 0, 0.1); |
|
border-radius: 0; |
|
} |
|
::-webkit-scrollbar-thumb { |
|
cursor: pointer; |
|
border-radius: 5px; |
|
background: rgba(0, 0, 0, 0.15); |
|
transition: color 0.2s ease; |
|
} |
|
::-webkit-scrollbar-thumb:hover { |
|
background: rgba(0, 0, 0, 0.3); |
|
} |
|
|
|
#app { |
|
.fade-enter-active, |
|
.fade-leave-avtive { |
|
transition: opacity 2s; |
|
} |
|
.fade-enter, |
|
.fade-leave-to { |
|
opacity: 0; |
|
} |
|
} |
|
</style>
|
|
|