84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
开发微信页面的时候,使用了html锚点用来在同一个页面中定位,发现在苹果手机微信浏览器打开后,点击菜单锚点定位,滑动页面可以看到运行了多个页面(每次点击锚点定位会多出一个页面),请问下这是怎么回事?而且在初次打开页面点击最后2个菜单的时候会闪屏一下,是不是和上面说的问题有关系?
认证0级讲师
If you draw points for positioning, it is recommended that you use JS to implement these functions.
If you use href, you should prevent the default click event, otherwise it will jump in safari
href
Add <a></a> in the
<a></a>
target="_blank"
If you draw points for positioning, it is recommended that you use JS to implement these functions.
If you use
href
, you should prevent the default click event, otherwise it will jump in safariAdd
tag of html<a></a>
in the