The picture will be enlarged when the tap event is added to Wechat's browser to jump.

<div class="wrapper">
    <img src="/images/download/logo.png" class="logo">
    <img src="/images/download/appstore.png" class="appstore">
    <img src="/images/download/android.png" class="android">
</div>

$(".appstore").on("tap",function(){
    window.location.href = "https://www.baidu.com";
})


$(".android").on("tap",function(){
    window.location.href = "https://www.baidu.com";
})

when Wechat opens the page in his browser and clicks on .appstore and .Android, he sometimes zooms in on these two pictures and then jumps to the link
I hope not to enlarge the image. How to solve this

Mar.06,2021

the bug (feature) of Wechat browser kernel on Android in the past two weeks shows that the picture will be enlarged in full screen when you click on the picture. Under normal circumstances, you should call the jsSDK provided by Wechat to have this effect

solution

the default behavior of blocking clicks on pictures. Yes, in the current Android Wechat, clicking on pictures to enlarge the full screen has become its default behavior
We can write an event agent to block:

  

add a transparent div to the picture

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4bec9-43de9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4bec9-43de9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?