deepSeekHome.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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, 0.5);
  14. display: flex;
  15. color: #FFFFFF;
  16. // justify-content: center;
  17. justify-content: space-between;
  18. align-items: center;
  19. overflow-x: auto;
  20. overflow-y: hidden;
  21. box-sizing: border-box;
  22. // position: relative;
  23. background-color: blur(10px);
  24. background: rgba(24, 126, 255, 0.3);
  25. &::before {
  26. content: '';
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. }
  31. &__item {
  32. position: relative;
  33. padding: 8px 12px;
  34. border-radius: 999px;
  35. white-space: nowrap;
  36. color: #FFFFFF;
  37. cursor: pointer;
  38. transition: color 0.2s ease, font-weight 0.2s ease;
  39. &:hover {
  40. color: #CFE4FF;
  41. font-weight: 700 !important;
  42. }
  43. }
  44. }
  45. &-content {
  46. width: 100%;
  47. height: calc(100% - 80px - env(safe-area-inset-bottom));
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. flex-direction: column;
  52. &-title {
  53. display: flex;
  54. justify-content: center;
  55. margin-bottom: 5px;
  56. img {
  57. width: 200px;
  58. }
  59. }
  60. &-title-sm {
  61. font-size: 20px;
  62. color: #FFFFFF;
  63. @media (max-width: 768px) {
  64. font-size: 16px;
  65. }
  66. @media (max-width: 480px) {
  67. font-size: 14px;
  68. }
  69. }
  70. &-pc {
  71. width: 36%;
  72. min-width: 400px;
  73. height: 78%;
  74. background: #FFFFFF;
  75. border-radius: 12px;
  76. overflow: hidden;
  77. }
  78. &-mobile {
  79. width: 90%;
  80. height: 82%;
  81. background: #FFFFFF;
  82. border-radius: 12px;
  83. overflow: hidden;
  84. }
  85. }
  86. &-menuds {
  87. max-width: 130px;
  88. overflow: hidden;
  89. text-overflow: ellipsis;
  90. white-space: nowrap;
  91. cursor:pointer;
  92. }
  93. }
  94. // 开放平台按钮样式
  95. .open-platform-btn {
  96. @media (max-width: 768px) {
  97. display: none; // 移动端隐藏
  98. }
  99. position: relative;
  100. left: 40px;
  101. background: #FFFFFF;
  102. color: #1890FF;
  103. border: 1px solid #1890FF;
  104. border-radius: 6px;
  105. padding: 8px 16px;
  106. font-size: 14px;
  107. font-weight: 500;
  108. cursor: pointer;
  109. transition: all 0.3s ease;
  110. white-space: nowrap;
  111. &:hover {
  112. background: #F0F8FF;
  113. border-color: #40A9FF;
  114. }
  115. &:active {
  116. background: #E6F7FF;
  117. border-color: #1890FF;
  118. }
  119. }