custom.vue 319 B

123456
  1. <template>
  2. Scroll down to see the bottom-right button.
  3. <el-backtop :bottom="100">
  4. <div style="height: 100%; width: 100%; background-color: var(--el-bg-color-overlay); box-shadow: var(--el-box-shadow-lighter); text-align: center; line-height: 40px; color: #1989fa">UP</div>
  5. </el-backtop>
  6. </template>