对接数据

This commit is contained in:
2025-10-24 15:45:38 +08:00
parent 672a2f4c90
commit d3375a347f
138 changed files with 16904 additions and 1026 deletions

View File

@ -8,39 +8,59 @@
<Footer></Footer>
<el-backtop target="#default-layout" :visibility-height="500" class="custom-backtop">
<div class="backtop-content">
<img src="/logo/back-top.png" />
<div class="backtop-content" @mousedown="handleMouseDown" @mouseup="handleMouseUp">
<img src="/logo/back-top.png" alt="" />
</div>
</el-backtop>
</div>
</template>
<script>
export default {
export default {
data() {
return {
}
},
methods: {
handleMouseDown() {
const backtopContent = document.querySelector('.backtop-content');
if (backtopContent) {
backtopContent.style.opacity = '0.8';
}
},
handleMouseUp() {
const backtopContent = document.querySelector('.backtop-content');
if (backtopContent) {
backtopContent.style.opacity = '1';
}
}
}
}
</script>
<style lang="scss" scoped>
#default-layout {
position: relative;
@include flex-column;
overflow: auto;
}
#default-layout {
position: relative;
@include flex-column;
overflow: auto;
}
.custom-backtop {
position: fixed;
right: 15% !important;
bottom: 30% !important;
z-index: 999;
transition: transform 0.3s;
.custom-backtop {
position: fixed;
right: 15% !important;
bottom: 30% !important;
z-index: 999;
transition: transform 0.3s;
}
}
.backtop-content {
transition: opacity 0.2s ease-in-out;
}
#home-container {
width: 100%;
// min-height: 100vh;
#home-container {
width: 100%;
// min-height: 100vh;
background-color: $background-color;
}
background-color: $background-color;
}
</style>