webgl_rxdz_clipImg.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. .main-view{
  2. width:100vw;
  3. height:100vh;
  4. overflow: hidden;
  5. }
  6. canvas:focus {
  7. outline:none;
  8. }
  9. #mapDiv{
  10. background-color: #fff;
  11. }
  12. page {
  13. -webkit-user-select: none;
  14. user-select: none;
  15. width: 100%;
  16. height:100vh;
  17. overflow-x: hidden;
  18. overflow-y: hidden;
  19. }
  20. /* 生成截屏的画布对象 */
  21. #canvas {
  22. width: 100vw;
  23. z-index: -1;
  24. // position: absolute;
  25. left:0px;
  26. }
  27. .canvas-view{
  28. position:relative;
  29. }
  30. .guide-mask {
  31. width: 100%;
  32. height: 100%;
  33. top: 0;
  34. left: 0;
  35. right: 0;
  36. bottom: 0;
  37. // background: rgba(0, 0, 0, 0.3);
  38. z-index: 7;
  39. position: fixed;
  40. margin: auto;
  41. pointer-events: none;
  42. transition: opacity 0.5s ease-out;
  43. }
  44. .guide-mask>img {
  45. width: 280px;
  46. height: 406px;
  47. bottom: 200px;
  48. right: 0;
  49. margin: auto;
  50. position: fixed;
  51. left: 0;
  52. }
  53. .guide-mask-hide {
  54. opacity: 0;
  55. pointer-events: none;
  56. }
  57. .cover-box{
  58. position: absolute;
  59. max-width:100vw;
  60. // top:50%;
  61. // left: 50%;
  62. // transform: translate(-50%,-50%);
  63. // width: 620px;
  64. // height: 620px;
  65. background: transparent;
  66. z-index: 10;
  67. pointer-events: none;
  68. padding: 8px;
  69. .box-empty{
  70. // position: absolute;
  71. width: 100%;
  72. height: 100%;
  73. // margin-top: 6px;
  74. // margin-left: 6px;
  75. border: 4px solid #fff;
  76. // box-sizing: content-box;
  77. box-shadow: rgba(0,0,0,.8) 0px 0px 0px 2005px;
  78. }
  79. .boundary{
  80. position: absolute;
  81. width: 20px;
  82. height: 20px;
  83. border: solid 4px #fff;
  84. pointer-events: auto;
  85. z-index: 8;
  86. }
  87. .left-top{
  88. top: 0px;
  89. left: 0px;
  90. border-right: none;
  91. border-bottom: none;
  92. }
  93. .right-top{
  94. top: 0px;
  95. right: 0px;
  96. border-left: none;
  97. border-bottom: none;
  98. }
  99. .left-bottom{
  100. bottom: 0px;
  101. left: 0px;
  102. border-right: none;
  103. border-top: none;
  104. }
  105. .right-bottom{
  106. bottom: 0px;
  107. right: 0px;
  108. border-left: none;
  109. border-top: none;
  110. }
  111. .operate{
  112. position: absolute;
  113. pointer-events: auto;
  114. width: 100px;
  115. height: 100px;
  116. z-index: 9;
  117. }
  118. .operate1{
  119. left: -0px;
  120. top: -0px;
  121. }
  122. .operate2{
  123. right: -0px;
  124. top: -0px;
  125. }
  126. .operate3{
  127. right: -0px;
  128. bottom: -0px;
  129. }
  130. .operate4{
  131. left: -0px;
  132. bottom: -0px;
  133. }
  134. }
  135. .cover-btn{
  136. position: absolute;
  137. left: 50%;
  138. transform: translateX(-50%);
  139. bottom: 132px;
  140. width: 292px;
  141. height: 80px;
  142. border-radius: 40px;
  143. background: #fff;
  144. font-family: "DIN Alternate Bold";
  145. font-weight: 700;
  146. font-size: 32px;
  147. color: #222;
  148. z-index: 11;
  149. }