deepSeekHome.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. box-sizing: border-box;
  21. }
  22. &-content {
  23. width: 100%;
  24. height: calc(100% - 80px - env(safe-area-inset-bottom));
  25. display: flex;
  26. justify-content: center;
  27. align-items: center;
  28. flex-direction: column;
  29. &-title {
  30. display: flex;
  31. justify-content: center;
  32. margin-bottom: 5px;
  33. img {
  34. width: 200px;
  35. }
  36. }
  37. &-title-sm {
  38. font-size: 20px;
  39. color: #FFFFFF;
  40. @media (max-width: 768px) {
  41. font-size: 16px;
  42. }
  43. @media (max-width: 480px) {
  44. font-size: 14px;
  45. }
  46. }
  47. &-pc {
  48. width: 36%;
  49. min-width: 400px;
  50. height: 78%;
  51. background: #FFFFFF;
  52. border-radius: 12px;
  53. overflow: hidden;
  54. }
  55. &-mobile {
  56. width: 90%;
  57. height: 82%;
  58. background: #FFFFFF;
  59. border-radius: 12px;
  60. overflow: hidden;
  61. }
  62. }
  63. }