Skip to content

Commit cda292d

Browse files
dongsuoPanJiaChen
authored andcommitted
fix blocked by AdBlock
1 parent 877b73c commit cda292d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/BackToTop/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<transition :name="transitionName">
3-
<div class="back-to-top" @click="backToTop" v-show="visible" :style="customStyle">
3+
<div class="back-to-ceiling" @click="backToTop" v-show="visible" :style="customStyle">
44
<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;">
55
<title>回到顶部</title>
66
<g>
@@ -82,14 +82,14 @@ export default {
8282
</script>
8383

8484
<style scoped>
85-
.back-to-top {
85+
.back-to-ceiling {
8686
position: fixed;
8787
display: inline-block;
8888
text-align: center;
8989
cursor: pointer;
9090
}
9191
92-
.back-to-top:hover {
92+
.back-to-ceiling:hover {
9393
background: #d5dbe7;
9494
}
9595
@@ -103,7 +103,7 @@ export default {
103103
opacity: 0
104104
}
105105
106-
.back-to-top .Icon {
106+
.back-to-ceiling .Icon {
107107
fill: #9aaabf;
108108
background: none;
109109
}

0 commit comments

Comments
 (0)