-
-
- {{ comments }}
-
+
+
-
- {{ title }}
-
-
-
-
{{ config?.IndexAboutInfo }}
-
-
![]()
+
+
{{ config?.IndexAboutInfo }}
+
+
![]()
+
-
+
@@ -33,6 +35,7 @@ const props = withDefaults(
config?: any;
title?: string;
comments?: string;
+ scrollTop: number;
}>(),
{}
);
@@ -41,7 +44,14 @@ const emit = defineEmits<{
(e: 'done'): void;
}>();
-
+const showAboutUs = ref(false)
+watch(
+ () => props.scrollTop,
+ () => {
+ if (props.scrollTop > 700) showAboutUs.value = true
+ },
+ {immediate: true}
+);
// 请求数据
// const reload = async () => {
// const { data: fields } = await useServerRequest
>('/cms/cms-website-field/config', {baseURL: 'https://server.gxwebsoft.com/api',});
@@ -65,6 +75,10 @@ const emit = defineEmits<{
diff --git a/pages/components/CompanyStyle.vue b/pages/components/CompanyStyle.vue
index 7c66d8c..24487a6 100644
--- a/pages/components/CompanyStyle.vue
+++ b/pages/components/CompanyStyle.vue
@@ -10,7 +10,7 @@
{{ title }}