fix blocked by AdBlock

This commit is contained in:
dongsuo 2017-09-07 10:33:15 +08:00 committed by 花裤衩
parent 877b73cd67
commit cda292dec1

View file

@ -1,6 +1,6 @@
<template> <template>
<transition :name="transitionName"> <transition :name="transitionName">
<div class="back-to-top" @click="backToTop" v-show="visible" :style="customStyle"> <div class="back-to-ceiling" @click="backToTop" v-show="visible" :style="customStyle">
<svg width="16" height="16" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg" class="Icon Icon--backToTopArrow" aria-hidden="true" style="height: 16px; width: 16px;"> <svg width="16" height="16" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg" class="Icon Icon--backToTopArrow" aria-hidden="true" style="height: 16px; width: 16px;">
<title>回到顶部</title> <title>回到顶部</title>
<g> <g>
@ -82,14 +82,14 @@ export default {
</script> </script>
<style scoped> <style scoped>
.back-to-top { .back-to-ceiling {
position: fixed; position: fixed;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
} }
.back-to-top:hover { .back-to-ceiling:hover {
background: #d5dbe7; background: #d5dbe7;
} }
@ -103,7 +103,7 @@ export default {
opacity: 0 opacity: 0
} }
.back-to-top .Icon { .back-to-ceiling .Icon {
fill: #9aaabf; fill: #9aaabf;
background: none; background: none;
} }