[fix] backtop
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
section
|
section
|
||||||
|
el-backtop(target='body')
|
||||||
a(href='#totop')
|
|
||||||
el-button.top.d-block.d-sm-none(icon='el-icon-top' circle type='primary' plain)
|
|
||||||
a.totop(name='totop')
|
|
||||||
//- el-backtop(target='#home')
|
//- el-backtop(target='#home')
|
||||||
client-only
|
client-only
|
||||||
Calendar
|
Calendar
|
||||||
@@ -60,19 +57,5 @@ section {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 1500px;
|
max-width: 1500px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
.top {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 10px;
|
|
||||||
right: 10px;
|
|
||||||
z-index: 1;
|
|
||||||
opacity: 0.7;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.totop {
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user