scene.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /* pages/scene/scene.wxss */
  2. page{
  3. width: 100%;
  4. height: 100%;
  5. }
  6. /* 工程名称设置 */
  7. .project{
  8. width: 100%;
  9. height: 8%;
  10. border-bottom: darkgrey solid 1px;
  11. position: relative;
  12. }
  13. .project text{
  14. position: absolute;
  15. left: 5%;
  16. top: 30%;
  17. font-size: calc(100vw * 16/375);
  18. }
  19. .project button{
  20. width: 25%;
  21. height: 70%;
  22. position: absolute;
  23. display: flex;
  24. align-items:center;
  25. justify-content:center;
  26. left: 40%;
  27. top: 15%;
  28. background-color: cornflowerblue;
  29. color: white;
  30. font-size: calc(100vw * 14/375);
  31. }
  32. .project button:active{
  33. box-shadow:
  34. 7px 6px 28px 1px;
  35. transform: translateY(4px);
  36. }
  37. .project image{
  38. position: absolute;
  39. right: calc(100vw * 15/375);
  40. top:20%;
  41. width: calc(100vw * 30/375);
  42. height: calc(100vw * 30/375);
  43. }
  44. .engin{
  45. width: 100%;
  46. height: 68%;
  47. }
  48. /* 工程选项 */
  49. .engineering{
  50. background-color: cornflowerblue;
  51. width: 100%;
  52. height: 10%;
  53. display: flex;
  54. flex-direction: row;
  55. margin-top: 0.5%;
  56. position: relative;
  57. }
  58. .engineering text{
  59. font-size: calc(100vw * 18/375);
  60. position: absolute;
  61. left: 5%;
  62. top: 20%;
  63. }
  64. .engineering-image-1{
  65. width: 4.5%;
  66. height: 65%;
  67. position: absolute;
  68. right: 33%;
  69. top: 15%;
  70. }
  71. /* 扫码 */
  72. .qrcode{
  73. width: calc(100vw * 24/375);
  74. height: calc(100vw * 24/375);
  75. position: absolute;
  76. right: 22%;
  77. top:15%;
  78. }
  79. /* 展开设备 */
  80. .develop{
  81. width: 7%;
  82. height: 50%;
  83. position: absolute;
  84. right: 10%;
  85. top:20%;
  86. }
  87. .develops{
  88. width: 100%;
  89. height: 9%;
  90. margin-top:1%;
  91. position: relative;
  92. }
  93. .develops image{
  94. width: calc(100vw * 25/375);
  95. height: calc(100vw * 25/375);
  96. position: absolute;
  97. top: 10%;
  98. }
  99. .develops-1{
  100. position: absolute;
  101. width: 30%;
  102. height: 50%;
  103. left: 2%;
  104. top: 15%;
  105. font-size: calc(100vw * 14/375);
  106. overflow: hidden;
  107. }
  108. .develops-2{
  109. position: absolute;
  110. width: 30%;
  111. height: 50%;
  112. overflow: hidden;
  113. left: 35%;
  114. top: 15%;
  115. font-size: calc(100vw * 14/375);
  116. }
  117. .develops-3{
  118. position: absolute;
  119. left: 70%;
  120. top: 15%;
  121. color: red;
  122. font-size: calc(100vw * 16/375);
  123. }
  124. .engineering-image-2{
  125. width: 4%;
  126. height: 65%;
  127. position: absolute;
  128. right: 2%;
  129. top: 15%;
  130. }