fix: 优化

This commit is contained in:
osiris
2023-12-12 11:05:55 +08:00
parent 19bf468fb5
commit c8f6ec1d5d
3 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -56,8 +56,8 @@ onMounted(() => {
<header class="">
<nav class="h-28 w-full leading-10 flex flex-col justify-between pt-2 pb-2 c-xs:h-16 c-xs:border-b-[1px]">
<el-row>
<el-col :lg="4" :sm="1"></el-col>
<el-col :lg="16" :sm="22">
<el-col :xl="4" :lg="3" :sm="1"></el-col>
<el-col :xl="16" :lg="18" :sm="22">
<div class="flex items-center justify-between">
<!-- left -->
<router-link class="ml-4 flex flex-row" to="/">
@@ -162,7 +162,7 @@ onMounted(() => {
</el-col>
</el-row>
</el-col>
<el-col :lg="4" :sm="1" class="flex"></el-col>
<el-col :xl="4" :lg="3" :sm="1" class="flex"></el-col>
</el-row>
</nav>
</header>
+2 -1
View File
@@ -61,7 +61,8 @@ onMounted(() => {
<div class="mt-3" v-if="info.advShow == 'true'">
<el-carousel
height="130px"
:autoplay="false"
:autoplay="true"
:interval="5000"
>
<el-carousel-item v-for="(item, index) in info.advList" :key="index" @click="clickCarousel(item.url)">
<el-image :src="item.img" fit="fill" class="h-full w-full"></el-image>