wxss
.yourImg{ width: 100%; }
wxml(在标签上加一个mode = "widthFix")
<image class="yourImg" src=‘./../images/food/tiantang.png‘ mode="widthFix"></image>
2023-12-02 21:26:52
wxss
.yourImg{ width: 100%; }
wxml(在标签上加一个mode = "widthFix")
<image class="yourImg" src=‘./../images/food/tiantang.png‘ mode="widthFix"></image>