_4_Guide2.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import React from 'react';
  2. import C from 'rn-class'
  3. C.addColor("#d7d7d7", "color-listbg");
  4. export default (props)=>{
  5. let datas = [
  6. {title:"사랑", sub:"Working\nmeditation", contens:"우리는 우리와 가까운, 우리가 원하는, 우리가 좋아하는, 우리를 편리하게 해 주고 행복하게 해 주던 많은 것들과 이별을 해야 하는 괴로움을 버려야 합니다.", img : require("../Res/Working_meditation.png")},
  7. {title:"미움", sub:"Standing\nmeditation", contens:"싫어하는 것을 해야 하는 것, 싫어하는 사람과 함께 있는 것이란 얼마나 큰 괴로움인가. 이는 가장 큰 괴로움이며 여기서 벗어나야 합니다.", img : require("../Res/Standing_meditation.png")},
  8. {title:"탐욕", sub:"Seat and\nmeditation", contens:"좋아하는 사람, 물건, 재산, 명예, 권력, 지위, 출세, 행복, 건강 등 얻고자 하고 바라지만 마음대로 구할 수 없는데서 괴로움은 시작된다.", img : require("../Res/Seatand_meditation.png")},
  9. {title:"탐식", sub:"Lying\nmeditation", contens:"현대사회에서 물질적 풍요와 상반되게 정신적 빈곤으로 인한 강박장애, 불안장애 같은 정신적 증상은 얻고자 하는 욕심으로 인하여 나타나는 화병의 일환", img : require("../Res/Lying_meditation.png")},
  10. ]
  11. return (
  12. <C.View cls="flx1 bgc-color-white">
  13. <C.Comp.Header />
  14. <C.View cls="w100% ai-c flx1 jc-sa">
  15. <C.Text cls="f9 fw-b">MIND(心)</C.Text>
  16. {
  17. datas.map((data, idx)=>{
  18. return (
  19. <C.View key={`list${idx}`} cls="w95% flx0.2 br50 bgc-color-gray-light-v3 jc-sa flx-row ai-c ph3">
  20. <C.View cls="flx0.3 ai-c">
  21. <C.Text cls="f3.2">{data.title}</C.Text>
  22. <C.Text cls="f1.7 ta-c">{data.sub}</C.Text>
  23. </C.View>
  24. <C.View cls="flx0.7">
  25. <C.Text cls="flx-w f1.9">
  26. {data.contens}
  27. </C.Text>
  28. </C.View>
  29. <C.View cls="flx0.2">
  30. <C.Image source={data.img} resizeMode="contain"
  31. cls="w14" />
  32. {/* Working_meditation.png */}
  33. </C.View>
  34. </C.View>
  35. )
  36. })
  37. }
  38. <C.Button title="확인"/>
  39. </C.View>
  40. </C.View>
  41. )
  42. }