From fb80ff81bc3be95656a38620ca610a303aba1abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Sat, 26 Apr 2025 11:39:17 +0800 Subject: [PATCH] =?UTF-8?q?task=2043078=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sunVillage_info/index_code_rights.vue | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/views/sunVillage_info/index_code_rights.vue b/src/views/sunVillage_info/index_code_rights.vue index 2755b82b..4f15f0ae 100644 --- a/src/views/sunVillage_info/index_code_rights.vue +++ b/src/views/sunVillage_info/index_code_rights.vue @@ -22,7 +22,7 @@ v-for="(childrenItem,childrenIdx) in item.menus" :key="childrenItem.id" :to="{name:childrenItem.menuUrl,query:{type:'code',typeX:childrenItem.urlPara}}" - class="nav_item" + class="nav_item n_13" :style="`background:url(${require('@/assets/images/sunVillage_info/' + childrenItem.menuIcon)}) no-repeat center top;background-size: 50%;`" > {{childrenItem.menuName}} @@ -238,15 +238,15 @@ &:nth-child(3){ margin-right: 0; } - &:nth-child(4n+1){ - margin-top: 15PX; - } - &:nth-child(5n+1){ - margin-top: 15PX; - } - &:nth-child(6n+1){ - margin-top: 15PX; - } + /*&:nth-child(4n+1){*/ + /* margin-top: 15PX;*/ + /*}*/ + /*&:nth-child(5n+1){*/ + /* margin-top: 15PX;*/ + /* }*/ + /*&:nth-child(6n+1){*/ + /* margin-top: 15PX;*/ + /* }*/ &:nth-child(1){ margin-top: 0PX; } @@ -278,6 +278,10 @@ background: url('../../assets/images/sunVillage_info/tcIcon.png') no-repeat center top; background-size: 44.5PX; } + &.n_13 { + background-size: 50%; + margin-bottom: 20PX; + } &.n_77 { background: url('../../assets/images/sunVillage_info/index_block_77.png') no-repeat center top; background-size: 34.5PX;