minNanyu.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <template>
  2. <view class="body2">
  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="jz_swiper">
  5. <u-swiper
  6. :list="list1"
  7. indicatorStyle="bottom: 10rpx"
  8. indicatorMode="dot"
  9. height="335rpx"
  10. :indicator="true"
  11. :autoplay="true"
  12. :circular="true"
  13. keyName="image"
  14. ></u-swiper>
  15. </view>
  16. <!--闽南语歌曲 -->
  17. <view class="text-wrapper_7">
  18. <text lines="1" class="text_4">闽南语歌曲</text>
  19. <text lines="1" class="text_5" @click="yinPinLieBiao">查看更多》</text>
  20. </view>
  21. <view class="banxin">
  22. <view class="content">
  23. <!-- 下列代码未加规范,仅供参考,请勿模仿 -->
  24. <scroll-view scroll-x style="display: flex; white-space: nowrap">
  25. <view class="mn_container" v-for="item in mnGeQu" :key="item">
  26. <view class="mn_box">
  27. <image style="border-radius: 10rpx 10rpx 10rpx 0rpx; width: 100%; height: 100%" :src="item.img"></image>
  28. </view>
  29. <text class="mn_text">{{ item.titie }}</text>
  30. </view>
  31. </scroll-view>
  32. </view>
  33. </view>
  34. <!--闽南语歌曲end -->
  35. <!-- 戏曲 -->
  36. <view class="text-wrapper_7">
  37. <text lines="1" class="text_4">戏曲</text>
  38. <text lines="1" class="text_5">查看更多》</text>
  39. </view>
  40. <view class="banxin">
  41. <view class="content">
  42. <!-- 下列代码未加规范,仅供参考,请勿模仿 -->
  43. <scroll-view scroll-x style="display: flex; white-space: nowrap">
  44. <view class="mn_container" v-for="item in mnXiQu" :key="item">
  45. <view class="mn_box">
  46. <image :src="item.img" style="border-radius: 10rpx 10rpx 10rpx 0rpx; width: 100%; height: 100%"></image>
  47. </view>
  48. <text class="mn_text">{{ item.titie }}</text>
  49. </view>
  50. </scroll-view>
  51. </view>
  52. </view>
  53. <!-- 戏曲end -->
  54. <!-- 俗语谚语歇后语 -->
  55. <!-- <view class="text-wrapper_7">
  56. <text lines="1" class="text_4">俗语谚语歇后语</text>
  57. <text lines="1" class="text_5">查看更多》</text>
  58. </view>
  59. <view class="banxin">
  60. <view class="content">
  61. <scroll-view scroll-x style="display: flex; white-space: nowrap">
  62. <view class="mn_container" v-for="item in 6" :key="item">
  63. <view class="mn_box">
  64. <image src="/static/image/kctp.png" style="border-radius: 10rpx 10rpx 10rpx 0rpx; width: 100%; height: 100%"></image>
  65. </view>
  66. <text class="mn_text">浪子回头金不换</text>
  67. </view>
  68. </scroll-view>
  69. </view>
  70. </view> -->
  71. <!-- 俗语谚语歇后语end -->
  72. <!--趣谈 -->
  73. <!-- <view class="text-wrapper_7">
  74. <text lines="1" class="text_4">趣谈</text>
  75. <text lines="1" class="text_5">查看更多》</text>
  76. </view>
  77. <view class="banxin">
  78. <view class="content">
  79. <scroll-view scroll-x style="display: flex; white-space: nowrap">
  80. <view class="mn_container" v-for="item in 6">
  81. <view class="mn_box">
  82. <image src="/static/image/kctp.png" style="border-radius: 10rpx 10rpx 10rpx 0rpx; width: 100%; height: 100%"></image>
  83. </view>
  84. <text class="mn_text">浪子回头金不换</text>
  85. </view>
  86. </scroll-view>
  87. </view>
  88. </view> -->
  89. <!-- 趣谈 -->
  90. </view>
  91. </template>
  92. <script>
  93. export default {
  94. data() {
  95. return {
  96. list1: [
  97. {
  98. image: 'https://speech.xmu.edu.cn/_upload/article/images/c0/fa/3ff524314ed9992200a0db99bb7b/824d7b82-5e07-4857-9c35-5d1219bc710f.jpg',
  99. title: '昨夜星辰昨夜风,画楼西畔桂堂东'
  100. },
  101. {
  102. image: 'https://img0.baidu.com/it/u=1455151824,1249683265&fm=253&fmt=auto&app=138&f=JPEG?w=667&h=500',
  103. title: '身无彩凤双飞翼,心有灵犀一点通'
  104. },
  105. {
  106. image: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fci.xiaohongshu.com%2F20292d28-c439-2758-a2a7-c954170fde70%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fci.xiaohongshu.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1697881437&t=db418f32a3826bfaf554feb7ae6f4ba8',
  107. title: '谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳'
  108. }
  109. ],
  110. // 闽南歌曲
  111. mnGeQu: [
  112. {
  113. img: 'http://t14.baidu.com/it/u=2294107695,3570586599&fm=224&app=112&f=JPEG?w=500&h=500',
  114. titie: '闽南经典歌曲'
  115. },
  116. {
  117. img: 'http://t14.baidu.com/it/u=561204940,3527801245&fm=224&app=112&f=JPEG?w=500&h=500',
  118. titie: '闽南30年经典老歌'
  119. },
  120. {
  121. img: 'https://img1.baidu.com/it/u=1473724061,3866170653&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500',
  122. titie: '闽南情'
  123. }
  124. ],
  125. mnXiQu: [
  126. {
  127. img: 'https://img.pconline.com.cn/images/upload/upc/tx/photoblog/1411/12/c1/40851785_40851785_1415781337347.jpg',
  128. titie: '闽剧王莲莲拜香'
  129. },
  130. {
  131. img: 'https://img1.baidu.com/it/u=1657718455,2908945415&fm=253&fmt=auto&app=138&f=JPEG?w=750&h=500',
  132. titie: '赏闽剧《北进图'
  133. },
  134. {
  135. img: 'https://img.pconline.com.cn/images/upload/upc/tx/photoblog/1301/11/c2/17299755_17299755_1357871971161.jpg',
  136. titie: '高甲戏(闽南传统民间戏剧)'
  137. }
  138. ]
  139. };
  140. },
  141. methods: {
  142. yinPinLieBiao() {
  143. uni.navigateTo({
  144. url: '/index_fenbao/minNanyu/yinPinLieBiao'
  145. });
  146. }
  147. }
  148. };
  149. </script>
  150. <style>
  151. .body2 {
  152. background-size: 100% 100%;
  153. background-attachment: fixed;
  154. background-repeat: repeat-y;
  155. background-color: #efefef;
  156. padding-bottom: 60rpx;
  157. }
  158. /deep/.u-swiper-indicator__wrapper__dot--active {
  159. width: 5px !important;
  160. }
  161. /* 去除轮播图标题遮罩背景色 */
  162. .u-swiper__wrapper__item__wrapper__title {
  163. background-color: transparent !important;
  164. }
  165. .banxin {
  166. margin: 0 32rpx 0 32rpx;
  167. }
  168. .text-wrapper_7 {
  169. width: 651rpx;
  170. height: 45rpx;
  171. flex-direction: row;
  172. display: flex;
  173. align-items: center;
  174. justify-content: space-between;
  175. margin: 33rpx 0 25rpx 48rpx;
  176. }
  177. .text_4 {
  178. width: 112rpx;
  179. height: 27rpx;
  180. color: rgba(49, 37, 32, 1);
  181. font-size: 28rpx;
  182. font-weight: 700;
  183. white-space: nowrap;
  184. line-height: 28rpx;
  185. }
  186. .text_5 {
  187. width: 89rpx;
  188. height: 20rpx;
  189. color: rgba(18, 18, 18, 1);
  190. font-size: 22rpx;
  191. white-space: nowrap;
  192. line-height: 20rpx;
  193. margin-top: 3rpx;
  194. }
  195. .mn_container {
  196. display: inline-block;
  197. margin-right: 20rpx;
  198. text-align: center;
  199. }
  200. .mn_box {
  201. width: 261rpx;
  202. height: 349rpx;
  203. background: #ca5642;
  204. border-radius: 10rpx 10rpx 10rpx 0rpx;
  205. }
  206. .mn_text {
  207. font-size: 28rpx;
  208. color: #333;
  209. }
  210. </style>