You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							277 lines
						
					
					
						
							4.6 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							277 lines
						
					
					
						
							4.6 KiB
						
					
					
				
								* {
							 | 
						|
								    margin: 0;
							 | 
						|
								    padding: 0;
							 | 
						|
								    box-sizing: border-box;
							 | 
						|
								    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
							 | 
						|
								}
							 | 
						|
								.deepSeek-wrap{
							 | 
						|
								    width: 100%;
							 | 
						|
								    height: 100%;
							 | 
						|
								}
							 | 
						|
								body {
							 | 
						|
								    display: flex;
							 | 
						|
								    height: 100vh;
							 | 
						|
								    background-color: #f7f7f8;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.message {
							 | 
						|
								    max-width: 80%;
							 | 
						|
								    padding: 12px 16px;
							 | 
						|
								    border-radius: 8px;
							 | 
						|
								    line-height: 1.5;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.user-message {
							 | 
						|
								    align-self: flex-end;
							 | 
						|
								    background-color: #f2f2f2;
							 | 
						|
								    border-top-right-radius: 0;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.assistant-message {
							 | 
						|
								    align-self: flex-start;
							 | 
						|
								    background-color: #e6f2ff;
							 | 
						|
								    border-top-left-radius: 0;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								/* 左侧边栏 */
							 | 
						|
								.sidebar {
							 | 
						|
								    width: 260px;
							 | 
						|
								    background-color: #f9fbff;
							 | 
						|
								    display: flex;
							 | 
						|
								    flex-direction: column;
							 | 
						|
								    height: 100%;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.sidebar-header {
							 | 
						|
								    /* padding: 20px; */
							 | 
						|
								    /* background-color: #f9fbff; */
							 | 
						|
								    /* border-bottom: 1px solid #e5e5e6; */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.sidebar.collapsed {
							 | 
						|
								    width: 60px;
							 | 
						|
								    overflow: hidden;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.sidebar.collapsed .sidebar-title,
							 | 
						|
								.sidebar.collapsed .new-chat-btn span,
							 | 
						|
								.sidebar.collapsed .conversation-item,
							 | 
						|
								.sidebar.collapsed .time-section,
							 | 
						|
								.sidebar.collapsed .download-app,
							 | 
						|
								.sidebar.collapsed .sidebar-header,
							 | 
						|
								
							 | 
						|
								.sidebar.collapsed .user-info span {
							 | 
						|
								    opacity: 0;
							 | 
						|
								    width: 0;
							 | 
						|
								    height: 0;
							 | 
						|
								    overflow: hidden;
							 | 
						|
								    display: none;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.sidebar.collapsed .expand-silder {
							 | 
						|
								    display: block;
							 | 
						|
								    opacity: 1;
							 | 
						|
								    position: relative;
							 | 
						|
								    width: 60px;
							 | 
						|
								    height: auto;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.expand-silder {
							 | 
						|
								    display: none;
							 | 
						|
								    opacity: 0;
							 | 
						|
								    width: 0;
							 | 
						|
								    height: 0;
							 | 
						|
								    display: flex;
							 | 
						|
								    flex-direction: column;
							 | 
						|
								    align-items: center;
							 | 
						|
								    padding-top: 19px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.expand-silder #openMenu,
							 | 
						|
								.expand-silder .newChatBtn {
							 | 
						|
								    margin-right: 0;
							 | 
						|
								    margin-top: 38px;
							 | 
						|
								    cursor: pointer;
							 | 
						|
								    display: flex;
							 | 
						|
								    align-items: center;
							 | 
						|
								    justify-content: center;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.expand-silder #openMenu img,
							 | 
						|
								.expand-silder .newChatBtn img {
							 | 
						|
								    width: 28px;
							 | 
						|
								    height: 28px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.expand-silder .ds-icon-box {
							 | 
						|
								    display: flex;
							 | 
						|
								    align-items: center;
							 | 
						|
								    justify-content: center;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.sidebar-title {
							 | 
						|
								    font-size: 18px;
							 | 
						|
								    font-weight: 600;
							 | 
						|
								    color: #000;
							 | 
						|
								    display: flex;
							 | 
						|
								    justify-content: space-between;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.sidebar-title img {
							 | 
						|
								    width: 28px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.chat-container {
							 | 
						|
								    flex: 1;
							 | 
						|
								    padding: 20px;
							 | 
						|
								    display: flex;
							 | 
						|
								    flex-direction: column;
							 | 
						|
								    gap: 20px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.new-chat-btn {
							 | 
						|
								    margin-top: 20px;
							 | 
						|
								    padding: 10px 16px;
							 | 
						|
								    background-color: #f2f2f2;
							 | 
						|
								    border: none;
							 | 
						|
								    border-radius: 8px;
							 | 
						|
								    font-size: 14px;
							 | 
						|
								    font-weight: 500;
							 | 
						|
								    cursor: pointer;
							 | 
						|
								    width: 100%;
							 | 
						|
								    text-align: left;
							 | 
						|
								    transition: background-color 0.2s;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.new-chat-btn:hover {
							 | 
						|
								    background-color: #e5e5e5;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.conversation-list {
							 | 
						|
								    flex: 1;
							 | 
						|
								    /* overflow-y: auto; */
							 | 
						|
								    /* padding: 0px 0 10px 0; */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.time-section {
							 | 
						|
								    padding: 10px 20px;
							 | 
						|
								    font-size: 12px;
							 | 
						|
								    color: #8e8ea0;
							 | 
						|
								    font-weight: 500;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.conversation-item {
							 | 
						|
								    padding: 10px 20px;
							 | 
						|
								    cursor: pointer;
							 | 
						|
								    transition: background-color 0.2s;
							 | 
						|
								    font-size: 14px;
							 | 
						|
								    white-space: nowrap;
							 | 
						|
								    overflow: hidden;
							 | 
						|
								    text-overflow: ellipsis;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								/* .conversation-item:hover {
							 | 
						|
								    background-color: #f7f7f8;
							 | 
						|
								} */
							 | 
						|
								
							 | 
						|
								.sidebar-footer {
							 | 
						|
								    padding: 20px;
							 | 
						|
								    border-top: 1px solid #e5e5e6;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.download-app {
							 | 
						|
								    display: flex;
							 | 
						|
								    align-items: center;
							 | 
						|
								    gap: 8px;
							 | 
						|
								    font-size: 14px;
							 | 
						|
								    color: #8e8ea0;
							 | 
						|
								    margin-bottom: 20px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.user-info {
							 | 
						|
								    display: flex;
							 | 
						|
								    align-items: center;
							 | 
						|
								    gap: 8px;
							 | 
						|
								    font-size: 14px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.user-avatar {
							 | 
						|
								    width: 24px;
							 | 
						|
								    height: 24px;
							 | 
						|
								    border-radius: 4px;
							 | 
						|
								    background-color: #e5e5e5;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								/* 主内容区 */
							 | 
						|
								.main-content {
							 | 
						|
								    flex: 1;
							 | 
						|
								    display: flex;
							 | 
						|
								    flex-direction: column;
							 | 
						|
								    height: 100%;
							 | 
						|
								    background-color: #ffffff;
							 | 
						|
								    padding: 0 21px;
							 | 
						|
								    box-sizing: border-box;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.main-body {
							 | 
						|
								    width: 100%;
							 | 
						|
								    max-width: var(--message-list-max-width);
							 | 
						|
								    flex: 1;
							 | 
						|
								    height: 100%;
							 | 
						|
								    margin: auto;
							 | 
						|
								    display: flex;
							 | 
						|
								    flex-direction: column;
							 | 
						|
								    box-sizing: border-box;
							 | 
						|
								    padding: 38px 0 10px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.content-header {
							 | 
						|
								    padding: 0 20px;
							 | 
						|
								    text-align: center;
							 | 
						|
								    /* border-bottom: 1px solid #e5e5e6; */
							 | 
						|
								    font-size: 18px;
							 | 
						|
								    font-weight: 600;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.content-body {
							 | 
						|
								    flex: 1;
							 | 
						|
								    display: flex;
							 | 
						|
								    flex-direction: column;
							 | 
						|
								    overflow-y: auto;
							 | 
						|
								    padding: 20px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.content-section {
							 | 
						|
								    margin-bottom: 30px;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.content-title {
							 | 
						|
								    font-size: 20px;
							 | 
						|
								    font-weight: 600;
							 | 
						|
								    margin-bottom: 16px;
							 | 
						|
								    color: #000;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.content-item {
							 | 
						|
								    margin-bottom: 16px;
							 | 
						|
								    font-size: 15px;
							 | 
						|
								    line-height: 1.5;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.content-item strong {
							 | 
						|
								    font-weight: 600;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.content-note {
							 | 
						|
								    padding: 20px;
							 | 
						|
								    border-top: 1px solid #e5e5e6;
							 | 
						|
								    font-size: 14px;
							 | 
						|
								    color: #8e8ea0;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								/* 响应式设计 */
							 | 
						|
								@media (max-width: 768px) {
							 | 
						|
								    .sidebar {
							 | 
						|
								        width: 200px;
							 | 
						|
								    }
							 | 
						|
								}
							 |