gongdengIntroduction.vue 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <template>
  2. <view>
  3. <view class="sticky-nav">
  4. <view class="nav-box">
  5. <u-icon name="arrow-left" color="#000" size="48" @click="backHome()"></u-icon>
  6. <text class="gongdeng-text">供灯说明</text>
  7. </view>
  8. </view>
  9. <view class="content_box">
  10. <rich-text :nodes="nodes"></rich-text>
  11. </view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. data() {
  17. return {
  18. nodes: [{
  19. name: 'p',
  20. attrs: {
  21. class: 'directory',
  22. },
  23. children: [{
  24. type: 'text',
  25. text: '1.功能介绍'
  26. }]
  27. },
  28. {
  29. name: 'p',
  30. attrs: {
  31. class: 'directory-content',
  32. },
  33. children: [{
  34. type: 'text',
  35. text: '自主选择不同象征意义的佛菩萨和时间,享受寺院专属佛龛前供奉特权,是互联网技术与传统线下寺院的融合。该功能板块主要有选择灯、我的供灯记录、我的灯券、供灯实时显示、每日福利组成。'
  36. }]
  37. },
  38. {
  39. name: 'p',
  40. attrs: {
  41. class: 'directory',
  42. },
  43. children: [{
  44. type: 'text',
  45. text: '2.为什么要佛前供灯?'
  46. }]
  47. },
  48. {
  49. name: 'p',
  50. attrs: {
  51. class: 'directory-content',
  52. },
  53. children:[{
  54. type: 'text',
  55. text: '灯是智慧和光明的象征,燃灯供佛是佛门中重要的供养之一。佛前点灯,功德无量。驱逐黑暗,心明眼亮,智慧显现。'
  56. }]
  57. },
  58. {
  59. name: 'p',
  60. attrs: {
  61. class: 'directory',
  62. },
  63. children: [{
  64. type: 'text',
  65. text: '3.佛前供灯的十大功德。'
  66. }]
  67. },
  68. {
  69. name: 'p',
  70. attrs: {
  71. class: 'directory-content',
  72. },
  73. children: [{
  74. type: 'text',
  75. text: '一、照世如灯。供灯者生生世世如同世间的明灯,转生为人也是人中之王,就像上师如意宝一样,慧灯照亮整个世界。'
  76. }]
  77. },
  78. {
  79. name: 'p',
  80. attrs: {
  81. class: 'directory-content',
  82. },
  83. children: [{
  84. type: 'text',
  85. text: '二、肉眼不坏。供灯者肉眼非常明亮,不会变成盲人,也不会成近视眼。'
  86. }]
  87. },
  88. {
  89. name: 'p',
  90. attrs: {
  91. class: 'directory-content',
  92. },
  93. children: [{
  94. type: 'text',
  95. text: '三、得于天眼。供灯者将来会获得五眼中的天眼。'
  96. }]
  97. },
  98. {
  99. name: 'p',
  100. attrs: {
  101. class: 'directory-content',
  102. },
  103. children: [{
  104. type: 'text',
  105. text: '四、善恶智能。能辨别善法和恶法,懂得一切因果取舍。现在世间上许多人极为盲目,不知善恶取舍,而供灯者的智慧超越其他人。'
  106. }]
  107. },
  108. {
  109. name: 'p',
  110. attrs: {
  111. class: 'directory-content',
  112. },
  113. children: [{
  114. type: 'text',
  115. text: '五、灭除大暗。具有超胜的智慧,能灭除自他相续中的一切愚痴黑暗。'
  116. }]
  117. },
  118. {
  119. name: 'p',
  120. attrs: {
  121. class: 'directory-content',
  122. },
  123. children: [{
  124. type: 'text',
  125. text: '六、得智能明。自己的智慧超群众人,不受外界的各种诱惑,有辨别取舍的能力。'
  126. }]
  127. },
  128. {
  129. name: 'p',
  130. attrs: {
  131. class: 'directory-content',
  132. },
  133. children: [{
  134. type: 'text',
  135. text: '七、不在暗处。生生世世不会转生在邪见或者黑暗的地方,住于光明的殊胜之地。'
  136. }]
  137. },
  138. {
  139. name: 'p',
  140. attrs: {
  141. class: 'directory-content',
  142. },
  143. children: [{
  144. type: 'text',
  145. text: '八、具大福报。转生为具有大福报的众生。'
  146. }]
  147. },
  148. {
  149. name: 'p',
  150. attrs: {
  151. class: 'directory-content',
  152. },
  153. children: [{
  154. type: 'text',
  155. text: '九、命终生天。命终后不会堕入恶趣,而会转生天界。其他经典中也说,长期供灯的人不会生于恶趣,而是上生天趣,即使投生人间,也生于高贵种族的家庭中,不会生在具邪见者的家里。'
  156. }]
  157. },
  158. {
  159. name: 'p',
  160. attrs: {
  161. class: 'directory-content',
  162. },
  163. children: [{
  164. type: 'text',
  165. text: '十、速证涅槃。在很快的时间中能证得圣者的果位。'
  166. }]
  167. }],
  168. }
  169. },
  170. methods: {
  171. backHome() {
  172. uni.navigateBack({
  173. delta: 1
  174. });
  175. },
  176. }
  177. }
  178. </script>
  179. <style lang="less">
  180. .sticky-nav {
  181. position: sticky;
  182. width: 100%;
  183. top: 0;
  184. z-index: 1;
  185. }
  186. .nav-box {
  187. width: 100%;
  188. padding-top: 90rpx;
  189. display: flex;
  190. align-items: center;
  191. background: #fff;
  192. height: 100rpx;
  193. padding-bottom: 50rpx;
  194. /deep/.u-icon{
  195. margin-left: 20rpx!important;
  196. }
  197. .gongdeng_back {
  198. width: 85rpx;
  199. height: 85rpx;
  200. padding-right: 35rpx;
  201. }
  202. .gongdeng-text {
  203. font-size: 40rpx;
  204. color: #000;
  205. margin-left: 250rpx;
  206. }
  207. }
  208. .content_box {
  209. margin: 0 15rpx 20rpx 15rpx;
  210. }
  211. /deep/.directory {
  212. font-size: 44rpx;
  213. font-weight: bold;
  214. }
  215. /deep/.directory-content {
  216. text-indent: 73rpx;
  217. font-size: 40rpx;
  218. color: rgb(165, 165, 165);
  219. }
  220. </style>