95 lines
3.9 KiB
XML
95 lines
3.9 KiB
XML
<view class="_video_html">
|
|
<view class="_video_box" id="_video_box">
|
|
<swiper class="_video_swiper" duration={{200}} vertical={{true}} current={{swiperCurrent}}>
|
|
<block a:for={{swiperList}}>
|
|
|
|
<swiper-item key="swiper_item_{{index}}" class="swiper_item">
|
|
<view class="swiper_item_warp" style="height:{{swiperItemHeight}}px">
|
|
<!-- 播放 -->
|
|
<block a:if={{swiperCurrent === index && item.chackpay == 1}}>
|
|
<video class="swiper_video_box" style="height:{{swiperItemHeight}}px" src={{item.video_url}} poster={{item.videocover}} autoplay={{true}} onError="videoErrorFn" objectFit="contain"></video>
|
|
</block>
|
|
|
|
<block a:if={{iosPayment.status === 2 || systemInfo.platform != 'ios'}}>
|
|
<view class="swiper_pay_modal">
|
|
<view class="sw_pay_mo_order">
|
|
<text>第几集</text></view>
|
|
<view class="sw_pay_isAutoplay_tips">
|
|
<text>当前剧集是付费剧集</text>
|
|
</view>
|
|
<view class="sw_pay_isAutoplay_btn">
|
|
<text>立即充值</text>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
<cover-view class="_swiper_video_cover">
|
|
<cover-view class="_chasing_dramas_cover" onTap="addChasingDramasFn">
|
|
<am-icon type="heart" size="{{26}}" color="{{videoInfoObj.iskeep === 0 ? '#ffffff' :'#FF2B2B'}}" />
|
|
<cover-view class="_chasing_dramas_text">追剧</cover-view>
|
|
</cover-view>
|
|
</cover-view>
|
|
|
|
</view>
|
|
</swiper-item>
|
|
|
|
</block>
|
|
</swiper>
|
|
</view>
|
|
|
|
<view class="_video_series" onTap="selectEpisodesFn">
|
|
<view class="_video_series_left">
|
|
<view class="_vi_ser_le_img">
|
|
<image mode="scaleToFill" src="{{imageBasUrl}}/iamge/video-bottom.png" class="_is_image" />
|
|
</view>
|
|
<view class="_vi_ser_le_order">
|
|
<text>第 {{swiperOrder}} 集</text>
|
|
</view>
|
|
</view>
|
|
<view class="_video_series_right">
|
|
<am-icon type="arrow-right" size="{{20}}" color="#fff" />
|
|
</view>
|
|
</view>
|
|
|
|
<popup show="{{orderPopupShow}}" position="bottom" onClose="onPopupClose">
|
|
<view class="_popup_order_content">
|
|
<view class="_pop_order_con_header">
|
|
<view class="_pop_ord_hea_left">
|
|
<view class="_pop_ord_hea_le_title">
|
|
<text>{{videoInfoObj.title}}</text>
|
|
</view>
|
|
<view class="_pop_ord_hea_le_all">
|
|
<text>全{{videoInfoObj.total}}集</text>
|
|
</view>
|
|
</view>
|
|
<view class="_pop_ord_hea_right" onTap="closeOrderPopup">
|
|
<!-- arrow-down -->
|
|
<am-icon type="cross" size="{{20}}" color="#333" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="_pop_order_con_tabs">
|
|
<tabs tabs={{orderList}} onTabClick="handleTabClick" activeTab="{{activeTab}} " className="_pop_order__tabs" tabBarActiveTextColor="#CE3636"
|
|
tabBarInactiveTextColor="#7F7F7F" tabBarUnderlineColor="#CE3636">
|
|
<block a:for={{orderList}}>
|
|
<tab-content key={{index}}>
|
|
<view class="tab_c_list">
|
|
<block a:for="{{item.temp}}" a:for-index="idx" a:for-item="j">
|
|
<view class="tab_c_list_ul" key={{idx}}>
|
|
<view class="tab_c_list_ul_li" data-item="{{j}}" onTap="handleOrderCurrent">
|
|
<text>{{index + idx + 1}}</text>
|
|
<view class="tab_c__ul_li_lock">
|
|
<image mode="scaleToFill" src="{{imageBasUrl}}/iamge/videoLock.png" class="_li_lock_image" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</tab-content>
|
|
</block>
|
|
</tabs>
|
|
</view>
|
|
</view>
|
|
</popup>
|
|
|
|
</view> |