tab2.page.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <ion-header>
  2. <ion-toolbar>
  3. <ion-title>心理陪聊服务</ion-title>
  4. </ion-toolbar>
  5. </ion-header>
  6. <ion-content>
  7. <!-- 智能匹配区 -->
  8. <section>
  9. <ion-card>
  10. <ion-card-header>
  11. <ion-card-title>智能匹配</ion-card-title>
  12. </ion-card-header>
  13. <ion-card-content>
  14. <p>根据您与陪聊机器人的问答情况,分析你的心理问题类型,再为您智能匹配合适的心理陪聊师。</p>
  15. <!--<ion-item>
  16. <ion-label>选择心理问题类型</ion-label>
  17. <ion-select [(ngModel)]="selectedIssue">
  18. <ion-select-option value="anxiety">焦虑</ion-select-option>
  19. <ion-select-option value="depression">抑郁</ion-select-option>
  20. <ion-select-option value="relationship">人际关系</ion-select-option>
  21. </ion-select>
  22. </ion-item>
  23. -->
  24. <ion-button expand="full" (click)="matchCounselor()">开始匹配</ion-button>
  25. <div *ngIf="matchedCounselor" class="match-result">
  26. <p>为您推荐的心理咨询师是:{{ matchedCounselor.name }},擅长{{ matchedCounselor.specialty }}。</p>
  27. </div>
  28. </ion-card-content>
  29. </ion-card>
  30. </section>
  31. <!-- 陪聊服务区 -->
  32. <section>
  33. <ion-card>
  34. <ion-card-header>
  35. <ion-card-title>陪聊服务</ion-card-title>
  36. </ion-card-header>
  37. <ion-card-content>
  38. <p>在这里,我们的陪聊服务宗旨是为您提供情感支持和倾诉的机会,无论是生活上的开心,还是工作上的糟糕,你都可以跟我分享,这里是属于你一个人的空间,你可以大胆放心的使用。</p>
  39. <ion-button expand="full" (click)="goChat()">开始陪聊</ion-button>
  40. <!--<ol>
  41. <li>选择陪聊时间</li>
  42. <li>与陪聊师匹配</li>
  43. <li>开始聊天</li>
  44. </ol>-->
  45. </ion-card-content>
  46. </ion-card>
  47. </section>
  48. <!-- 普通心理问题的专业性建议区 -->
  49. <section>
  50. <ion-card>
  51. <ion-card-header>
  52. <ion-card-title>心理问题建议</ion-card-title>
  53. </ion-card-header>
  54. <ion-card-content>
  55. <ion-list>
  56. <ion-item *ngFor="let question of questions" (click)="question.expanded = !question.expanded">
  57. <ion-label>
  58. <h2>{{ question.title }}</h2>
  59. <p *ngIf="question.expanded">{{ question.advice }}</p>
  60. </ion-label>
  61. <ion-icon name="chevron-down" slot="end" *ngIf="!question.expanded"></ion-icon>
  62. <ion-icon name="chevron-up" slot="end" *ngIf="question.expanded"></ion-icon>
  63. </ion-item>
  64. </ion-list>
  65. </ion-card-content>
  66. </ion-card>
  67. </section>
  68. </ion-content>