内容去冗余,开发咨询模块样式优化

This commit is contained in:
WindowBird 2025-11-04 09:35:12 +08:00
parent 9b67af6323
commit 81e9a09050
3 changed files with 2 additions and 18 deletions

View File

@ -131,7 +131,7 @@ onMounted(() => {
:key="category.name"
:data-wow-delay="`${300 + index * 200}ms`"
:style="`visibility: visible; animation-delay: ${300 + index * 200}ms; animation-name: fadeInDown;`"
class="wow fadeInDown animated active mb-8 lg:mb-12">
class="wow fadeInDown animated active ">
<!-- 分类标题 -->
<div class="flex items-center justify-between mb-5">
@ -179,7 +179,7 @@ onMounted(() => {
</div>
<!-- 查看全部链接 -->
<div v-if="!loading && !error && newsData.length > 0" class="text-center mt-8 mb-4">
<div v-if="!loading && !error && newsData.length > 0" class="text-center mt-0 mb-4">
<a
href="/article"
class="inline-block px-6 py-3 bg-blue-600 hover:bg-blue-700 text-white text-base font-medium rounded-lg transition-all duration-150 ease-in-out no-underline hover:shadow-lg"

View File

@ -58,15 +58,6 @@ const fetchArticles = async () => {
}
}
//
watch(page, () => {
fetchArticles()
//
window.scrollTo({ top: 0, behavior: 'smooth' })
})
//
watch(() => route.query.code, (newCode, oldCode) => {
// code

View File

@ -28,8 +28,6 @@
</UCarousel>
<img v-else src="/img/banner.png" alt="默认横幅" class="w-full">
<UPageSection :ui="{container:'lg:py-0 lg:px-0' }">
<!-- 服务展示区域 -->
<section aria-label="服务展示" class="mb-16">
<div class="grid grid-cols-1">
@ -147,16 +145,11 @@
</div>
</div>
</section>
</UPageSection>
</main>
<!-- 悬浮置顶按钮组件 -->
<ScrollToTop />
</UPage>
</template>
<script setup lang="ts">
// SEO