ZhaoJing il y a 2 ans
Parent
commit
f0ac0dcf3f
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      src/pages/_home/index.vue

+ 5 - 2
src/pages/_home/index.vue

@@ -141,8 +141,8 @@ function routerLink() {
       </template>
     </van-grid>
   <div class="px-4 flex w-full notice">
-    <div class="w-40"> 
-      <img class="w-20" src="../../assets/images/-s-6.png" alt="">
+    <div class="w-40 h-full"> 
+      <img class="w-19 mt-5.4" src="../../assets/images/-s-6.png" alt="">
     </div>
     <div class="text truncate cursor-pointer" @click="routerLink">
       {{notice.name}}
@@ -205,6 +205,9 @@ function routerLink() {
     background-color: #fff;
     border-top: 1.19px solid #D8E2F0;
     border-bottom: 1.19px solid #D8E2F0;
+    img{
+      line-height: 60px;
+    }
     .text{
       height: 60px;
       line-height: 65px;