How to understand the problem that the height of window.screen.height will become very high even if you add the height of 1px.

this is the code to get the screen height:

mounted() {
    document.getElementsByClassName("bgColor")[0].style.cssText =
      "width: 100%; height: " +
      window.screen.height +
      "px;z-index: -1; background-color: -sharpf5f5f5";
  }

this is a screenshot full of screenshots. The following balance payment options cannot be pulled down

46px:


46px46pxheight:auto

Css
Mar.17,2021

I don't think you can pull it down. Can you consider setting margin or padding for the element document.getElementsByClassName ("bgColor") [0]? Do you want to go beyond partial scrolling?


(window.screen.height + 46) + "px;z-index:-1; background-color:-sharpf5f5f5";


I don't think it's possible to write this way here

window.screen.height + "46px;z-index: -1; background-color: -sharpf5f5f5";

//
window.screen.height + 46 + "px;z-index: -1; background-color: -sharpf5f5f5";
640 + "46px" = 64046px;
640 + 46 + "px" = "686px";
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-1b3aff0-2c23c.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-1b3aff0-2c23c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?