deepSeekHome.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .deekSeek {
  2. width: 100%;
  3. /* 使用 fill-available 确保兼容性 */
  4. height: -webkit-fill-available;
  5. height: 100dvh;
  6. /* 新的动态视口单位,推荐使用 */
  7. background: linear-gradient(90.52deg, rgba(24, 126, 255, 1) 1.54%, rgba(23, 66, 255, 1) 99.26%);
  8. padding-bottom: env(safe-area-inset-bottom);
  9. /* 适配底部安全区域 */
  10. &-header {
  11. width: 100%;
  12. height: 60px;
  13. border: 1px solid rgba(24, 126, 255, 1);
  14. display: flex;
  15. color: #FFFFFF;
  16. justify-content: center;
  17. align-items: center;
  18. overflow-x: auto;
  19. overflow-y: hidden;
  20. }
  21. &-content {
  22. width: 100%;
  23. height: calc(100% - 80px - env(safe-area-inset-bottom));
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. flex-direction: column;
  28. &-title {
  29. display: flex;
  30. justify-content: center;
  31. margin-bottom: 5px;
  32. img {
  33. width: 200px;
  34. }
  35. }
  36. &-title-sm {
  37. font-size: 20px;
  38. color: #FFFFFF;
  39. @media (max-width: 768px) {
  40. font-size: 16px;
  41. }
  42. @media (max-width: 480px) {
  43. font-size: 14px;
  44. }
  45. }
  46. &-pc {
  47. width: 36%;
  48. min-width: 400px;
  49. height: 78%;
  50. background: #FFFFFF;
  51. border-radius: 12px;
  52. overflow: hidden;
  53. }
  54. &-mobile {
  55. width: 90%;
  56. height: 82%;
  57. background: #FFFFFF;
  58. border-radius: 12px;
  59. overflow: hidden;
  60. }
  61. }
  62. }