tanghaolin
2022-11-03 521cea56f26ef3f49d467f2af79aa80ebda70500
video/single/index.wxml
@@ -53,8 +53,15 @@
<!--  -->
<view class="ykt-detail-wraper" wx:if="{{list.LiveUrl && list}}">
<!-- 监控功能切换tabbar -->
<!-- <scroll-view scroll-x class="bg-white nav">
  <view class='flex text-center'>
    <view class="cu-item flex-sub {{videoTabBarIndex ==1?'text-cyan cur':''}}" bindtap="videoTabBarChange" data-id="1">基本信息</view>
    <view class="cu-item flex-sub {{videoTabBarIndex ==2?'text-cyan cur':''}}" bindtap="videoTabBarChange" data-id="2">告警记录 </view>
  </view>
</scroll-view> -->
<!-- 基本信息 -->
<view class="ykt-detail-wraper" wx:if="{{list.LiveUrl && list && videoTabBarIndex == 1}}">
    <view class="ykt-head">
        <text class="ykt-type-name">{{list.Name}}</text>
    </view>                          
@@ -75,37 +82,15 @@
            <text class="detail-item-label">是否旋转</text>
            <text class="detail-item-value">{{list.IsRotateAble==true ? '可旋转' : '不可旋转'}}</text>
        </view>
        <!-- <view class="detail-item">
            <text class="detail-item-label">播放地址</text>
            <text class="detail-item-value">{{list.TokenInfo.LiveUrl}}</text>
        </view> -->
        <!-- <view class="detail-item">
            <text class="detail-item-label">播放进度</text>
            <text class="detail-item-value">{{videoTime.currentTime}}</text>
        </view>
        <view class="detail-item">
            <text class="detail-item-label">播放时长</text>
            <text class="detail-item-value">{{videoTime.duration}}</text>
        </view> -->
    </view>
    <view class="v_operation" wx:if='{{list.IsRotateAble==true }}' style="bottom: 11%;right: 35%;top: unset;">
    <view class="v_operation" wx:if='{{list.IsRotateAble==true }}' style="bottom: 9%;right: 35%;top: unset;">
        <icon class="iconfont icon-jiantou IsRotateAble {{btnCmd=='top'?'btn-cmd-active':''}}" style="top: -15px;" data-cmd='0' data-direction="top" bindtouchstart="fullScreenStart" bindtouchend="fullScreenEnd"></icon>
        <icon class="iconfont icon-jiantou IsRotateAble {{btnCmd=='bottom'?'btn-cmd-active':''}}" style="bottom: -55px;top:52rpx" data-cmd='1' data-direction="bottom" bindtouchstart="fullScreenStart" bindtouchend="fullScreenEnd"></icon>
        <icon class="iconfont icon-jiantou IsRotateAble {{btnCmd=='left'?'btn-cmd-active':''}}" style="left: -15px;" data-cmd='2' data-direction="left"  bindtouchstart="fullScreenStart" bindtouchend="fullScreenEnd"></icon>
        <icon class="iconfont icon-jiantou IsRotateAble {{btnCmd=='right'?'btn-cmd-active':''}}" style="right:-15px;" data-cmd='3' data-direction="right" bindtouchstart="fullScreenStart" bindtouchend="fullScreenEnd"></icon>
      </view>
</view>
<!-- 告警列表 -->
<!-- <scroll-view scroll-y>
<button wx:if="{{false}}" bindtap="toPlayBack">回放</button>
<!-- <video-swiper
  class="video-swiper"
  video-list="{{videoList}}"
  bindplay="onPlay"
  bindpause="onPause"
  bindtimeupdate="onTimeUpdate"
  bindended="onEnded"
  binderror="onError"
  bindwaiting="onWaiting"
  bindprogress="onProgress"
  bindloadedmetadata="onLoadedMetaData"
></video-swiper> -->
</scroll-view> -->