版权声明: https://blog.csdn.net/weixin_41716049/article/details/84067165
.img-banner{
width:100%;
}
<button class="button" catchtap="handleClicks"><image class="img-banner" src="{{logo}}" mode="widthFix" > </image></button>
记得设置这个额模式=“widthFix”
小程序地图导航,显示天气源码 https://github.com/zzwwjjdj319/miniProgramAmap
信微小程序猜拳小游戏源码https://gitee.com/sccqcd/wechat_applet_weather_map
微信小程序机票查询源码:https://gitee.com/sccqcd/ticket_inquiries