deepSeekHome.scss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. .deekSeek {
  2. width: 100%;
  3. height: 100vh;
  4. background: #ffffff; /* 移除渐变背景,改为纯白色 */
  5. /* 主要区域 */
  6. &-main {
  7. flex: 1;
  8. display: flex;
  9. flex-direction: column;
  10. background: #ffffff;
  11. padding: 20px;
  12. box-sizing: border-box;
  13. overflow: hidden; /* 防止内容溢出 */
  14. }
  15. &-header {
  16. width: 100%;
  17. height: 60px;
  18. border: 1px solid #e8e8e8; /* 改为浅灰色边框 */
  19. background: #ffffff; /* 改为白色背景 */
  20. display: flex;
  21. color: #333333; /* 改为深灰色文字 */
  22. justify-content: center;
  23. align-items: center;
  24. overflow-x: auto;
  25. overflow-y: hidden;
  26. box-sizing: border-box;
  27. border-radius: 8px; /* 添加圆角 */
  28. margin-bottom: 20px;
  29. flex-shrink: 0; /* 防止 header 被压缩 */
  30. }
  31. &-content {
  32. flex: 1;
  33. display: flex;
  34. justify-content: center;
  35. align-items: center;
  36. flex-direction: column;
  37. background: #ffffff;
  38. min-height: 0; /* 允许内容区域收缩 */
  39. &-title {
  40. display: flex;
  41. justify-content: center;
  42. margin-bottom: 20px;
  43. flex-shrink: 0; /* 防止标题被压缩 */
  44. img {
  45. width: 200px;
  46. height: auto;
  47. }
  48. }
  49. &-title-sm {
  50. font-size: 24px;
  51. color: #333333; /* 改为深灰色文字 */
  52. font-weight: 600;
  53. margin-bottom: 30px;
  54. text-align: center;
  55. flex-shrink: 0; /* 防止副标题被压缩 */
  56. @media (max-width: 768px) {
  57. font-size: 20px;
  58. }
  59. @media (max-width: 480px) {
  60. font-size: 18px;
  61. }
  62. }
  63. &-pc {
  64. width: 100%;
  65. max-width: 800px;
  66. height: 600px;
  67. background: #ffffff;
  68. border: 1px solid #e8e8e8; /* 添加浅灰色边框 */
  69. border-radius: 12px;
  70. overflow: hidden;
  71. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
  72. flex-shrink: 1; /* 允许内容区域收缩 */
  73. }
  74. &-mobile {
  75. width: 100%;
  76. height: 500px;
  77. background: #ffffff;
  78. border: 1px solid #e8e8e8; /* 添加浅灰色边框 */
  79. border-radius: 12px;
  80. overflow: hidden;
  81. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
  82. flex-shrink: 1; /* 允许内容区域收缩 */
  83. }
  84. }
  85. /* 新增的输入区域样式 */
  86. &-input-section {
  87. width: 100%;
  88. max-width: 800px;
  89. margin-bottom: 30px;
  90. flex-shrink: 0;
  91. }
  92. &-input-tabs {
  93. display: flex;
  94. gap: 12px;
  95. margin-bottom: 16px;
  96. justify-content: flex-start;
  97. }
  98. &-tab-button {
  99. display: flex;
  100. align-items: center;
  101. gap: 8px;
  102. padding: 8px 16px;
  103. border-radius: 6px;
  104. font-size: 14px;
  105. font-weight: 500;
  106. transition: all 0.2s ease;
  107. border: 1px solid #e8e8e8;
  108. background: #ffffff;
  109. color: #666666;
  110. &.active {
  111. background: #1890ff;
  112. color: #ffffff;
  113. border-color: #1890ff;
  114. }
  115. &:hover:not(.active) {
  116. border-color: #1890ff;
  117. color: #1890ff;
  118. }
  119. }
  120. &-tab-icon {
  121. font-size: 16px;
  122. }
  123. &-input-container {
  124. position: relative;
  125. border: 1px solid #e8e8e8;
  126. border-radius: 8px;
  127. background: #ffffff;
  128. padding: 16px;
  129. cursor: pointer;
  130. transition: all 0.2s ease;
  131. &:hover {
  132. border-color: #1890ff;
  133. box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
  134. }
  135. }
  136. &-main-input {
  137. border: none !important;
  138. background: transparent !important;
  139. resize: none;
  140. font-size: 16px;
  141. line-height: 1.5;
  142. color: #333333;
  143. padding: 0 !important;
  144. margin-bottom: 16px;
  145. &::placeholder {
  146. color: #999999;
  147. }
  148. &:focus {
  149. box-shadow: none !important;
  150. }
  151. }
  152. &-input-actions {
  153. display: flex;
  154. justify-content: flex-end;
  155. gap: 8px;
  156. }
  157. &-clear-button {
  158. width: 32px !important;
  159. height: 32px !important;
  160. border-radius: 50% !important;
  161. display: flex !important;
  162. align-items: center !important;
  163. justify-content: center !important;
  164. background: #f5f5f5 !important;
  165. color: #666666 !important;
  166. border: none !important;
  167. transition: all 0.2s ease;
  168. &:hover {
  169. background: #e8e8e8 !important;
  170. color: #333333 !important;
  171. }
  172. }
  173. &-send-button {
  174. width: 32px !important;
  175. height: 32px !important;
  176. border-radius: 50% !important;
  177. display: flex !important;
  178. align-items: center !important;
  179. justify-content: center !important;
  180. background: #1890ff !important;
  181. color: #ffffff !important;
  182. border: none !important;
  183. transition: all 0.2s ease;
  184. &:hover {
  185. background: #40a9ff !important;
  186. }
  187. }
  188. /* 建议问题样式 */
  189. &-suggestions {
  190. display: flex;
  191. flex-wrap: wrap;
  192. gap: 12px;
  193. margin-bottom: 20px;
  194. justify-content: center;
  195. flex-shrink: 0;
  196. }
  197. &-suggestion-button {
  198. display: flex !important;
  199. align-items: center !important;
  200. gap: 8px !important;
  201. padding: 12px 16px !important;
  202. border-radius: 8px !important;
  203. background: #f8f9fa !important;
  204. border: 1px solid #e8e8e8 !important;
  205. color: #333333 !important;
  206. font-size: 14px !important;
  207. transition: all 0.2s ease !important;
  208. cursor: pointer !important;
  209. &:hover {
  210. background: #e9ecef !important;
  211. border-color: #1890ff !important;
  212. color: #1890ff !important;
  213. }
  214. }
  215. &-suggestion-icon {
  216. font-size: 16px;
  217. }
  218. &-suggestion-text {
  219. white-space: nowrap;
  220. }
  221. /* 底部提示文字 */
  222. &-footer-text {
  223. text-align: center;
  224. color: #999999;
  225. font-size: 12px;
  226. margin-top: 20px;
  227. flex-shrink: 0;
  228. }
  229. /* 返回按钮 */
  230. &-back-button {
  231. margin-top: 20px;
  232. padding: 8px 24px;
  233. border-radius: 6px;
  234. background: #1890ff;
  235. color: #ffffff;
  236. border: none;
  237. transition: all 0.2s ease;
  238. &:hover {
  239. background: #40a9ff;
  240. }
  241. }
  242. /* 响应式支持 */
  243. @media (max-width: 768px) {
  244. &-main {
  245. padding: 15px;
  246. }
  247. &-header {
  248. height: 50px;
  249. margin-bottom: 15px;
  250. }
  251. &-content {
  252. &-title {
  253. margin-bottom: 15px;
  254. img {
  255. width: 150px;
  256. }
  257. }
  258. &-title-sm {
  259. margin-bottom: 20px;
  260. }
  261. &-pc,
  262. &-mobile {
  263. height: 400px;
  264. }
  265. }
  266. &-input-section {
  267. margin-bottom: 20px;
  268. }
  269. &-input-tabs {
  270. gap: 8px;
  271. margin-bottom: 12px;
  272. }
  273. &-tab-button {
  274. padding: 6px 12px;
  275. font-size: 13px;
  276. }
  277. &-suggestions {
  278. gap: 8px;
  279. margin-bottom: 15px;
  280. }
  281. &-suggestion-button {
  282. padding: 10px 12px !important;
  283. font-size: 13px !important;
  284. }
  285. }
  286. @media (max-width: 480px) {
  287. &-main {
  288. padding: 10px;
  289. }
  290. &-header {
  291. height: 45px;
  292. margin-bottom: 10px;
  293. }
  294. &-content {
  295. &-title {
  296. margin-bottom: 10px;
  297. img {
  298. width: 120px;
  299. }
  300. }
  301. &-title-sm {
  302. margin-bottom: 15px;
  303. }
  304. &-pc,
  305. &-mobile {
  306. height: 350px;
  307. }
  308. }
  309. &-input-section {
  310. margin-bottom: 15px;
  311. }
  312. &-input-container {
  313. padding: 12px;
  314. }
  315. &-input-tabs {
  316. gap: 6px;
  317. margin-bottom: 10px;
  318. }
  319. &-tab-button {
  320. padding: 5px 10px;
  321. font-size: 12px;
  322. }
  323. &-suggestions {
  324. gap: 6px;
  325. margin-bottom: 12px;
  326. }
  327. &-suggestion-button {
  328. padding: 8px 10px !important;
  329. font-size: 12px !important;
  330. }
  331. }
  332. }