|  | @@ -1,118 +1,69 @@
 | 
											
												
													
														|  | -ion-title {
 |  | 
 | 
											
												
													
														|  | -  flex: 1; // 使标题占据可用空间
 |  | 
 | 
											
												
													
														|  | -  text-align: left; // 确保文字左对齐
 |  | 
 | 
											
												
													
														|  | -  margin-left: 16px; // 左侧边距,可以根据需要调整
 |  | 
 | 
											
												
													
														|  | -  margin-top: 5px;
 |  | 
 | 
											
												
													
														|  | -  color: rgb(71, 68, 68);
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +/* community.page.scss */
 | 
											
												
													
														|  |  ion-header {
 |  |  ion-header {
 | 
											
												
													
														|  | -  background-color: #3880ff; // 设置头部背景色
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -ion-card {
 |  | 
 | 
											
												
													
														|  | -  margin: 10px; // 设置卡片之间的间距
 |  | 
 | 
											
												
													
														|  | -  border-radius: 10px; // 设置卡片圆角
 |  | 
 | 
											
												
													
														|  | -  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); // 添加阴影效果
 |  | 
 | 
											
												
													
														|  | 
 |  | +  background-color: #4a90e2; /* 设置页头背景色 */
 | 
											
												
													
														|  | 
 |  | +  color: white;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -ion-card-header {
 |  | 
 | 
											
												
													
														|  | -  background-color: #d8e5fa; // 设置头部背景色
 |  | 
 | 
											
												
													
														|  | -  color: white; // 设置头部文字颜色
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-toolbar {
 | 
											
												
													
														|  | 
 |  | +  --background: #4a90e2; /* 设置工具栏背景色 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -ion-card-title {
 |  | 
 | 
											
												
													
														|  | -  font-size: 1.2em; // 设置卡片标题字体大小
 |  | 
 | 
											
												
													
														|  | -  font-weight: bold; // 设置卡片标题字体加粗
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-title {
 | 
											
												
													
														|  | 
 |  | +  font-weight: bold;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -ion-item {
 |  | 
 | 
											
												
													
														|  | -  --ion-item-background: transparent; // 设置列表项背景透明
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-content {
 | 
											
												
													
														|  | 
 |  | +  background-color: #f5f5f5; /* 设置内容背景色 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -ion-label {
 |  | 
 | 
											
												
													
														|  | -  color: #333; // 设置标签文字颜色
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-card {
 | 
											
												
													
														|  | 
 |  | +  margin: 10px 0;
 | 
											
												
													
														|  | 
 |  | +  border-radius: 10px; /* 圆角 */
 | 
											
												
													
														|  | 
 |  | +  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
 | 
											
												
													
														|  | 
 |  | +  background-color: white; /* 卡片背景色 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -h2 {
 |  | 
 | 
											
												
													
														|  | -  font-size: 1em; // 设置二级标题字体大小
 |  | 
 | 
											
												
													
														|  | -  margin: 0; // 去掉默认外边距
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-card-header {
 | 
											
												
													
														|  | 
 |  | +  background-color: #e1f5fe; /* 卡片头部背景色 */
 | 
											
												
													
														|  | 
 |  | +  border-top-left-radius: 10px; /* 圆角 */
 | 
											
												
													
														|  | 
 |  | +  border-top-right-radius: 10px; /* 圆角 */
 | 
											
												
													
														|  | 
 |  | +  padding: 10px; /* 内边距 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -p {
 |  | 
 | 
											
												
													
														|  | -  font-size: 0.9em; // 设置段落字体大小
 |  | 
 | 
											
												
													
														|  | -  color: #666; // 设置段落文字颜色
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-card-title {
 | 
											
												
													
														|  | 
 |  | +  font-size: 1.2em; /* 标题字体大小 */
 | 
											
												
													
														|  | 
 |  | +  color: #007aff; /* 标题颜色 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -ion-list {
 |  | 
 | 
											
												
													
														|  | -  padding: 0; // 去掉列表内边距
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-card-subtitle {
 | 
											
												
													
														|  | 
 |  | +  font-size: 0.9em; /* 副标题字体大小 */
 | 
											
												
													
														|  | 
 |  | +  color: #666; /* 副标题颜色 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  ion-card-content {
 |  |  ion-card-content {
 | 
											
												
													
														|  | -  padding: 10px; // 设置卡片内容内边距
 |  | 
 | 
											
												
													
														|  | 
 |  | +  margin-top: 20px;
 | 
											
												
													
														|  | 
 |  | +  font-size: 1em; /* 内容字体大小 */
 | 
											
												
													
														|  | 
 |  | +  color: #333; /* 内容颜色 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -ion-button {
 |  | 
 | 
											
												
													
														|  | -  --background: #3880ff; // 设置按钮背景色
 |  | 
 | 
											
												
													
														|  | -  --color: white; // 设置按钮文字颜色
 |  | 
 | 
											
												
													
														|  | -  margin-top: 10px; // 设置按钮与上方内容的间距
 |  | 
 | 
											
												
													
														|  | -  border-radius: 20px; // 设置按钮圆角
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-item {
 | 
											
												
													
														|  | 
 |  | +  padding: 10px;
 | 
											
												
													
														|  | 
 |  | +  background-color: #fff; /* 输入框背景色 */
 | 
											
												
													
														|  | 
 |  | +  border-radius: 5px; /* 圆角 */
 | 
											
												
													
														|  | 
 |  | +  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -.chat-partner-area {
 |  | 
 | 
											
												
													
														|  | -  display: flex;
 |  | 
 | 
											
												
													
														|  | -  align-items: center;
 |  | 
 | 
											
												
													
														|  | -  margin-bottom: 20px;
 |  | 
 | 
											
												
													
														|  | -  border: 1px solid #ccc;
 |  | 
 | 
											
												
													
														|  | -  border-radius: 10px;
 |  | 
 | 
											
												
													
														|  | -  padding: 15px;
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -  .avatar {
 |  | 
 | 
											
												
													
														|  | -    width: 60px;
 |  | 
 | 
											
												
													
														|  | -    height: 60px;
 |  | 
 | 
											
												
													
														|  | -    border-radius: 50%;
 |  | 
 | 
											
												
													
														|  | -    margin-right: 15px;
 |  | 
 | 
											
												
													
														|  | -  }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -  .description {
 |  | 
 | 
											
												
													
														|  | -    flex-grow: 1;
 |  | 
 | 
											
												
													
														|  | -  }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -  ion-button {
 |  | 
 | 
											
												
													
														|  | -    border-radius: 20px;
 |  | 
 | 
											
												
													
														|  | -  }
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-input {
 | 
											
												
													
														|  | 
 |  | +  flex: 1;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -.role-interaction-area {
 |  | 
 | 
											
												
													
														|  | -  h2 {
 |  | 
 | 
											
												
													
														|  | -    margin-bottom: 15px;
 |  | 
 | 
											
												
													
														|  | -  }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -  .role-container {
 |  | 
 | 
											
												
													
														|  | -    display: flex;
 |  | 
 | 
											
												
													
														|  | -    align-items: center;
 |  | 
 | 
											
												
													
														|  | -    margin-bottom: 15px;
 |  | 
 | 
											
												
													
														|  | -    border: 1px solid #ccc;
 |  | 
 | 
											
												
													
														|  | -    border-radius: 10px;
 |  | 
 | 
											
												
													
														|  | -    padding: 15px;
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    .avatar {
 |  | 
 | 
											
												
													
														|  | -      width: 50px;
 |  | 
 | 
											
												
													
														|  | -      height: 50px;
 |  | 
 | 
											
												
													
														|  | -      border-radius: 50%;
 |  | 
 | 
											
												
													
														|  | -      margin-right: 10px;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    .role-description {
 |  | 
 | 
											
												
													
														|  | -      flex-grow: 1;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-button {
 | 
											
												
													
														|  | 
 |  | +  --background: #4a90e2; /* 按钮背景色 */
 | 
											
												
													
														|  | 
 |  | +  --color: white; /* 按钮文字颜色 */
 | 
											
												
													
														|  | 
 |  | +  border-radius: 5px; /* 按钮圆角 */
 | 
											
												
													
														|  | 
 |  | +  margin-left: 5px; /* 按钮与输入框的间距 */
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    ion-button {
 |  | 
 | 
											
												
													
														|  | -      border-radius: 20px;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -  }
 |  | 
 | 
											
												
													
														|  | 
 |  | +ion-icon {
 | 
											
												
													
														|  | 
 |  | +  color: white; /* 图标颜色 */
 | 
											
												
													
														|  |  }
 |  |  }
 |