| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- .deekSeek {
- width: 100%;
- height: 100vh;
- background: #ffffff; /* 移除渐变背景,改为纯白色 */
- /* 主要区域 */
- &-main {
- flex: 1;
- display: flex;
- flex-direction: column;
- background: #ffffff;
- padding: 20px;
- box-sizing: border-box;
- overflow: hidden; /* 防止内容溢出 */
- }
- &-header {
- width: 100%;
- height: 60px;
- border: 1px solid #e8e8e8; /* 改为浅灰色边框 */
- background: #ffffff; /* 改为白色背景 */
- display: flex;
- color: #333333; /* 改为深灰色文字 */
- justify-content: center;
- align-items: center;
- overflow-x: auto;
- overflow-y: hidden;
- box-sizing: border-box;
- border-radius: 8px; /* 添加圆角 */
- margin-bottom: 20px;
- flex-shrink: 0; /* 防止 header 被压缩 */
- }
- &-content {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- background: #ffffff;
- min-height: 0; /* 允许内容区域收缩 */
- &-title {
- display: flex;
- justify-content: center;
- margin-bottom: 20px;
- flex-shrink: 0; /* 防止标题被压缩 */
- img {
- width: 200px;
- height: auto;
- }
- }
- &-title-sm {
- font-size: 24px;
- color: #333333; /* 改为深灰色文字 */
- font-weight: 600;
- margin-bottom: 30px;
- text-align: center;
- flex-shrink: 0; /* 防止副标题被压缩 */
- @media (max-width: 768px) {
- font-size: 20px;
- }
- @media (max-width: 480px) {
- font-size: 18px;
- }
- }
- &-pc {
- width: 100%;
- max-width: 800px;
- height: 600px;
- background: #ffffff;
- border: 1px solid #e8e8e8; /* 添加浅灰色边框 */
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
- flex-shrink: 1; /* 允许内容区域收缩 */
- }
- &-mobile {
- width: 100%;
- height: 500px;
- background: #ffffff;
- border: 1px solid #e8e8e8; /* 添加浅灰色边框 */
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
- flex-shrink: 1; /* 允许内容区域收缩 */
- }
- }
- /* 新增的输入区域样式 */
- &-input-section {
- width: 100%;
- max-width: 800px;
- margin-bottom: 30px;
- flex-shrink: 0;
- }
- &-input-tabs {
- display: flex;
- gap: 12px;
- margin-bottom: 16px;
- justify-content: flex-start;
- }
- &-tab-button {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 8px 16px;
- border-radius: 6px;
- font-size: 14px;
- font-weight: 500;
- transition: all 0.2s ease;
- border: 1px solid #e8e8e8;
- background: #ffffff;
- color: #666666;
- &.active {
- background: #1890ff;
- color: #ffffff;
- border-color: #1890ff;
- }
- &:hover:not(.active) {
- border-color: #1890ff;
- color: #1890ff;
- }
- }
- &-tab-icon {
- font-size: 16px;
- }
- &-input-container {
- position: relative;
- border: 1px solid #e8e8e8;
- border-radius: 8px;
- background: #ffffff;
- padding: 16px;
- cursor: pointer;
- transition: all 0.2s ease;
- &:hover {
- border-color: #1890ff;
- box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
- }
- }
- &-main-input {
- border: none !important;
- background: transparent !important;
- resize: none;
- font-size: 16px;
- line-height: 1.5;
- color: #333333;
- padding: 0 !important;
- margin-bottom: 16px;
- &::placeholder {
- color: #999999;
- }
- &:focus {
- box-shadow: none !important;
- }
- }
- &-input-actions {
- display: flex;
- justify-content: flex-end;
- gap: 8px;
- }
- &-clear-button {
- width: 32px !important;
- height: 32px !important;
- border-radius: 50% !important;
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- background: #f5f5f5 !important;
- color: #666666 !important;
- border: none !important;
- transition: all 0.2s ease;
- &:hover {
- background: #e8e8e8 !important;
- color: #333333 !important;
- }
- }
- &-send-button {
- width: 32px !important;
- height: 32px !important;
- border-radius: 50% !important;
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- background: #1890ff !important;
- color: #ffffff !important;
- border: none !important;
- transition: all 0.2s ease;
- &:hover {
- background: #40a9ff !important;
- }
- }
- /* 建议问题样式 */
- &-suggestions {
- display: flex;
- flex-wrap: wrap;
- gap: 12px;
- margin-bottom: 20px;
- justify-content: center;
- flex-shrink: 0;
- }
- &-suggestion-button {
- display: flex !important;
- align-items: center !important;
- gap: 8px !important;
- padding: 12px 16px !important;
- border-radius: 8px !important;
- background: #f8f9fa !important;
- border: 1px solid #e8e8e8 !important;
- color: #333333 !important;
- font-size: 14px !important;
- transition: all 0.2s ease !important;
- cursor: pointer !important;
- &:hover {
- background: #e9ecef !important;
- border-color: #1890ff !important;
- color: #1890ff !important;
- }
- }
- &-suggestion-icon {
- font-size: 16px;
- }
- &-suggestion-text {
- white-space: nowrap;
- }
- /* 底部提示文字 */
- &-footer-text {
- text-align: center;
- color: #999999;
- font-size: 12px;
- margin-top: 20px;
- flex-shrink: 0;
- }
- /* 返回按钮 */
- &-back-button {
- margin-top: 20px;
- padding: 8px 24px;
- border-radius: 6px;
- background: #1890ff;
- color: #ffffff;
- border: none;
- transition: all 0.2s ease;
- &:hover {
- background: #40a9ff;
- }
- }
- /* 响应式支持 */
- @media (max-width: 768px) {
- &-main {
- padding: 15px;
- }
- &-header {
- height: 50px;
- margin-bottom: 15px;
- }
- &-content {
- &-title {
- margin-bottom: 15px;
- img {
- width: 150px;
- }
- }
- &-title-sm {
- margin-bottom: 20px;
- }
- &-pc,
- &-mobile {
- height: 400px;
- }
- }
- &-input-section {
- margin-bottom: 20px;
- }
- &-input-tabs {
- gap: 8px;
- margin-bottom: 12px;
- }
- &-tab-button {
- padding: 6px 12px;
- font-size: 13px;
- }
- &-suggestions {
- gap: 8px;
- margin-bottom: 15px;
- }
- &-suggestion-button {
- padding: 10px 12px !important;
- font-size: 13px !important;
- }
- }
- @media (max-width: 480px) {
- &-main {
- padding: 10px;
- }
- &-header {
- height: 45px;
- margin-bottom: 10px;
- }
- &-content {
- &-title {
- margin-bottom: 10px;
- img {
- width: 120px;
- }
- }
- &-title-sm {
- margin-bottom: 15px;
- }
- &-pc,
- &-mobile {
- height: 350px;
- }
- }
- &-input-section {
- margin-bottom: 15px;
- }
- &-input-container {
- padding: 12px;
- }
- &-input-tabs {
- gap: 6px;
- margin-bottom: 10px;
- }
- &-tab-button {
- padding: 5px 10px;
- font-size: 12px;
- }
- &-suggestions {
- gap: 6px;
- margin-bottom: 12px;
- }
- &-suggestion-button {
- padding: 8px 10px !important;
- font-size: 12px !important;
- }
- }
- }
|