257 lines
17 KiB
Plaintext
257 lines
17 KiB
Plaintext
<view class="_vv_detail_html" style="padding-bottom: {{platform == 'ios' ? 80 : 40}}rpx;">
|
|
<!-- style="padding-bottom: {{safeAreaBottom}}px;" platform style="padding-bottom: {{platform == 'ios' ? 80 : 40}}rpx;"-->
|
|
<swiper bindchange="handelSeiperChange" class="_vv_de_swiper" vertical="{{true}}" duration="{{100}}"
|
|
easing-function="easeInOutCubic" current="{{videoPlayerCurrent}}">
|
|
<!-- tt:for="{{batchList}}" tt:if="{{false}}"-->
|
|
<block tt:for="{{batchList}}">
|
|
<swiper-item>
|
|
<!-- || index == videoPlayerCurrent - 1 || index == videoPlayerCurrent + 1 -->
|
|
<block tt:if="{{index == videoPlayerCurrent }}">
|
|
<view class="_swiper_item_warp">
|
|
<block tt:if="{{videoInfo.chackpay == 1}}">
|
|
<block tt:if="{{videoCanIUse}}">
|
|
<!-- videoPlayerCurrent == index -->
|
|
<video-player class="_m_v_w_video_player" album-id="{{videoInfo.album_id}}"
|
|
episode-id="{{videoInfo.episode_id}}" cloud-type="{{videoInfo.cloudType}}"
|
|
three-party-cloud="{{item.video_url}}" version="1"
|
|
enable-progress-gesture="{{true}}" autoplay="{{videoPlayerCurrent == index}}"
|
|
id="{{item.id}}" enable-dark-water-mark="{{true}}" bindended="videoPlayerEnded"
|
|
binderror="videPlayerError" show-fullscreen-btn="{{false}}" object-fit="cover">
|
|
<!-- <block tt:if="{{videoPlayerCurrent == index}}">
|
|
<block tt:if="{{videoErrorText}}">
|
|
<view class="_iii_video_content">
|
|
<block tt:if="{{videoErrorText}}">
|
|
<view class="_iii_video_co_err_warp">
|
|
<view class="_iii_vi_co_e_img">
|
|
<image src="/static/error-page.png"
|
|
class="__wa_img_no_radius">
|
|
</image>
|
|
</view>
|
|
<view class="_iii_vi_co_err">
|
|
<text class="_iii_vi_co_err_text">{{videoErrorText}}</text>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</block>
|
|
</block> -->
|
|
</video-player>
|
|
</block>
|
|
<block tt:else>
|
|
<video class="_m_v_w_video_player" vslide-gesture="{{true}}"
|
|
src="{{videoInfo.video_url}}" version="1" enable-progress-gesture="{{true}}"
|
|
autoplay="{{ videoPlayerCurrent == index}}" id="{{item.id}}"
|
|
enable-dark-water-mark="{{true}}" bindended="videoPlayerEnded" binderror="videError"
|
|
show-fullscreen-btn="{{false}}">
|
|
<!-- <block tt:if="{{videoPlayerCurrent == index}}">
|
|
<block tt:if="{{videoErrorText}}">
|
|
<view class="_iii_video_content">
|
|
<block tt:if="{{videoErrorText}}">
|
|
<view class="_iii_video_co_err_warp">
|
|
<view class="_iii_vi_co_e_img">
|
|
<image src="/static/error-page.png"
|
|
class="__wa_img_no_radius">
|
|
</image>
|
|
</view>
|
|
<view class="_iii_vi_co_err">
|
|
<text class="_iii_vi_co_err_text">{{videoErrorText}}</text>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</block>
|
|
</block> -->
|
|
</video>
|
|
</block>
|
|
</block>
|
|
<block tt:else>
|
|
<view class="_k_l_unlock">
|
|
<view class="_m_v_w_it_ma_cover">
|
|
<image src="{{videoInfo.cover}}" mode="aspectFill" class="__wa_img_no_radius">
|
|
</image>
|
|
</view>
|
|
<view class="_k_l_unlo_mask" tt:if="{{unlockFlag}}">
|
|
<view class="_k_l_unlo_btn_warp">
|
|
<!-- <icon class="_k_l_unlo_btn_warp_icon" size="{{28}}" type="cancel" color="#fff"
|
|
catchtap="hideUnlock"></icon> -->
|
|
<!-- <block tt:if="{{platform != 'ios'}}">
|
|
<view class="_k_l_unlo_ma_pay" catchtap="toPathPay">
|
|
<view class="_k_l_unlo_ma_p_icon">
|
|
<image src="/static//unlock_icon.png" class="__wa_img_no_radius">
|
|
</image>
|
|
</view>
|
|
<view class="_k_l_unlo_ma_name">
|
|
<text class="_k_l_unlo_ma_na_text">充值解锁</text>
|
|
</view>
|
|
</view>
|
|
</block> -->
|
|
<view class="_k_l_unlo_ma_ad" catchtap="watchAdvertisement">
|
|
<view class="_k_l_unlo_ma_p_icon">
|
|
<image src="/static/unlock_icon.png" class="__wa_img_no_radius">
|
|
</image>
|
|
</view>
|
|
<view class="_k_l_unlo_ma_name">
|
|
<text class="_k_l_unlo_ma_na_text">广告解锁</text>
|
|
</view>
|
|
</view>
|
|
<view class="_k_l_unlo_b_wa_ic">
|
|
<view class="_k_l_unlo_btn_warp_icon" catchtap="hideUnlock">
|
|
<image src="/static/close_cir.png" class="_ic_img"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="_k_l_unlo_mask" tt:else catchtap="showUnlockFlag">
|
|
<view>
|
|
<text class="_k_ll_show_un_text">点击屏幕再次解锁</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
<view class="_m_v_w_v_operate_l">
|
|
<view class="_m_vv_oper_l_col_w" data-id="{{videoInfo.sid}}" catchtap="handelCollection">
|
|
<view class="_m_vv_oper_l_collect">
|
|
<block tt:if="{{videoInfo.bookcase}}">
|
|
<image src="/static/collect_selected.png" class="__wa_img_no_radius"></image>
|
|
</block>
|
|
<block tt:else>
|
|
<image src="/static/collect_icon.png" class="__wa_img_no_radius"></image>
|
|
</block>
|
|
</view>
|
|
<view class="_m_vv_oper_l_col_sss">
|
|
<text class="_m_vv_oper_l_col_s_text">{{videoInfo.isCount}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="_m_vv_oper_l_col_w mt_36" catchtap="anthologyTap" data-id="{{item.id}}">
|
|
<view class="_m_vv_oper_l_collect">
|
|
<image src="/static/drama_series_icon.png" class="__wa_img_no_radius"></image>
|
|
</view>
|
|
<view class="_m_vv_oper_l_col_sss">
|
|
<text class="_m_vv_oper_l_col_s_text">选集</text>
|
|
</view>
|
|
</view>
|
|
<button open-type="share" class="_m_vv_oper_l_share">
|
|
<view class="_m_vv_oper_l_col_w mt_36">
|
|
<view class="_m_vv_oper_l_collect">
|
|
<image src="/static/share_icon.png" class="__wa_img_no_radius"></image>
|
|
</view>
|
|
<view class="_m_vv_oper_l_col_sss">
|
|
<text class="_m_vv_oper_l_col_s_text">分享</text>
|
|
</view>
|
|
</view>
|
|
</button>
|
|
</view>
|
|
<view class="_m_v_ww_info_vo">
|
|
<view class="_m_v_ww_in_vooo_title">
|
|
<!-- {{videoPlayerCurrent}}{{index}}--{{item.id}} -->
|
|
<text class="_m_v_ww_in_vooo_ti_text">{{videoInfo.title}}</text>
|
|
</view>
|
|
<view class="_m_v_ww_in_lll_num">
|
|
<text class="_m_v_ww_in_l_n_current">第{{item.order}}集 </text>
|
|
<text class="_m_v_ww_in_l_n_all">全剧{{batchList.length}}集</text>
|
|
</view>
|
|
<view class="_m_v_ww_in_ttt_tips">
|
|
<text class="_m_v_ww_in_ttt_t_text">{{videoInfo.description}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</swiper-item>
|
|
</block>
|
|
<block tt:if="{{nextbatchList.length}}">
|
|
<swiper-item>
|
|
<view class="_play_drama_complete">
|
|
<view class="_pla_dra_com_mask">
|
|
<image src="{{videoInfo.cover}}" mode="aspectFill" class="__wa_img_no_radius"></image>
|
|
</view>
|
|
<view class="_pla_dra_com_content">
|
|
<view class="_pla__com_con_title">
|
|
<text class="_pla__com_con_ti_text">本剧已结束</text>
|
|
</view>
|
|
<view class="_pla__com_con_warp">
|
|
<view class="_pla__com_con_w_header">
|
|
<view class="_pla__com__w_he_title">更多推荐</view>
|
|
<view class="_pla__com__w_he_exit" catchtap="handelReplace">换一换</view>
|
|
</view>
|
|
<view class="_pla__com_con_w_list">
|
|
<block tt:for="{{nextbatchList}}">
|
|
<view class="_pla__com_con_w_li_item" tt:key="{{item.id}}" data-sid="{{item.id}}"
|
|
catchtap="toPathVideoitself">
|
|
<view class="_pla__com_con_w_li_it_mm">
|
|
<view class="_pla__com__w_li_it_m_cover">
|
|
<image src="{{item.cover}}" mode="aspectFill"
|
|
class="_pla__com__w_li_it_m_co_img"></image>
|
|
</view>
|
|
<view class="_pla__com__w_li_it_m_title">
|
|
<text class="_pla__com__w_li_it_m_ti_text">{{item.name}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</swiper-item>
|
|
</block>
|
|
|
|
</swiper>
|
|
|
|
<view class="">
|
|
<view class="_vv_det_anthology_mask" tt:if="{{anthologyFlag}}">
|
|
</view>
|
|
<view class="_vv_det_anthology_dialog {{anthologyFlag ? 'ac_dis_blo' : ''}}">
|
|
<view class="_vv_det_ant_dia_header">
|
|
<view class="_vv_det_ant_dia_hea_name">
|
|
<text class="_vv_det_ant_dia_hea_na_text">{{videoInfo.title}}</text>
|
|
</view>
|
|
<view class="_vv_det_ant_dia_hea_close" catchtap="handelAnthologyClose">
|
|
<image src="/static/close_icon.png" class="__wa_img_no_radius"></image>
|
|
</view>
|
|
</view>
|
|
<view class="_vv_det_ant_dia_sort">
|
|
<scroll-view scroll-x="{{true}}" class="_vv_det_ant_dia_so_scr">
|
|
<block tt:for="{{selectionTabs}}">
|
|
<view class="_vv_det_ant_dia_so_sc_item" tt:key="{{item.name}}" data-name="{{item.name}}"
|
|
data-idx="{{index}}" catchtap="handelOrderTabs">
|
|
<text
|
|
class="_vv_det_ant_dia_so_sc_it_text {{roderCurrent == index ? 'ac_color':''}} ">{{item.name}}</text>
|
|
</view>
|
|
</block>
|
|
</scroll-view>
|
|
</view>
|
|
<view class="_vv_det_ant_dia_list">
|
|
<swiper class="_vv_det_ant_dia_li_warp" current="{{roderCurrent}}" bindchange="handelEpisode">
|
|
<block tt:for="{{selectionConList}}">
|
|
<swiper-item tt:key="{{index}}">
|
|
<view class="_vv_det_ant_dia_li_wa_ppp_li">
|
|
<view class="_vv_det_ant_dia_li_wa_p_hhhh">
|
|
<block tt:for="{{item.temp}}" tt:for-index="idx" tt:for-item="m">
|
|
<view class="_vv_det_ant_dia_li_wa_p_h_yyyy" tt:key="index_{{m.id}}">
|
|
<!-- collectionItem.order == m.order || -->
|
|
<view
|
|
class="_vv_det_ant_dia_li_wa_p_h_y_ggg {{( videoInfo.order == m.order) ? 'acv_class_color' :''}} "
|
|
catchtap="handelSelection" data-item="{{m}}">
|
|
<text class="_vv_det_ant_dia_li_wa_p_h_y_g_t">{{m.order}}</text>
|
|
<block tt:if="{{m.isvip}}">
|
|
<view class="_vv_det_ant_dia_li_wa_p_h_y_g_lock">
|
|
<image src="/static/ant_lock_icon.png"
|
|
class="__wa_img_no_radius">
|
|
</image>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<my-modal class="_m_modal_html" tt:ref="myModalRef" contentText="是否取消收藏?" cancelText="否" confirmText="是"
|
|
bind:handelConfirm="modalConfirm" bind:handelCancel="modalCancel" />
|
|
</view> |