@@ -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 {
@@ -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 class="bg"></View>