The click range of the page is misplaced in ipad

after the project is opened in ipad, it is found that the effective position of the click button is different from the display position. ~
for example, when you click the login button, you have to click about the location above to trigger the login event, but there is no problem on the mobile side and pc. Do you know what the problem is?

clipboard.png

this is my adaptation code

var phoneWidth = parseInt(window.screen.width);
    var phoneScale = phoneWidth / 640;
    var ua = navigator.userAgent;
    if (/OKchexian/.test(ua) || /MicroMessenger/.test(ua)) {
      if (/Android (\d+\.\d+)/.test(ua)) {
        var version = parseFloat(RegExp.$1);

        var chromeVersion = 0;
        if (/Chrome\/(\d+\.\d+)/.test(ua)) {
          chromeVersion = parseFloat(RegExp.$1);
        }
        // andriod 2.3
        if (version > 2.3 && chromeVersion < 40.0) {
          document.write("<meta name="viewport" content="width=640, minimum-scale = " + phoneScale + ", maximum-scale = " + phoneScale + ", target-densitydpi=device-dpi">");
          // andriod 2.3
        }
        else {
          document.write("<meta name="viewport" content="width=640, target-densitydpi=device-dpi">");
        }
        // 
      } else {
        document.write("<meta name="viewport" content="width=640, user-scalable=no,target-densitydpi=device-dpi">");
      }
    } else {
      document.write("<meta name="viewport" content="width=640, minimum-scale = " + phoneScale + ", maximum-scale = " + phoneScale + ", target-densitydpi=device-dpi">");
    }
Mar.04,2021
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-1b35063-2bf54.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-1b35063-2bf54.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?