| | |
| | | <template> |
| | | <div id="app" class="app app1"> |
| | | <router-view class="scrollbar"></router-view> |
| | | <div id="app" class="app"> |
| | | <router-view class=""></router-view> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | </script> |
| | | |
| | | |
| | | <style> |
| | | @import url("https://www.layuicdn.com/layui/css/layui.css"); |
| | | .app { |
| | | overflow: auto; |
| | | border: none; |
| | | <style lang="less"> |
| | | #app { |
| | | // overflow: auto; |
| | | // border: none; |
| | | } |
| | | |
| | | .scrollbar { |
| | | /* .scrollbar { |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | } */ |
| | | ::-webkit-scrollbar { |
| | | /*滚动条整体样式*/ |
| | | width: 8px; |
| | | height: 8px; |
| | | /*高宽分别对应横竖滚动条的尺寸*/ |
| | | } |
| | | |
| | |
| | | margin-top: 20px; |
| | | margin-bottom: 20px; |
| | | } |
| | | |
| | | a { |
| | | position: relative; |
| | | } |
| | | |
| | | a:hover:after { |
| | | left: 0; |
| | | width: 100%; |
| | | -webkit-transition: width 350ms; |
| | | -moz-transition: width 350ms; |
| | | -ms-transition: width 350ms; |
| | | -o-transition: width 350ms; |
| | | transition: width 350ms; |
| | | } |
| | | |
| | | a:after { |
| | | position: absolute; |
| | | bottom: -0.0625rem; |
| | | left: 100%; |
| | | width: 0; |
| | | border-bottom: 0.0625rem solid #30a9de; |
| | | content: ""; |
| | | -webkit-transition: width 350ms, left 350ms; |
| | | -moz-transition: width 350ms, left 350ms; |
| | | -ms-transition: width 350ms, left 350ms; |
| | | -o-transition: width 350ms, left 350ms; |
| | | transition: width 350ms, left 350ms; |
| | | } |
| | | .fade-enter-active, |
| | | .fade-leave-active { |
| | | transition: opacity .5s; |
| | | } |
| | | |
| | | .fade-enter, |
| | | .fade-leave-to { |
| | | opacity: 0; |
| | | } |
| | | </style> |