1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import { CommonModule } from '@angular/common';
- import { Component, OnInit } from '@angular/core';
- import { IonButton, IonContent, IonHeader, IonIcon, IonInput, IonItem, IonLabel,
- IonList, IonListHeader, IonSearchbar, IonTitle, IonToolbar } from '@ionic/angular/standalone';
- import { ExploreContainerComponent } from '../explore-container/explore-container.component';
- @Component({
- selector: 'app-topic-detail2',
- templateUrl: './topic-detail2.component.html',
- styleUrls: ['./topic-detail2.component.scss'],
- standalone: true,
- imports:[IonHeader,IonToolbar,IonTitle,IonContent,ExploreContainerComponent,
- IonList,IonListHeader,IonLabel,IonItem,IonIcon,
- IonButton,IonInput,IonSearchbar,
- CommonModule]
- })
- export class TopicDetail2Component implements OnInit {
- methods = [
- {
- title: '寻求专业帮助',
- description: '咨询心理医生或心理治疗师,获得专业的支持和指导',
- details: '专业的心理咨询可以帮助你更好地理解自己的情绪,并提供有效的应对策略',
- expanded: false,
- },
- {
- title: '建立健康的生活方式',
- description: '保持规律的作息、均衡的饮食和适量的运动',
- details: '健康的生活方式可以显著改善你的心理状态,增强抵抗抑郁的能力',
- expanded: false,
- },
- {
- title: '与他人交流',
- description: '与朋友和家人分享你的感受,建立支持网络',
- details: '交流可以减轻孤独感,增强社会支持,帮助你更好地应对抑郁',
- expanded: false,
- },
- ];
- tools = [
- {
- name: '抑郁管理APP',
- description: '帮助你记录情绪变化,提供自助练习',
- link: 'https://bbs.51766.com/soft/712244.html',
- buttonText: '下载APP',
- },
- {
- name: '在线支持小组',
- description: '与其他抑郁症患者交流,分享经验',
- link: 'https://www.douban.com/group/739850/',
- buttonText: '加入小组',
- },
- ];
- resources = [
- {
- title: '克服抑郁的十大技巧',
- link: 'https://m.baidu.com/bh/m/detail/ar_6218671750317725196',
- buttonText: '阅读更多',
- },
- {
- title: '如何面对抑郁',
- link: 'https://m.baidu.com/bh/m/detail/ar_12253741886669041142',
- buttonText: '查看更多',
- },
- ];
- discussions = [
- {
- title: '分享你的抑郁克服故事',
- link: 'https://example.com/community',
- },
- ];
- constructor() { }
- ngOnInit() {}
- }
|