123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- <template>
- <view class="body" style="background-color: #efefef">
- <u-navbar :autoBack="true" title="梨园戏" bgColor="rgba(255,255,255,0)" :placeholder="true" titleStyle="font-weight:bold;color:#121212"></u-navbar>
- <view class="box_1">
- <!-- 视频 -->
- <view class="box_17">
- <view class="group_13">
- <video class="myVideo" enable-play-gesture="true" id="myVideo" src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/wap2appvsnative.mp4" controls></video>
- </view>
- </view>
- <view class="box_16">
- <text lines="1" class="text_2">闽南戏曲艺术中心首演季·青年剧展:《倪氏教子》,梨园戏!</text>
- <view class="block_6">
- <view class="image-text_36">
- <uni-icons type="star-filled" color="#4e7198" size="20"></uni-icons>
- <text lines="1" class="text-group_1">1.5w</text>
- </view>
- <view class="image-text_37">
- <uni-icons type="heart-filled" color="#ca5642" size="20"></uni-icons>
- <text lines="1" class="text-group_2">1.5w</text>
- </view>
- <view class="image-text_38">
- <uni-icons type="redo" color="#312520" size="20"></uni-icons>
- <text lines="1" class="text-group_3">分享</text>
- </view>
- </view>
- <view class="text-wrapper_1">
- <u-read-more showHeight="200rpx" toggle closeText="展开" color="#312520" :shadowStyle="{ backgroundImage: 'none' }">
- <rich-text :nodes="content"></rich-text>
- </u-read-more>
- </view>
- <view class="box_11">
- <view class="group_11">
- <view class="text-wrapper_2">
- <text lines="1" class="text_4">选集</text>
- <text lines="1" class="text_5">(全6集)</text>
- </view>
- </view>
- <view class="banxin">
- <view class="content">
- <!-- 下列代码未加规范,仅供参考,请勿模仿 -->
- <scroll-view scroll-x style="display: flex; white-space: nowrap">
- <view class="xj_container" v-for="item in 6" :key="item">
- <view class="xj_box">
- <text>第{{ item }}集</text>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- </view>
- <text lines="1" class="text_9">相关推荐</text>
- <view class="banxin">
- <view class="content">
- <!-- 下列代码未加规范,仅供参考,请勿模仿 -->
- <scroll-view scroll-x style="display: flex; white-space: nowrap">
- <view class="mn_container" v-for="item in 6" :key="item">
- <view class="mn_box">
- <image src="/static/image/fx.png" style="border-radius: 10rpx 10rpx 10rpx 0rpx; width: 100%; height: 100%"></image>
- </view>
- <view class="item_js">全{{ item }}集</view>
- <text class="mn_text">浪子回头金不换</text>
- </view>
- </scroll-view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- content:
- ' 演绎明代南安缙绅傅正,屡科不第,见儿子傅昆偏爱绘画,不喜读书八股,又遭妻子倪氏奚落演绎明代南安缙绅傅正,屡科不第,见儿子傅昆偏爱绘画,不喜读书八股,又遭妻子倪氏奚落,愤而前往雪峰寺出家。倪氏本性骄强,因丈夫屡试不中,饱受世情讥讽。又因“定要教子成器,金榜题名,才肯相见”的誓言,于是百般严厉教子,无所不用其极。',
- title: 'video',
- src: '',
- inputValue: '',
- isFullScreen: false
- };
- },
- methods: {}
- };
- </script>
- <style>
- .banxin {
- margin: 0 32rpx 0 32rpx;
- }
- .group_13 {
- width: 100%;
- height: 420rpx;
- }
- .myVideo {
- width: 100%;
- height: 100%;
- }
- .xj_container {
- display: inline-block;
- margin-right: 20rpx;
- text-align: center;
- }
- .xj_box {
- width: 200rpx;
- height: 60rpx;
- background: rgba(202, 86, 66, 0.08);
- border: 1px solid #ca5642;
- border-radius: 10rpx;
- line-height: 55rpx;
- }
- /deep/.u-read-more__toggle__text.data-v-47ca9a7f {
- width: 120rpx !important;
- height: 40rpx !important;
- background: #ffe4b0 !important;
- border-radius: 10rpx !important;
- margin-left: 550rpx !important;
- padding: 10rpx !important;
- margin-top: 20rpx !important;
- }
- .box_1 {
- width: 750rpx;
- display: flex;
- padding-bottom: 50rpx;
- flex-direction: column;
- }
- .mn_container {
- position: relative;
- display: inline-block;
- margin-right: 20rpx;
- text-align: center;
- }
- .mn_box {
- width: 261rpx;
- height: 349rpx;
- background: #ca5642;
- border-radius: 10rpx 10rpx 10rpx 0rpx;
- }
- .item_js {
- position: absolute;
- bottom: 60rpx;
- left: 125rpx;
- width: 112rpx;
- height: 50rpx;
- font-size: 24rpx;
- color: #ffffff;
- line-height: 50rpx;
- background-color: rgba(0, 0, 0, 0.2);
- border-radius: 10rpx;
- }
- .mn_text {
- font-size: 28rpx;
- color: #333;
- }
- .box_16 {
- width: 750rpx;
- display: flex;
- flex-direction: column;
- margin: 10rpx 0 1rpx 0;
- }
- .text_2 {
- width: 664rpx;
- height: 91rpx;
- overflow-wrap: break-word;
- color: rgba(49, 37, 32, 1);
- font-size: 36rpx;
- font-family: SourceHanSansCN-Regular;
- font-weight: normal;
- text-align: left;
- line-height: 56rpx;
- margin: 52rpx 0 0 35rpx;
- }
- .block_6 {
- width: 329rpx;
- height: 32rpx;
- flex-direction: row;
- display: flex;
- margin: 41rpx 0 0 32rpx;
- }
- .image-text_36 {
- width: 90rpx;
- height: 32rpx;
- flex-direction: row;
- display: flex;
- justify-content: space-between;
- }
- .text-group_1 {
- width: 50rpx;
- height: 19rpx;
- overflow-wrap: break-word;
- color: rgba(49, 37, 32, 1);
- font-size: 24rpx;
- font-family: SourceHanSansCN-Regular;
- font-weight: normal;
- text-align: left;
- white-space: nowrap;
- line-height: 24rpx;
- margin-top: 6rpx;
- }
- .image-text_37 {
- width: 90rpx;
- height: 32rpx;
- margin-left: 30rpx;
- flex-direction: row;
- display: flex;
- justify-content: space-between;
- }
- .text-group_2 {
- width: 50rpx;
- height: 19rpx;
- overflow-wrap: break-word;
- color: rgba(49, 37, 32, 1);
- font-size: 24rpx;
- font-family: SourceHanSansCN-Regular;
- font-weight: normal;
- text-align: left;
- white-space: nowrap;
- line-height: 24rpx;
- margin-top: 6rpx;
- }
- .image-text_38 {
- width: 87rpx;
- height: 32rpx;
- margin-left: 32rpx;
- flex-direction: row;
- display: flex;
- justify-content: space-between;
- }
- .text-group_3 {
- width: 46rpx;
- height: 23rpx;
- overflow-wrap: break-word;
- color: rgba(49, 37, 32, 1);
- font-size: 24rpx;
- font-family: SourceHanSansCN-Regular;
- font-weight: normal;
- text-align: left;
- white-space: nowrap;
- line-height: 24rpx;
- margin-top: 4rpx;
- }
- .text-wrapper_1 {
- background-color: rgba(255, 255, 255, 1);
- width: 749rpx;
- margin-top: 33rpx;
- display: flex;
- flex-direction: column;
- }
- .box_11 {
- background-color: rgba(255, 255, 255, 1);
- height: 172rpx;
- margin-top: 32rpx;
- width: 749rpx;
- display: flex;
- flex-direction: column;
- justify-content: flex-center;
- }
- .group_11 {
- width: 164rpx;
- height: 28rpx;
- display: flex;
- flex-direction: row;
- margin: 27rpx 0 20rpx 49rpx;
- }
- .text-wrapper_2 {
- width: 164rpx;
- height: 28rpx;
- overflow-wrap: break-word;
- font-size: 0rpx;
- font-family: SourceHanSansCN-Bold;
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- line-height: 28rpx;
- }
- .text_4 {
- width: 164rpx;
- height: 28rpx;
- overflow-wrap: break-word;
- color: rgba(49, 37, 32, 1);
- font-size: 28rpx;
- font-family: SourceHanSansCN-Bold;
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- line-height: 28rpx;
- }
- .text_5 {
- width: 164rpx;
- height: 28rpx;
- overflow-wrap: break-word;
- color: rgba(49, 37, 32, 1);
- font-size: 28rpx;
- font-family: SourceHanSansCN-Regular;
- font-weight: normal;
- text-align: left;
- white-space: nowrap;
- line-height: 28rpx;
- }
- .group_12 {
- width: 718rpx;
- height: 60rpx;
- flex-direction: row;
- display: flex;
- justify-content: space-between;
- margin: 30rpx 0 27rpx 32rpx;
- }
- .text-wrapper_3 {
- background-color: rgba(202, 86, 66, 0.08);
- border-radius: 10rpx;
- height: 60rpx;
- border: 1px solid rgba(202, 86, 66, 1);
- display: flex;
- flex-direction: column;
- width: 200rpx;
- }
- .text_6 {
- width: 60rpx;
- height: 23rpx;
- overflow-wrap: break-word;
- color: rgba(202, 86, 66, 1);
- font-size: 24rpx;
- font-family: SourceHanSansCN-Regular;
- font-weight: normal;
- text-align: left;
- white-space: nowrap;
- line-height: 56rpx;
- margin: 19rpx 0 0 70rpx;
- }
- .text_9 {
- width: 111rpx;
- height: 28rpx;
- overflow-wrap: break-word;
- color: rgba(49, 37, 32, 1);
- font-size: 28rpx;
- font-family: SourceHanSansCN-Bold;
- font-weight: 700;
- text-align: left;
- white-space: nowrap;
- line-height: 28rpx;
- margin: 46rpx 0 30rpx 48rpx;
- }
- .box_17 {
- height: 422rpx;
- display: flex;
- flex-direction: column;
- width: 750rpx;
- }
- </style>
|