kcXiangQing.vue 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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="box_1">
  5. <!-- 视频 -->
  6. <view class="box_17">
  7. <view class="group_13">
  8. <video class="myVideo" enable-play-gesture="true" id="myVideo" src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/wap2appvsnative.mp4" controls></video>
  9. </view>
  10. </view>
  11. <view class="box_16">
  12. <text lines="1" class="text_2">闽南戏曲艺术中心首演季·青年剧展:《倪氏教子》,梨园戏!</text>
  13. <view class="block_6">
  14. <view class="image-text_36">
  15. <uni-icons type="star-filled" color="#4e7198" size="20"></uni-icons>
  16. <text lines="1" class="text-group_1">1.5w</text>
  17. </view>
  18. <view class="image-text_37">
  19. <uni-icons type="heart-filled" color="#ca5642" size="20"></uni-icons>
  20. <text lines="1" class="text-group_2">1.5w</text>
  21. </view>
  22. <view class="image-text_38">
  23. <uni-icons type="redo" color="#312520" size="20"></uni-icons>
  24. <text lines="1" class="text-group_3">分享</text>
  25. </view>
  26. </view>
  27. <view class="text-wrapper_1">
  28. <u-read-more showHeight="200rpx" toggle closeText="展开" color="#312520" :shadowStyle="{ backgroundImage: 'none' }">
  29. <rich-text :nodes="content"></rich-text>
  30. </u-read-more>
  31. </view>
  32. <view class="box_11">
  33. <view class="group_11">
  34. <view class="text-wrapper_2">
  35. <text lines="1" class="text_4">选集</text>
  36. <text lines="1" class="text_5">(全6集)</text>
  37. </view>
  38. </view>
  39. <view class="banxin">
  40. <view class="content">
  41. <!-- 下列代码未加规范,仅供参考,请勿模仿 -->
  42. <scroll-view scroll-x style="display: flex; white-space: nowrap">
  43. <view class="xj_container" v-for="item in 6" :key="item">
  44. <view class="xj_box">
  45. <text>第{{ item }}集</text>
  46. </view>
  47. </view>
  48. </scroll-view>
  49. </view>
  50. </view>
  51. </view>
  52. <text lines="1" class="text_9">相关推荐</text>
  53. <view class="banxin">
  54. <view class="content">
  55. <!-- 下列代码未加规范,仅供参考,请勿模仿 -->
  56. <scroll-view scroll-x style="display: flex; white-space: nowrap">
  57. <view class="mn_container" v-for="item in 6" :key="item">
  58. <view class="mn_box">
  59. <image src="/static/image/fx.png" style="border-radius: 10rpx 10rpx 10rpx 0rpx; width: 100%; height: 100%"></image>
  60. </view>
  61. <view class="item_js">全{{ item }}集</view>
  62. <text class="mn_text">浪子回头金不换</text>
  63. </view>
  64. </scroll-view>
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. export default {
  73. data() {
  74. return {
  75. content:
  76. ' 演绎明代南安缙绅傅正,屡科不第,见儿子傅昆偏爱绘画,不喜读书八股,又遭妻子倪氏奚落演绎明代南安缙绅傅正,屡科不第,见儿子傅昆偏爱绘画,不喜读书八股,又遭妻子倪氏奚落,愤而前往雪峰寺出家。倪氏本性骄强,因丈夫屡试不中,饱受世情讥讽。又因“定要教子成器,金榜题名,才肯相见”的誓言,于是百般严厉教子,无所不用其极。',
  77. title: 'video',
  78. src: '',
  79. inputValue: '',
  80. isFullScreen: false
  81. };
  82. },
  83. methods: {}
  84. };
  85. </script>
  86. <style>
  87. .banxin {
  88. margin: 0 32rpx 0 32rpx;
  89. }
  90. .group_13 {
  91. width: 100%;
  92. height: 420rpx;
  93. }
  94. .myVideo {
  95. width: 100%;
  96. height: 100%;
  97. }
  98. .xj_container {
  99. display: inline-block;
  100. margin-right: 20rpx;
  101. text-align: center;
  102. }
  103. .xj_box {
  104. width: 200rpx;
  105. height: 60rpx;
  106. background: rgba(202, 86, 66, 0.08);
  107. border: 1px solid #ca5642;
  108. border-radius: 10rpx;
  109. line-height: 55rpx;
  110. }
  111. /deep/.u-read-more__toggle__text.data-v-47ca9a7f {
  112. width: 120rpx !important;
  113. height: 40rpx !important;
  114. background: #ffe4b0 !important;
  115. border-radius: 10rpx !important;
  116. margin-left: 550rpx !important;
  117. padding: 10rpx !important;
  118. margin-top: 20rpx !important;
  119. }
  120. .box_1 {
  121. width: 750rpx;
  122. display: flex;
  123. padding-bottom: 50rpx;
  124. flex-direction: column;
  125. }
  126. .mn_container {
  127. position: relative;
  128. display: inline-block;
  129. margin-right: 20rpx;
  130. text-align: center;
  131. }
  132. .mn_box {
  133. width: 261rpx;
  134. height: 349rpx;
  135. background: #ca5642;
  136. border-radius: 10rpx 10rpx 10rpx 0rpx;
  137. }
  138. .item_js {
  139. position: absolute;
  140. bottom: 60rpx;
  141. left: 125rpx;
  142. width: 112rpx;
  143. height: 50rpx;
  144. font-size: 24rpx;
  145. color: #ffffff;
  146. line-height: 50rpx;
  147. background-color: rgba(0, 0, 0, 0.2);
  148. border-radius: 10rpx;
  149. }
  150. .mn_text {
  151. font-size: 28rpx;
  152. color: #333;
  153. }
  154. .box_16 {
  155. width: 750rpx;
  156. display: flex;
  157. flex-direction: column;
  158. margin: 10rpx 0 1rpx 0;
  159. }
  160. .text_2 {
  161. width: 664rpx;
  162. height: 91rpx;
  163. overflow-wrap: break-word;
  164. color: rgba(49, 37, 32, 1);
  165. font-size: 36rpx;
  166. font-family: SourceHanSansCN-Regular;
  167. font-weight: normal;
  168. text-align: left;
  169. line-height: 56rpx;
  170. margin: 52rpx 0 0 35rpx;
  171. }
  172. .block_6 {
  173. width: 329rpx;
  174. height: 32rpx;
  175. flex-direction: row;
  176. display: flex;
  177. margin: 41rpx 0 0 32rpx;
  178. }
  179. .image-text_36 {
  180. width: 90rpx;
  181. height: 32rpx;
  182. flex-direction: row;
  183. display: flex;
  184. justify-content: space-between;
  185. }
  186. .text-group_1 {
  187. width: 50rpx;
  188. height: 19rpx;
  189. overflow-wrap: break-word;
  190. color: rgba(49, 37, 32, 1);
  191. font-size: 24rpx;
  192. font-family: SourceHanSansCN-Regular;
  193. font-weight: normal;
  194. text-align: left;
  195. white-space: nowrap;
  196. line-height: 24rpx;
  197. margin-top: 6rpx;
  198. }
  199. .image-text_37 {
  200. width: 90rpx;
  201. height: 32rpx;
  202. margin-left: 30rpx;
  203. flex-direction: row;
  204. display: flex;
  205. justify-content: space-between;
  206. }
  207. .text-group_2 {
  208. width: 50rpx;
  209. height: 19rpx;
  210. overflow-wrap: break-word;
  211. color: rgba(49, 37, 32, 1);
  212. font-size: 24rpx;
  213. font-family: SourceHanSansCN-Regular;
  214. font-weight: normal;
  215. text-align: left;
  216. white-space: nowrap;
  217. line-height: 24rpx;
  218. margin-top: 6rpx;
  219. }
  220. .image-text_38 {
  221. width: 87rpx;
  222. height: 32rpx;
  223. margin-left: 32rpx;
  224. flex-direction: row;
  225. display: flex;
  226. justify-content: space-between;
  227. }
  228. .text-group_3 {
  229. width: 46rpx;
  230. height: 23rpx;
  231. overflow-wrap: break-word;
  232. color: rgba(49, 37, 32, 1);
  233. font-size: 24rpx;
  234. font-family: SourceHanSansCN-Regular;
  235. font-weight: normal;
  236. text-align: left;
  237. white-space: nowrap;
  238. line-height: 24rpx;
  239. margin-top: 4rpx;
  240. }
  241. .text-wrapper_1 {
  242. background-color: rgba(255, 255, 255, 1);
  243. width: 749rpx;
  244. margin-top: 33rpx;
  245. display: flex;
  246. flex-direction: column;
  247. }
  248. .box_11 {
  249. background-color: rgba(255, 255, 255, 1);
  250. height: 172rpx;
  251. margin-top: 32rpx;
  252. width: 749rpx;
  253. display: flex;
  254. flex-direction: column;
  255. justify-content: flex-center;
  256. }
  257. .group_11 {
  258. width: 164rpx;
  259. height: 28rpx;
  260. display: flex;
  261. flex-direction: row;
  262. margin: 27rpx 0 20rpx 49rpx;
  263. }
  264. .text-wrapper_2 {
  265. width: 164rpx;
  266. height: 28rpx;
  267. overflow-wrap: break-word;
  268. font-size: 0rpx;
  269. font-family: SourceHanSansCN-Bold;
  270. font-weight: 700;
  271. text-align: left;
  272. white-space: nowrap;
  273. line-height: 28rpx;
  274. }
  275. .text_4 {
  276. width: 164rpx;
  277. height: 28rpx;
  278. overflow-wrap: break-word;
  279. color: rgba(49, 37, 32, 1);
  280. font-size: 28rpx;
  281. font-family: SourceHanSansCN-Bold;
  282. font-weight: 700;
  283. text-align: left;
  284. white-space: nowrap;
  285. line-height: 28rpx;
  286. }
  287. .text_5 {
  288. width: 164rpx;
  289. height: 28rpx;
  290. overflow-wrap: break-word;
  291. color: rgba(49, 37, 32, 1);
  292. font-size: 28rpx;
  293. font-family: SourceHanSansCN-Regular;
  294. font-weight: normal;
  295. text-align: left;
  296. white-space: nowrap;
  297. line-height: 28rpx;
  298. }
  299. .group_12 {
  300. width: 718rpx;
  301. height: 60rpx;
  302. flex-direction: row;
  303. display: flex;
  304. justify-content: space-between;
  305. margin: 30rpx 0 27rpx 32rpx;
  306. }
  307. .text-wrapper_3 {
  308. background-color: rgba(202, 86, 66, 0.08);
  309. border-radius: 10rpx;
  310. height: 60rpx;
  311. border: 1px solid rgba(202, 86, 66, 1);
  312. display: flex;
  313. flex-direction: column;
  314. width: 200rpx;
  315. }
  316. .text_6 {
  317. width: 60rpx;
  318. height: 23rpx;
  319. overflow-wrap: break-word;
  320. color: rgba(202, 86, 66, 1);
  321. font-size: 24rpx;
  322. font-family: SourceHanSansCN-Regular;
  323. font-weight: normal;
  324. text-align: left;
  325. white-space: nowrap;
  326. line-height: 56rpx;
  327. margin: 19rpx 0 0 70rpx;
  328. }
  329. .text_9 {
  330. width: 111rpx;
  331. height: 28rpx;
  332. overflow-wrap: break-word;
  333. color: rgba(49, 37, 32, 1);
  334. font-size: 28rpx;
  335. font-family: SourceHanSansCN-Bold;
  336. font-weight: 700;
  337. text-align: left;
  338. white-space: nowrap;
  339. line-height: 28rpx;
  340. margin: 46rpx 0 30rpx 48rpx;
  341. }
  342. .box_17 {
  343. height: 422rpx;
  344. display: flex;
  345. flex-direction: column;
  346. width: 750rpx;
  347. }
  348. </style>