@@ -141,13 +205,12 @@ onMounted(() => {
-
+
@@ -159,9 +222,9 @@ onMounted(() => {
-
+
+
+
+
diff --git a/src/components/home/ProjectIntroModule.vue b/src/components/home/ProjectIntroModule.vue
index f750e3a..b171eb3 100644
--- a/src/components/home/ProjectIntroModule.vue
+++ b/src/components/home/ProjectIntroModule.vue
@@ -3,12 +3,15 @@ import { useI18n } from 'vue-i18n';
import { useSummary } from '@/utils/config';
import { ref, onMounted } from 'vue';
import { Icon } from '@iconify/vue';
+import { useConfig } from '@/utils/config';
+
+const { getConfigImage } = useConfig();
const { t } = useI18n();
const { getSummaryDescription } = useSummary();
// 视频引用
-const videoRef = ref
(null);
+const videoRef = ref(null);
const isPlaying = ref(false);
const isMuted = ref(false);
@@ -50,7 +53,7 @@ onMounted(() => {
if (playPromise !== undefined) {
playPromise.then(() => {
isPlaying.value = true;
- }).catch((error: Error) => {
+ }).catch(error => {
console.log('自动播放失败:', error);
isPlaying.value = false;
});
@@ -60,7 +63,7 @@ onMounted(() => {
-
+
diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue
index 1f7b861..833d04a 100644
--- a/src/components/layout/NavBar.vue
+++ b/src/components/layout/NavBar.vue
@@ -51,7 +51,7 @@ const emit = defineEmits(['changeLanguage']);
-
+
@@ -120,6 +120,15 @@ const emit = defineEmits(['changeLanguage']);
{{ t('nav.contact') }}
+
+
+ 动画演示
+
+