diff --git a/src/components/Bottom.vue b/src/components/Bottom.vue index 2a400b3..36f6db5 100644 --- a/src/components/Bottom.vue +++ b/src/components/Bottom.vue @@ -15,7 +15,7 @@ 在线咨询
-
+
拨打电话
@@ -108,6 +108,9 @@ onMounted(() => { color: #ffffff; } } + .hard { + background: linear-gradient(90deg, #2beec3, #74fddf); + } } } .drag { @@ -117,6 +120,6 @@ onMounted(() => { animation-fill-mode: forwards; } .h_bottom { - background: $hardware-theme; + background: #14e1b4; } diff --git a/src/components/Top.vue b/src/components/Top.vue index 66aa881..e7d3471 100644 --- a/src/components/Top.vue +++ b/src/components/Top.vue @@ -4,7 +4,11 @@ istop && isFirstSwiper ? 'top_container' : 'top_container container_bg' " > - + { } } } +const isHard = ref(false) onMounted(() => { window.addEventListener('scroll', scrollToTop) + if (route.path.indexOf('/hardware') != -1) { + isHard.value = true + } }) const istop = ref(true)