intervene.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <template>
  2. <div class="main_right_height">
  3. <TopDes :flag="false" topDesFont="认知行为干预"></TopDes>
  4. <div class="intervene_content">
  5. <div
  6. class="intervene_item"
  7. v-for="item in interveneList"
  8. :key="item.id"
  9. @click="goDetail(item)"
  10. >
  11. <img :src="item.imgUrl" alt="" />
  12. <h2>{{ item.name }}</h2>
  13. <p style="font-size: 1vw">{{ item.title }}</p>
  14. <p>{{ item.desc }}</p>
  15. </div>
  16. </div>
  17. </div>
  18. </template>
  19. <script>
  20. export default {
  21. data() {
  22. return {
  23. interveneList: [
  24. {
  25. id: 1,
  26. imgUrl: require("../assets/newImage/rzgy1.png"),
  27. name: "战胜焦虑",
  28. title: "每天放松好心情",
  29. desc: "焦虑是个人对可能会出现的危险或威胁所产生的紧张、不安、忧虑、烦恼等不愉快的复杂情绪状态,CBT通过认知重构,暴露疗法,行为改变,放松训练等方法可以有效治疗焦虑。",
  30. },
  31. {
  32. id: 2,
  33. imgUrl: require("../assets/newImage/rzgy2.png"),
  34. name: "走出抑郁",
  35. title: "重新点燃生活的希望",
  36. desc: "抑郁症是一种以连续且长期的心情低落为主要特征的心理疾病,通过CBT的阶段治疗,配合认知重建,行为改变等治疗手段可有效缓解抑郁情绪。",
  37. url: "/treatDepression",
  38. },
  39. {
  40. id: 3,
  41. imgUrl: require("../assets/newImage/rzgy3.png"),
  42. name: "远离失眠",
  43. title: "甜蜜梦乡不是奢望",
  44. desc: "失眠和睡眠节律紊乱等睡眠障碍会对您的生活质量和身体健康产生严重影响,CBT治疗通过放松训练,睡眠限制治疗,刺激控制技术,睡眠健康教育等方法来改善睡眠障碍。",
  45. },
  46. {
  47. id: 4,
  48. imgUrl: require("../assets/newImage/rzgy4.png"),
  49. name: "克服应激",
  50. title: "与自己的身心和解",
  51. desc: "过度的应激或无法有效应对应激源可能会对个体的心理健康和生活产生负面影响,CBT可以通过放松训练,认知重建以及各种应对策略来处理应激源,有效缓解应激。",
  52. },
  53. ],
  54. };
  55. },
  56. activated() {},
  57. deactivated() {},
  58. mounted() {
  59. },
  60. methods: {
  61. goDetail(item) {
  62. // this.$router.push("/menu/treatDepression");
  63. this.$router.push({path:'/menu/treatDepression',query:{id:item.id}});
  64. },
  65. },
  66. };
  67. </script>
  68. <style scoped>
  69. .main_right_height {
  70. display: block !important;
  71. height: 100vh;
  72. background: #ffffff;
  73. overflow-y: auto !important;
  74. }
  75. .mainTable-top {
  76. margin-top: 5%;
  77. }
  78. .mainTable-top-two {
  79. margin-top: 10%;
  80. }
  81. .mainTable-tab {
  82. cursor: pointer;
  83. margin-left: 100px;
  84. margin-right: 100px;
  85. border-radius: 5px;
  86. border: 1px solid #000000;
  87. text-align: center;
  88. height: 150px;
  89. margin-bottom: 100px;
  90. }
  91. .mainTable-tab-p {
  92. padding-top: 40px;
  93. }
  94. .musicTitle {
  95. display: block;
  96. font-size: 18px;
  97. color: #57acbb;
  98. margin-bottom: 5px;
  99. }
  100. .pluse_tiao {
  101. background: rgb(52, 122, 255);
  102. border-radius: 100px;
  103. }
  104. .pluse_tiao_pl {
  105. font-weight: 600;
  106. }
  107. .pluse {
  108. width: 100%;
  109. height: 70vh;
  110. width: 100%;
  111. }
  112. .xl_d_button {
  113. background: rgb(87, 172, 187);
  114. opacity: 1;
  115. border-radius: 18px;
  116. font-size: 14px;
  117. font-family: PingFang SC;
  118. font-weight: 400;
  119. color: #ffffff;
  120. margin-bottom: 20px;
  121. }
  122. .xl_d_button:hover {
  123. background: rgb(87, 172, 187);
  124. opacity: 1;
  125. border-radius: 18px;
  126. font-size: 14px;
  127. font-family: PingFang SC;
  128. font-weight: 400;
  129. color: #ffffff;
  130. margin-bottom: 20px;
  131. }
  132. .xl_d_button:focus {
  133. background: rgb(87, 172, 187);
  134. opacity: 1;
  135. border-radius: 18px;
  136. font-size: 14px;
  137. font-family: PingFang SC;
  138. font-weight: 400;
  139. color: #ffffff;
  140. margin-bottom: 20px;
  141. }
  142. .statusNaoDuan {
  143. border-radius: 50%;
  144. background-color: red;
  145. display: inline-block;
  146. width: 10px;
  147. height: 10px;
  148. }
  149. .statusNaoLink {
  150. border-radius: 50%;
  151. background-color: #42b983;
  152. display: inline-block;
  153. width: 10px;
  154. height: 10px;
  155. }
  156. .xl_d_button.is-disabled,
  157. .xl_d_button.is-disabled:focus,
  158. .xl_d_button.is-disabled:hover {
  159. color: #c0c4cc;
  160. cursor: not-allowed;
  161. background-image: none;
  162. background-color: rgb(87, 172, 187);
  163. border-color: #ebeef5;
  164. }
  165. .miaoz {
  166. position: absolute;
  167. right: 80px;
  168. bottom: 60px;
  169. }
  170. .intervene_content {
  171. display: flex;
  172. justify-content: center;
  173. align-items: center;
  174. margin-top: 10vh;
  175. }
  176. .intervene_item {
  177. width: 17.6vw;
  178. height: 57.87vh;
  179. background: #f5f5f5;
  180. border-radius: 16px 16px 16px 16px;
  181. opacity: 1;
  182. margin: 0 1.275vw;
  183. cursor: pointer;
  184. }
  185. .intervene_item h2 {
  186. padding-left: 10px;
  187. font-size: 1.25vw;
  188. font-family: Source Han Sans CN-Bold, Source Han Sans CN;
  189. font-weight: bold;
  190. color: #0f0f0f;
  191. }
  192. .intervene_item p {
  193. padding-left: 10px;
  194. font-size: 0.83vw;
  195. font-family: Source Han Sans CN-Regular, Source Han Sans CN;
  196. font-weight: 400;
  197. color: #4b4a4a;
  198. }
  199. .intervene_item img {
  200. width: 100%;
  201. height: auto;
  202. }
  203. </style>