Forráskód Böngészése

feat: 优化图片显示

carver 1 éve
szülő
commit
f45a30961b

+ 2 - 6
antbuilder/industry/hospitalV2/components/hospital-payment-detail-yibao/index.acss

@@ -100,12 +100,8 @@
     z-index: 1;
     width: 40px;
     height: 40px;
-  }
-
-  .info-icon-img {
-    display: block;
-    width: 100%;
-    height: 100%;
+    background: url('./assets/info-icon.png') center center no-repeat;
+    background-size: 100% 100%;
   }
 
   .bd {

+ 1 - 1
antbuilder/industry/hospitalV2/components/hospital-payment-detail-yibao/index.axml

@@ -8,7 +8,7 @@
           <View class="info-bd">*****医院</View>
         </View>
         <View class="info-icon">
-          <image class="info-icon-img" src="./info-icon.png" alt="" />
+          
         </View>
         <View class="bg"></View>
       </View>