webgl_rxdz_roam.scss 501 B

12345678910111213141516171819202122232425262728293031
  1. .main-view{
  2. width:100vw;
  3. height:100vh;
  4. overflow: hidden;
  5. }
  6. canvas { width:100vw; height:calc(100vh - 408rem);z-index: 10;}
  7. #mapDiv{
  8. background-color: #fff;
  9. }
  10. page {
  11. -webkit-user-select: none;
  12. user-select: none;
  13. width: 100%;
  14. height:100vh;
  15. overflow-x: hidden;
  16. overflow-y: hidden;
  17. }
  18. /* 生成截屏的画布对象 */
  19. #canvas {
  20. width: 100vw;
  21. z-index: -1;
  22. // position: absolute;
  23. left:0rem;
  24. }
  25. .canvas-view{
  26. position:relative;
  27. }
  28. .lable-view{
  29. position:absolute;
  30. width:100vw;
  31. }