index.wxss 955 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**index.wxss**/
  2. .home {
  3. width: 100%;
  4. height: 100%;
  5. position: relative;
  6. background-size: cover;
  7. background-position: right bottom;
  8. }
  9. .home .left {
  10. position: absolute;
  11. width: 36%;
  12. left: 10%;
  13. top: 50%;
  14. transform: translateY(-50%);
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: center;
  18. align-items: center;
  19. }
  20. .home .left > image {
  21. width: 100%;
  22. }
  23. .home .left > image:last-of-type {
  24. width: 72%;
  25. }
  26. .video {
  27. position: fixed;
  28. left: 0;
  29. top: 0;
  30. width: 100%;
  31. height: 100%;
  32. z-index: 999;
  33. }
  34. .video > video {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. .video .jump {
  39. position: absolute;
  40. top: 10rpx;
  41. right: 20rpx;
  42. z-index: 1000;
  43. color: #fff;
  44. }
  45. .auth {
  46. position: fixed;
  47. left: 0;
  48. top: 110%;
  49. width: 100%;
  50. height: 100%;
  51. z-index: 999;
  52. background-color: rgba(0, 0, 0, 0.5);
  53. backdrop-filter: blur(10px);
  54. pointer-events: none;
  55. opacity: 0;
  56. }
  57. .auth_show {
  58. pointer-events: auto;
  59. opacity: 1;
  60. top: 0;
  61. }