Browse Source

删除按钮优化

guoqing 1 year ago
parent
commit
3a217e6db2

+ 5 - 0
src/views/placeManage/placeFirefighting/placeFirefightingList.vue

@@ -70,6 +70,7 @@
       :finished="finished"
       finished-text="没有更多了"
       @load="onLoad"
+      style="margin-top:0px"
     >
       <van-swipe-cell v-for="item in list" :key="item">
         <div class="list-item" @click="placeFirefightingInfo(item.id)">
@@ -277,6 +278,7 @@ html {
   .list-item {
     background-color: #fff;
     padding: 10px;
+    padding-top: 0px;
     overflow: hidden;
     border-bottom: 1px solid #f2f2f2;
     .item_top {
@@ -312,5 +314,8 @@ html {
       }
     }
   }
+  .delete-button{
+    height: 100%;
+  }
 }
 </style>

+ 3 - 0
src/views/placeManage/placeTablet/placeTablet.vue

@@ -338,5 +338,8 @@ html {
       }
     }
   }
+  .delete-button{
+    height: 100%;
+  }
 }
 </style>