diff --git a/components/AppAbout.vue b/components/AppAbout.vue index c71214b..21bd89c 100644 --- a/components/AppAbout.vue +++ b/components/AppAbout.vue @@ -298,7 +298,7 @@ onMounted(() => { padding-left: 30px; cursor: pointer; p{ - margin: 20px 30px ; + margin: 15px 30px ; } } } diff --git a/components/AppAboutdel.vue b/components/AppAboutdel.vue index 42e81d8..87b8974 100644 --- a/components/AppAboutdel.vue +++ b/components/AppAboutdel.vue @@ -10,13 +10,13 @@
-
+
diff --git a/components/AppHeader.vue b/components/AppHeader.vue index ea3e8bb..566cc9e 100644 --- a/components/AppHeader.vue +++ b/components/AppHeader.vue @@ -76,7 +76,7 @@ onUpdated(() => { position: absolute; z-index: 1000; .pc-nav { - margin-left: 70px; + margin-left: 60px; margin-top: 250px; text-align: center; } diff --git a/components/AppHome.vue b/components/AppHome.vue index d2d532f..236bdac 100644 --- a/components/AppHome.vue +++ b/components/AppHome.vue @@ -43,7 +43,7 @@
-
+
@@ -146,6 +146,13 @@ const swiperOptionsimgs = { }, } +const toSearch =() => { + emit('toSwpe',9); + emitter.emit('inputSea', { + keywords:inputSearch.value, + type: 1, + }); +} //跳转详情 const gotoDetail = (id: number) => { detailId.value = { diff --git a/components/AppMessage.vue b/components/AppMessage.vue index dfd2fb0..97689db 100644 --- a/components/AppMessage.vue +++ b/components/AppMessage.vue @@ -13,7 +13,7 @@
-
+
@@ -97,6 +97,13 @@ const getMesList = async () => { total.value = res.data.data.count; MesList.value = res.data.data.list; } +const toSearch =() => { + emit('toSwpe',9); + emitter.emit('inputSea', { + keywords:inputSearch.value, + type: 2, + }); +} //跳转详情 const gotoDetail = (id: number) => { diff --git a/components/AppNews.vue b/components/AppNews.vue index 1d88073..3343860 100644 --- a/components/AppNews.vue +++ b/components/AppNews.vue @@ -13,7 +13,7 @@
-
+
@@ -107,7 +107,14 @@ const gotoDetail = (id: number) => { emit('toSwpe',6) emitter.emit('detailId', detailId.value); } - +//搜索 +const toSearch =() => { + emit('toSwpe',9); + emitter.emit('inputSea', { + keywords:inputSearch.value, + type: 2, + }); +} const getPageList = async () => { page.value = page.value; getMesList(); diff --git a/components/AppNewsdel.vue b/components/AppNewsdel.vue index 69957cf..38210a2 100644 --- a/components/AppNewsdel.vue +++ b/components/AppNewsdel.vue @@ -9,13 +9,13 @@
-
+
@@ -197,10 +197,6 @@ onMounted(() => {