index.wxss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .gradient-bg {
  2. min-height: 100vh;
  3. width: 100vw;
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. justify-content: flex-start;
  8. background: linear-gradient(180deg, #4b3bbd 0%, #3ec6e0 100%);
  9. position: relative;
  10. overflow: hidden;
  11. }
  12. .logo-area {
  13. margin-top: 120rpx;
  14. text-align: center;
  15. }
  16. .logo-text {
  17. font-size: 64rpx;
  18. font-weight: bold;
  19. color: #fff;
  20. letter-spacing: 8rpx;
  21. font-family: 'Arial Rounded MT Bold', 'PingFang SC', sans-serif;
  22. }
  23. .lines {
  24. position: absolute;
  25. width: 100vw;
  26. height: 60vh;
  27. top: 20vh;
  28. left: 0;
  29. z-index: 1;
  30. }
  31. .line {
  32. position: absolute;
  33. width: 120rpx;
  34. height: 8rpx;
  35. border-radius: 8rpx;
  36. }
  37. .red { left: 30vw; top: 10vh; background: #ff5a5f; transform: rotate(60deg);
  38. }
  39. .yellow { right: 10vw; top: 20vh; background: #ffe066; transform: rotate(-30deg);
  40. }
  41. .green { left: 10vw; bottom: 10vh; background: #3ec6e0; transform: rotate(30deg);
  42. }
  43. .faces {
  44. position: absolute;
  45. bottom: 0;
  46. left: 0;
  47. width: 100vw;
  48. height: 200rpx;
  49. display: flex;
  50. align-items: flex-end;
  51. justify-content: center;
  52. z-index: 2;
  53. }
  54. .face {
  55. width: 120rpx;
  56. height: 120rpx;
  57. border-radius: 60rpx;
  58. background: #ffe066;
  59. margin: 0 20rpx;
  60. display: flex;
  61. flex-direction: column;
  62. align-items: center;
  63. justify-content: center;
  64. position: relative;
  65. }
  66. .yellow-face { background: #ffe066;
  67. }
  68. .blue-face { background: #3ec6e0;
  69. }
  70. .face-eye {
  71. font-size: 24rpx;
  72. margin: 0 8rpx;
  73. }
  74. .face-mouth {
  75. font-size: 28rpx;
  76. margin-top: 8rpx;
  77. }
  78. .bubble {
  79. position: absolute;
  80. left: 50%;
  81. bottom: 120rpx;
  82. transform: translateX(-50%);
  83. background: #fff;
  84. color: #3ec6e0;
  85. border-radius: 20rpx;
  86. padding: 8rpx 24rpx;
  87. font-size: 32rpx;
  88. font-weight: bold;
  89. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
  90. z-index: 3;
  91. }