style.scss 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. $base_fontSize: 100;
  2. @function rem($px) {
  3. @return $px / $base_fontSize * 1rem;
  4. }
  5. .nav-wrap {
  6. width: 100%;
  7. height: 100%;
  8. background: linear-gradient(0deg, #000000 0%, #132037 100%);
  9. overflow: hidden;
  10. position: relative;
  11. .top {
  12. position: relative;
  13. z-index: 101;
  14. padding-top: rem(67);
  15. .lfet-right {
  16. padding: 0 rem(100) 0 rem(100);
  17. display: flex;
  18. justify-content: space-between;
  19. text-align: center;
  20. position: relative;
  21. top: rem(-25);
  22. .tenantName {
  23. color: RGBA(254, 254, 254, 1);
  24. padding: 0 rem(20);
  25. height: rem(49);
  26. line-height: rem(49);
  27. font-size: rem(20);
  28. box-sizing: border-box;
  29. border: 1px solid RGBA(71, 81, 98, 1);
  30. border-radius: rem(10);
  31. margin-right: rem(20);
  32. cursor: pointer;
  33. }
  34. }
  35. }
  36. .logo {
  37. width: rem(120);
  38. height: rem(36);
  39. background: url(../../assets/img/nav/logo.png);
  40. background-size: 100% 100%;
  41. z-index: 11;
  42. }
  43. .logout {
  44. width: rem(49);
  45. height: rem(49);
  46. background: url(../../assets/img/btn_switch.png);
  47. background-size: 100% 100%;
  48. z-index: 11;
  49. }
  50. .top_png {
  51. width: 100%;
  52. width: rem(1458);
  53. margin: auto;
  54. height: rem(58);
  55. // transform: translateX(-50%);
  56. animation-name: opacityAni;
  57. background: url(../../assets/img/nav/img_toubu.png);
  58. background-size: cover;
  59. opacity: 0;
  60. animation-delay: 0.668s;
  61. animation-duration: 0.834s;
  62. animation-fill-mode: forwards;
  63. p {
  64. font-size: rem(24);
  65. font-family: PingFang SC;
  66. font-weight: 600;
  67. color: #ffffff;
  68. background: linear-gradient(1deg, #a8c4f5 0%, #ffffff 100%);
  69. -webkit-background-clip: text;
  70. -webkit-text-fill-color: transparent;
  71. position: relative;
  72. top: rem(-10);
  73. text-align: center;
  74. }
  75. }
  76. .bottom_png {
  77. position: absolute;
  78. z-index: 100;
  79. bottom: 0;
  80. width: 100%;
  81. height: rem(83);
  82. // height: 4.3vw;
  83. background: #010305;
  84. & > span {
  85. display: block;
  86. width: 100%;
  87. height: rem(83);
  88. // height: 4.3vw;
  89. animation-name: opacityAni;
  90. background: url(../../assets/img/nav/img_dibu.png);
  91. background-size: cover;
  92. opacity: 0;
  93. animation-delay: 0.668s;
  94. animation-duration: 0.834s;
  95. animation-fill-mode: forwards;
  96. }
  97. }
  98. .bg-earth {
  99. position: absolute;
  100. width: rem(1500);
  101. height: rem(600);
  102. top: 50%;
  103. left: 50%;
  104. transform: translate(-50%, -50%);
  105. overflow-y: auto;
  106. &::-webkit-scrollbar {
  107. display: none;
  108. }
  109. }
  110. .nav-title {
  111. position: absolute;
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. flex-direction: column;
  116. width: rem(381);
  117. height: rem(153);
  118. img {
  119. width: rem(150);
  120. height: rem(40);
  121. }
  122. .dot_icon {
  123. display: flex;
  124. justify-content: center;
  125. align-items: center;
  126. flex-direction: row;
  127. margin-top: rem(10);
  128. p {
  129. font-size: rem(36);
  130. font-weight: 600;
  131. font-family: PingFang SC;
  132. color: #ffffff;
  133. text-align: center;
  134. }
  135. .icon-blue-rect {
  136. display: inline-block;
  137. margin: 0 rem(10);
  138. width: rem(6);
  139. height: rem(6);
  140. background: linear-gradient(-80deg, #2a68e6 0%, #2887f2 100%);
  141. border-radius: rem(6);
  142. vertical-align: super;
  143. }
  144. }
  145. }
  146. .nav-content {
  147. display: grid;
  148. // 左右距离30 一列3等分
  149. row-gap: rem(30);
  150. column-gap: rem(30);
  151. grid-template-columns: repeat(3, minmax(0, 1fr));
  152. .item {
  153. width: rem(480);
  154. height: rem(180);
  155. background: RGBA(32, 40, 57, 1);
  156. border-radius: rem(10);
  157. border: 1px solid transparent;
  158. position: relative;
  159. cursor: pointer;
  160. display: flex;
  161. justify-content: space-between;
  162. &:hover {
  163. border-color: #ffffff;
  164. .left-label {
  165. opacity: 1;
  166. }
  167. .item-cenText .contents {
  168. opacity: 1;
  169. .subtitle {
  170. color: #0eaeff;
  171. }
  172. }
  173. .right-img {
  174. opacity: 0.7;
  175. }
  176. .img {
  177. display: none;
  178. }
  179. .imghover {
  180. display: block;
  181. }
  182. }
  183. .imghover {
  184. display: none;
  185. }
  186. .item-cenText {
  187. margin: rem(43) 0 0 rem(56);
  188. display: flex;
  189. .img,
  190. .imghover {
  191. width: rem(82);
  192. height: rem(92);
  193. }
  194. .contents {
  195. margin-left: rem(48);
  196. font-size: rem(24);
  197. margin-top: rem(16);
  198. font-family: Microsoft YaHei;
  199. font-weight: bold;
  200. color: #ffffff;
  201. opacity: 0.8;
  202. .subtitle {
  203. font-size: rem(12);
  204. margin-top: rem(10);
  205. color: #748ba8;
  206. white-space: nowrap;
  207. }
  208. }
  209. }
  210. .right-img {
  211. background: url('../../assets/img/nav/img6.png') no-repeat;
  212. background-size: cover;
  213. width: rem(90);
  214. height: rem(180);
  215. opacity: 0.2;
  216. }
  217. .left-label {
  218. width: rem(6);
  219. height: rem(50);
  220. background: #ffffff;
  221. opacity: 0.3;
  222. border-radius: 0px rem(4) rem(4) 0px;
  223. position: absolute;
  224. left: 0;
  225. top: 50%;
  226. transform: translateY(-50%);
  227. }
  228. }
  229. .item.unOwner {
  230. opacity: 0.3;
  231. cursor: no-drop;
  232. animation-name: opacityAni2;
  233. &:hover {
  234. border-color: transparent;
  235. .left-label {
  236. opacity: 0.3;
  237. }
  238. .item-cenText .contents {
  239. opacity: 0.8;
  240. .subtitle {
  241. color: #748ba8;
  242. }
  243. }
  244. .right-img {
  245. opacity: 0.2;
  246. }
  247. .img {
  248. display: block;
  249. }
  250. .imghover {
  251. display: none;
  252. }
  253. }
  254. }
  255. }
  256. }
  257. @keyframes opacityAni {
  258. 0% {
  259. opacity: 0;
  260. }
  261. 100% {
  262. opacity: 1;
  263. }
  264. }
  265. @keyframes opacityAni2 {
  266. 0% {
  267. opacity: 0;
  268. }
  269. 100% {
  270. opacity: 0.3;
  271. }
  272. }