_3_Guide1.js 2.5 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:"하루 20분 정도 걸으면서 하는 행선은 좌선 1시간 이상의 효과를 가져옵니다.", 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:"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", 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">BODY(身)</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. }