mn_wenhua.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. <template>
  2. <view class="body" style="background-color: #efefef">
  3. <u-navbar :autoBack="true" title="文化" bgColor="rgba(255,255,255,0)" :placeholder="true" titleStyle="font-weight:bold;color:#121212"></u-navbar>
  4. <view class="banxin">
  5. <u-tabs
  6. :list="listTab"
  7. :lineWidth="30"
  8. lineColor="#4E7198"
  9. :activeStyle="{
  10. color: '#4E7198',
  11. fontSize: '34rpx'
  12. }"
  13. ></u-tabs>
  14. </view>
  15. <view class="box_1">
  16. <view class="box_28">
  17. <view class="text-wrapper_46">
  18. <text lines="1" class="text_8">课程录播</text>
  19. <text lines="1" class="text_9">查看更多》</text>
  20. </view>
  21. <view class="group_3" v-for="item in 2" :key="item">
  22. <view class="section_3">
  23. <image src="https://huli-app.wenlvti.net/app_static/minnanhun/image/kctp.png"></image>
  24. </view>
  25. <view class="section_16">
  26. <view class="text-group_36">
  27. <text lines="1" class="text_10">课程标题</text>
  28. <text lines="1" class="text_11">课程附标题</text>
  29. </view>
  30. <view class="text-wrapper_47">
  31. <text lines="1" class="text_12">会员价</text>
  32. <text lines="1" class="text_13">¥99</text>
  33. </view>
  34. </view>
  35. <view class="text-wrapper_4">
  36. <text lines="1" class="text_14">立即报名</text>
  37. </view>
  38. </view>
  39. <view class="text-wrapper_50">
  40. <text lines="1" class="text_25">文化集锦</text>
  41. <text lines="1" class="text_9">查看更多》</text>
  42. </view>
  43. <view class="list_5">
  44. <view class="image-text_2-0" v-for="item in 2" :key="item">
  45. <view class="box_4-0">
  46. <image src="../../../static/image/fx.png"></image>
  47. </view>
  48. <view class="box_30-0">
  49. <view class="text-group_39-0">
  50. <text lines="1" class="text_27-0">闽南的“博饼”文化</text>
  51. <text lines="1" class="text_28-0">起源于清初,相传是郑成功屯兵鼓..</text>
  52. </view>
  53. <view class="box_31-0">
  54. <view class="text-wrapper_10-0">
  55. <text lines="1" class="text_31-0">#博饼</text>
  56. </view>
  57. <view class="text-wrapper_11-0">
  58. <text lines="1" class="text_31-0">#博饼</text>
  59. </view>
  60. <view class="text-wrapper_25-0">
  61. <text lines="1" decode="true" class="text_47-0">+&nbsp;收藏</text>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. <view class="text-wrapper_50">
  68. <text lines="1" class="text_33">文章荟萃</text>
  69. <text lines="1" class="text_9">查看更多》</text>
  70. </view>
  71. <view class="section_18">
  72. <view class="box_7" v-for="item in 2" :key="item">
  73. <view class="box_8">
  74. <image style="width: 100%; height: 100%" src="../../../static/image/mn.png"></image>
  75. <view class="block_3">
  76. <view class="image-text_16">
  77. <uni-icons color="#ffffff" type="locked" size="20"></uni-icons>
  78. <text lines="1" class="text-group_8">待解锁</text>
  79. </view>
  80. </view>
  81. </view>
  82. <view class="group_25">
  83. <view class="text-group_41">
  84. <text lines="1" class="text_35">课程标题</text>
  85. <text lines="1" class="text_36">课程附标题</text>
  86. </view>
  87. <view class="block_10">
  88. <view class="text-wrapper_13">
  89. <text lines="1" class="text_31-0">#标签</text>
  90. </view>
  91. <view class="text-wrapper_14">
  92. <text lines="1" class="text_31-0">#标签</text>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="text-wrapper_28">
  97. <text lines="1" decode="true" class="text_49">+&nbsp;收藏</text>
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. </template>
  105. <script>
  106. export default {
  107. data() {
  108. return {
  109. listTab: [
  110. {
  111. name: '历史',
  112. tabid: 1
  113. },
  114. {
  115. name: '宗教',
  116. tabid: 2
  117. },
  118. {
  119. name: '经典',
  120. tabid: 3
  121. },
  122. {
  123. name: '人物',
  124. tabid: 4
  125. },
  126. {
  127. name: '社会',
  128. tabid: 5
  129. }
  130. ]
  131. };
  132. },
  133. methods: {}
  134. };
  135. </script>
  136. <style>
  137. .banxin {
  138. margin: 0 32rpx 0 32rpx;
  139. }
  140. .box_1 {
  141. width: 750rpx;
  142. display: flex;
  143. flex-direction: column;
  144. background-color: #efefef;
  145. }
  146. .box_28 {
  147. width: 750rpx;
  148. display: flex;
  149. flex-direction: column;
  150. }
  151. .text-wrapper_46 {
  152. width: 684rpx;
  153. height: 27rpx;
  154. flex-direction: row;
  155. display: flex;
  156. justify-content: space-between;
  157. margin: 42rpx 0 0 34rpx;
  158. }
  159. .text_8 {
  160. width: 111rpx;
  161. height: 27rpx;
  162. overflow-wrap: break-word;
  163. color: rgba(49, 37, 32, 1);
  164. font-size: 28rpx;
  165. font-family: SourceHanSansCN-Bold;
  166. font-weight: 700;
  167. text-align: left;
  168. white-space: nowrap;
  169. line-height: 28rpx;
  170. }
  171. .text_9 {
  172. width: 89rpx;
  173. height: 20rpx;
  174. color: rgba(18, 18, 18, 1);
  175. font-size: 22rpx;
  176. white-space: nowrap;
  177. line-height: 20rpx;
  178. margin-top: 4rpx;
  179. }
  180. .group_3 {
  181. background-color: rgba(255, 255, 255, 1);
  182. border-radius: 10rpx;
  183. width: 686rpx;
  184. height: 170rpx;
  185. flex-direction: row;
  186. display: flex;
  187. margin: 30rpx 0 0 31rpx;
  188. }
  189. .section_3 {
  190. background-color: rgba(202, 86, 66, 1);
  191. border-radius: 10rpx;
  192. width: 307rpx;
  193. height: 170rpx;
  194. display: flex;
  195. flex-direction: column;
  196. }
  197. .section_16 {
  198. width: 130rpx;
  199. height: 122rpx;
  200. display: flex;
  201. flex-direction: column;
  202. justify-content: space-between;
  203. margin: 29rpx 0 0 20rpx;
  204. }
  205. .text-group_36 {
  206. width: 111rpx;
  207. height: 61rpx;
  208. display: flex;
  209. flex-direction: column;
  210. justify-content: space-between;
  211. }
  212. .text_10 {
  213. width: 110rpx;
  214. height: 26rpx;
  215. overflow-wrap: break-word;
  216. color: rgba(49, 37, 32, 1);
  217. font-size: 28rpx;
  218. font-family: SourceHanSansCN-Regular;
  219. font-weight: normal;
  220. text-align: left;
  221. white-space: nowrap;
  222. line-height: 28rpx;
  223. margin-left: 1rpx;
  224. }
  225. .text_11 {
  226. width: 107rpx;
  227. height: 21rpx;
  228. overflow-wrap: break-word;
  229. color: rgba(102, 102, 102, 1);
  230. font-size: 22rpx;
  231. font-family: SourceHanSansCN-Regular;
  232. font-weight: normal;
  233. text-align: left;
  234. white-space: nowrap;
  235. line-height: 22rpx;
  236. margin-top: 14rpx;
  237. }
  238. .text-wrapper_47 {
  239. width: 125rpx;
  240. height: 22rpx;
  241. flex-direction: row;
  242. display: flex;
  243. justify-content: space-between;
  244. margin: 39rpx 0 0 5rpx;
  245. }
  246. .text_12 {
  247. width: 60rpx;
  248. height: 20rpx;
  249. overflow-wrap: break-word;
  250. color: rgba(202, 86, 66, 1);
  251. font-size: 20rpx;
  252. font-family: SourceHanSansCN-Regular;
  253. font-weight: normal;
  254. text-align: left;
  255. white-space: nowrap;
  256. line-height: 20rpx;
  257. margin-top: 2rpx;
  258. }
  259. .text_13 {
  260. width: 56rpx;
  261. height: 22rpx;
  262. overflow-wrap: break-word;
  263. color: rgba(202, 86, 66, 1);
  264. font-size: 28rpx;
  265. font-family: SourceHanSansCN-Bold;
  266. font-weight: 700;
  267. text-align: left;
  268. white-space: nowrap;
  269. line-height: 28rpx;
  270. }
  271. .text-wrapper_4 {
  272. background-color: rgba(202, 86, 66, 1);
  273. border-radius: 10rpx;
  274. height: 44rpx;
  275. display: flex;
  276. flex-direction: column;
  277. width: 129rpx;
  278. margin: 115rpx 18rpx 0 82rpx;
  279. }
  280. .text_14 {
  281. width: 92rpx;
  282. height: 23rpx;
  283. overflow-wrap: break-word;
  284. color: rgba(248, 226, 175, 1);
  285. font-size: 24rpx;
  286. font-family: SourceHanSansCN-Regular;
  287. font-weight: normal;
  288. text-align: left;
  289. white-space: nowrap;
  290. line-height: 24rpx;
  291. margin: 10rpx 0 0 18rpx;
  292. }
  293. .text-wrapper_50 {
  294. width: 670rpx;
  295. height: 27rpx;
  296. flex-direction: row;
  297. display: flex;
  298. justify-content: space-between;
  299. margin: 32rpx 0 0 32rpx;
  300. }
  301. .text_25 {
  302. width: 111rpx;
  303. height: 27rpx;
  304. overflow-wrap: break-word;
  305. color: rgba(49, 37, 32, 1);
  306. font-size: 28rpx;
  307. font-family: SourceHanSansCN-Bold;
  308. font-weight: 700;
  309. text-align: left;
  310. white-space: nowrap;
  311. line-height: 28rpx;
  312. }
  313. .list_5 {
  314. width: 686rpx;
  315. display: flex;
  316. flex-direction: column;
  317. justify-content: space-between;
  318. margin: 30rpx 0 0 31rpx;
  319. }
  320. .image-text_2-0 {
  321. background-color: rgba(255, 255, 255, 1);
  322. border-radius: 10rpx;
  323. width: 686rpx;
  324. height: 170rpx;
  325. margin-bottom: 31rpx;
  326. flex-direction: row;
  327. display: flex;
  328. }
  329. .box_4-0 {
  330. border-radius: 10rpx;
  331. height: 170rpx;
  332. display: flex;
  333. flex-direction: column;
  334. width: 307rpx;
  335. background: rgba(202, 86, 66, 1);
  336. }
  337. .box_30-0 {
  338. position: relative;
  339. width: 343rpx;
  340. height: 125rpx;
  341. display: flex;
  342. flex-direction: column;
  343. margin: 29rpx 0 0 19rpx;
  344. }
  345. .text-group_39-0 {
  346. position: absolute;
  347. left: 1rpx;
  348. top: 0rpx;
  349. width: 337rpx;
  350. height: 62rpx;
  351. display: flex;
  352. flex-direction: column;
  353. justify-content: space-between;
  354. }
  355. .text_27-0 {
  356. width: 249rpx;
  357. height: 26rpx;
  358. overflow-wrap: break-word;
  359. color: rgba(49, 37, 32, 1);
  360. font-size: 28rpx;
  361. font-family: SourceHanSansCN-Regular;
  362. font-weight: normal;
  363. text-align: left;
  364. white-space: nowrap;
  365. line-height: 28rpx;
  366. margin-left: 2rpx;
  367. }
  368. .text_28-0 {
  369. width: 337rpx;
  370. height: 22rpx;
  371. overflow-wrap: break-word;
  372. color: rgba(102, 102, 102, 1);
  373. font-size: 22rpx;
  374. font-family: SourceHanSansCN-Regular;
  375. font-weight: normal;
  376. text-align: left;
  377. white-space: nowrap;
  378. line-height: 36rpx;
  379. margin-top: 14rpx;
  380. }
  381. .box_31-0 {
  382. width: 343rpx;
  383. height: 44rpx;
  384. margin-top: 81rpx;
  385. flex-direction: row;
  386. display: flex;
  387. }
  388. .text-wrapper_10-0 {
  389. background-color: rgba(202, 86, 66, 0.09);
  390. border-radius: 18rpx;
  391. height: 36rpx;
  392. border: 1px solid rgba(202, 87, 66, 1);
  393. margin-top: 7rpx;
  394. display: flex;
  395. flex-direction: column;
  396. width: 84rpx;
  397. }
  398. .text_31-0 {
  399. width: 50rpx;
  400. height: 19rpx;
  401. overflow-wrap: break-word;
  402. color: rgba(202, 86, 66, 1);
  403. font-size: 20rpx;
  404. font-family: SourceHanSansCN-Regular;
  405. font-weight: normal;
  406. text-align: left;
  407. white-space: nowrap;
  408. line-height: 46rpx;
  409. margin: -6rpx 0 0 12rpx;
  410. }
  411. .text-wrapper_11-0 {
  412. background-color: rgba(255, 135, 2, 0.09);
  413. border-radius: 18rpx;
  414. height: 36rpx;
  415. border: 1px solid rgba(255, 135, 2, 1);
  416. display: flex;
  417. flex-direction: column;
  418. width: 84rpx;
  419. margin: 7rpx 0 0 11rpx;
  420. }
  421. .text-wrapper_25-0 {
  422. background-color: rgba(78, 113, 152, 1);
  423. border-radius: 10rpx;
  424. height: 44rpx;
  425. margin-left: 60rpx;
  426. display: flex;
  427. flex-direction: column;
  428. width: 104rpx;
  429. }
  430. .text_47-0 {
  431. width: 65rpx;
  432. height: 23rpx;
  433. overflow-wrap: break-word;
  434. color: rgba(255, 255, 255, 1);
  435. font-size: 24rpx;
  436. font-family: SourceHanSansCN-Regular;
  437. font-weight: normal;
  438. text-align: left;
  439. white-space: nowrap;
  440. line-height: 24rpx;
  441. margin: 10rpx 0 0 18rpx;
  442. }
  443. .text_33 {
  444. width: 111rpx;
  445. height: 28rpx;
  446. overflow-wrap: break-word;
  447. color: rgba(49, 37, 32, 1);
  448. font-size: 28rpx;
  449. font-family: SourceHanSansCN-Bold;
  450. font-weight: 700;
  451. text-align: left;
  452. white-space: nowrap;
  453. line-height: 28rpx;
  454. }
  455. .section_18 {
  456. width: 686rpx;
  457. height: 371rpx;
  458. display: flex;
  459. flex-direction: column;
  460. justify-content: space-between;
  461. margin: 29rpx 0 32rpx 31rpx;
  462. }
  463. .box_7 {
  464. background-color: rgba(255, 255, 255, 1);
  465. border-radius: 10rpx;
  466. width: 686rpx;
  467. height: 170rpx;
  468. flex-direction: row;
  469. display: flex;
  470. }
  471. .box_8 {
  472. background-color: rgba(202, 86, 66, 1);
  473. border-radius: 10rpx;
  474. height: 170rpx;
  475. display: flex;
  476. flex-direction: column;
  477. width: 307rpx;
  478. }
  479. .block_3 {
  480. position: absolute;
  481. background-color: rgba(0, 0, 0, 0.3);
  482. border-radius: 10rpx;
  483. width: 307rpx;
  484. height: 170rpx;
  485. display: flex;
  486. flex-direction: row;
  487. }
  488. .image-text_16 {
  489. width: 97rpx;
  490. height: 27rpx;
  491. flex-direction: row;
  492. display: flex;
  493. justify-content: space-between;
  494. margin: 71rpx 0 0 105rpx;
  495. line-height: 25rpx;
  496. }
  497. .text-group_8 {
  498. width: 71rpx;
  499. height: 23rpx;
  500. overflow-wrap: break-word;
  501. color: rgba(255, 255, 255, 1);
  502. font-size: 24rpx;
  503. font-family: SourceHanSansCN-Regular;
  504. font-weight: normal;
  505. text-align: left;
  506. white-space: nowrap;
  507. line-height: 24rpx;
  508. margin-top: 3rpx;
  509. }
  510. .group_25 {
  511. width: 179rpx;
  512. height: 122rpx;
  513. display: flex;
  514. flex-direction: column;
  515. justify-content: space-between;
  516. margin: 29rpx 0 0 19rpx;
  517. }
  518. .text-group_41 {
  519. width: 111rpx;
  520. height: 61rpx;
  521. margin-left: 1rpx;
  522. display: flex;
  523. flex-direction: column;
  524. justify-content: space-between;
  525. }
  526. .text_35 {
  527. width: 110rpx;
  528. height: 26rpx;
  529. overflow-wrap: break-word;
  530. color: rgba(49, 37, 32, 1);
  531. font-size: 28rpx;
  532. font-family: SourceHanSansCN-Regular;
  533. font-weight: normal;
  534. text-align: left;
  535. white-space: nowrap;
  536. line-height: 28rpx;
  537. margin-left: 1rpx;
  538. }
  539. .text_36 {
  540. width: 107rpx;
  541. height: 21rpx;
  542. overflow-wrap: break-word;
  543. color: rgba(102, 102, 102, 1);
  544. font-size: 22rpx;
  545. font-family: SourceHanSansCN-Regular;
  546. font-weight: normal;
  547. text-align: left;
  548. white-space: nowrap;
  549. line-height: 22rpx;
  550. margin-top: 14rpx;
  551. }
  552. .block_10 {
  553. width: 179rpx;
  554. height: 36rpx;
  555. margin-top: 25rpx;
  556. flex-direction: row;
  557. display: flex;
  558. justify-content: space-between;
  559. }
  560. .text-wrapper_13 {
  561. background-color: rgba(202, 86, 66, 0.09);
  562. border-radius: 18rpx;
  563. height: 36rpx;
  564. border: 1px solid rgba(202, 87, 66, 1);
  565. display: flex;
  566. flex-direction: column;
  567. width: 84rpx;
  568. }
  569. .text-wrapper_14 {
  570. background-color: rgba(255, 135, 2, 0.09);
  571. border-radius: 18rpx;
  572. height: 36rpx;
  573. border: 1px solid rgba(255, 135, 2, 1);
  574. display: flex;
  575. flex-direction: column;
  576. width: 84rpx;
  577. }
  578. .text-wrapper_28 {
  579. background-color: rgba(78, 113, 152, 1);
  580. border-radius: 10rpx;
  581. height: 44rpx;
  582. display: flex;
  583. flex-direction: column;
  584. width: 104rpx;
  585. margin: 106rpx 17rpx 0 60rpx;
  586. }
  587. .text_49 {
  588. width: 65rpx;
  589. height: 23rpx;
  590. overflow-wrap: break-word;
  591. color: rgba(255, 255, 255, 1);
  592. font-size: 24rpx;
  593. font-family: SourceHanSansCN-Regular;
  594. font-weight: normal;
  595. text-align: left;
  596. white-space: nowrap;
  597. line-height: 24rpx;
  598. margin: 10rpx 0 0 18rpx;
  599. }
  600. </style>