Browse Source

底部间隙的问题

xiaohaizhao 1 năm trước cách đây
mục cha
commit
77926d0bab
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      components/bottomModules/bottom1.vue

+ 8 - 1
components/bottomModules/bottom1.vue

@@ -1,6 +1,6 @@
 <template>
     <view class="box">
-        <image style="width: 100%;height: 100%;"
+        <image class="image"
             src="https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404111712812810046B1fbafed9.png"
             lazy-load="true" mode="aspectFill" />
         <view class="function">
@@ -66,6 +66,13 @@ export default {
     width: 100vw;
     height: 381px;
 
+    .image {
+        width: 100%;
+        height: 100%;
+        display: block;
+        vertical-align: bottom;
+    }
+
     .function {
         position: absolute;
         top: 0;