|
@@ -1,78 +1,91 @@
|
|
|
-<view style="height: 14rpx;"></view>
|
|
|
<My_NavTabs tabsList="{{tabsList}}" tabsIndex="{{tabsIndex}}" bindsetIndex="setIndex" />
|
|
|
-<!-- 直播账号信息 -->
|
|
|
-<My_liveAccountMsg title='直播账号信息'>
|
|
|
- <view slot='but' wx:if="{{accountStatus==1}}" class="msgBox-but">
|
|
|
- <van-button custom-class="custom-class-msgBox-but" catchtap="showMyModel">我要开播</van-button>
|
|
|
- </view>
|
|
|
- <view slot='con'>
|
|
|
- <view wx:if="{{accountStatus==1}}" class="live-msg">
|
|
|
- <view class="live-msg-row">
|
|
|
- <view class="row-title">直播账号</view>
|
|
|
- <view class="row-content u-line-1">{{accountMsg.channelid}}</view>
|
|
|
+<view hidden="{{tabsIndex==2}}">
|
|
|
+ <!-- 直播账号信息 -->
|
|
|
+ <My_liveAccountMsg title='直播账号信息'>
|
|
|
+ <view slot='but' wx:if="{{accountStatus==1}}" class="msgBox-but">
|
|
|
+ <van-button custom-class="custom-class-msgBox-but" catchtap="showMyModel">我要开播</van-button>
|
|
|
+ </view>
|
|
|
+ <view slot='con'>
|
|
|
+ <view wx:if="{{accountStatus==1}}" class="live-msg">
|
|
|
+ <view class="live-msg-row">
|
|
|
+ <view class="row-title">直播账号</view>
|
|
|
+ <view class="row-content u-line-1">{{accountMsg.channelid}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="live-msg-row">
|
|
|
+ <view class="row-title">账号密码</view>
|
|
|
+ <view class="row-content u-line-1">{{accountMsg.channelpasswd}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="live-msg-row">
|
|
|
+ <view class="row-title">web端开播地址</view>
|
|
|
+ <view class="row-content u-line-1">{{accountMsg.fliveurl_web}}</view>
|
|
|
+ <view class="row-title copy" data-url='{{accountMsg.fliveurl_web}}' catchtap="copyTheAddress">复制</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="live-msg-row">
|
|
|
- <view class="row-title">账号密码</view>
|
|
|
- <view class="row-content u-line-1">{{accountMsg.channelpasswd}}</view>
|
|
|
+ <view wx:if="{{accountStatus!=1 && isSy}}" class="go-to-apply-for" catchtap="applyForLive">
|
|
|
+ {{accountStatus==3?'暂无账号 点击申请 ':'正在申请中 请稍等 '}}<image style="width: 20rpx; height: 22rpx; margin-left: 8rpx;" src="/static/icon-07.png"></image>
|
|
|
</view>
|
|
|
- <view class="live-msg-row">
|
|
|
- <view class="row-title">web端开播地址</view>
|
|
|
- <view class="row-content u-line-1">{{accountMsg.fliveurl_web}}</view>
|
|
|
- <view class="row-title copy" data-url='{{accountMsg.fliveurl_web}}' catchtap="copyTheAddress">复制</view>
|
|
|
+ <view wx:if="{{accountStatus!=1 && !isSy}}" class="go-to-apply-for">
|
|
|
+ 暂无展会直播账号
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view wx:if="{{accountStatus!=1 && isSy}}" class="go-to-apply-for" catchtap="applyForLive">
|
|
|
- {{accountStatus==3?'暂无账号 点击申请 ':'正在申请中 请稍等 '}}<image style="width: 20rpx; height: 22rpx; margin-left: 8rpx;" src="/static/icon-07.png"></image>
|
|
|
+ </My_liveAccountMsg>
|
|
|
+ <!-- 观看信息 -->
|
|
|
+ <My_liveAccountMsg wx:if="{{accountStatus==1}}" title='观看信息'>
|
|
|
+ <view slot='but' class="msgBox-but">
|
|
|
+ <van-button open-type='share' custom-class="custom-class-msgBox-but">一键分享</van-button>
|
|
|
</view>
|
|
|
- <view wx:if="{{accountStatus!=1 && !isSy}}" class="go-to-apply-for">
|
|
|
- 暂无展会直播账号
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</My_liveAccountMsg>
|
|
|
-<!-- 观看信息 -->
|
|
|
-<My_liveAccountMsg wx:if="{{accountStatus==1}}" title='观看信息'>
|
|
|
- <view slot='but' class="msgBox-but">
|
|
|
- <van-button open-type='share' custom-class="custom-class-msgBox-but">一键分享</van-button>
|
|
|
- </view>
|
|
|
- <view slot='con'>
|
|
|
- <view class="live-msg">
|
|
|
- <view class="live-msg-row">
|
|
|
- <view class="row-title">观看地址</view>
|
|
|
- <view class="row-content u-line-1">{{accountMsg.fliveshowurl}}</view>
|
|
|
- <view class="row-title copy" data-url='{{accountMsg.fliveshowurl}}' catchtap="copyTheAddress">复制</view>
|
|
|
+ <view slot='con'>
|
|
|
+ <view class="live-msg">
|
|
|
+ <view class="live-msg-row">
|
|
|
+ <view class="row-title">观看地址</view>
|
|
|
+ <view class="row-content u-line-1">{{accountMsg.fliveshowurl}}</view>
|
|
|
+ <view class="row-title copy" data-url='{{accountMsg.fliveshowurl}}' catchtap="copyTheAddress">复制</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
-</My_liveAccountMsg>
|
|
|
-<!-- 数据 -->
|
|
|
-<view wx:if="{{accountStatus==1}}" class="msgBox clearfix" style="white-space:nowrap;">
|
|
|
- <!-- 标题和按钮 -->
|
|
|
- <view class="msgBox-title-and-but">
|
|
|
- <view wx:if="{{dataTypes==0}}" class="msgBox-title">直播数据</view>
|
|
|
- <view wx:else class="msgBox-title">直播场次:{{showStartTime}}</view>
|
|
|
- </view>
|
|
|
- <!-- 数据宫格 -->
|
|
|
- <block>
|
|
|
- <view wx:if="{{false}}" class="data-grid">
|
|
|
- <view>
|
|
|
- <view class="title">观看次数(次)</view>
|
|
|
- <view class="number">{{liveDataCountForSession.viewCounts}}</view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view class="title">观看人数(人)</view>
|
|
|
- <view class="number">{{liveDataCountForSession.viewers}}</view>
|
|
|
+ </My_liveAccountMsg>
|
|
|
+ <!-- 数据 -->
|
|
|
+ <view wx:if="{{accountStatus==1}}" class="msgBox clearfix" style="white-space:nowrap;">
|
|
|
+ <!-- 标题和按钮 -->
|
|
|
+ <view class="msgBox-title-and-but">
|
|
|
+ <view class="msgBox-title">直播数据
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <view class="title">观看时长(分钟)</view>
|
|
|
- <view class="number">{{liveDataCountForSession.viewDuration}}</view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view class="title">人均观看次数(次)</view>
|
|
|
- <view class="number">{{liveDataCountForSession.viewCountsAvg}}</view>
|
|
|
+ </view>
|
|
|
+ <!-- 圆角tabs -->
|
|
|
+ <view style="height: 18rpx;"></view>
|
|
|
+ <My_RoundedCornerButtonTabs list='{{buttonTabs}}' bind:tabsSelectedIitem='tabsSelectedIitem'></My_RoundedCornerButtonTabs>
|
|
|
+ <!-- 实时聊天信息 -->
|
|
|
+ <view class="live-chat" hidden="{{CheckTheType!='当前直播'}}">
|
|
|
+ <view class="live-chat-title">观看人数:{{onlineNumber}}</view>
|
|
|
+ </view>
|
|
|
+ <!-- 数据宫格 -->
|
|
|
+ <view hidden="{{CheckTheType!='历史直播'}}" class="live-chat" style="height: 274rpx;" hidden="{{CheckTheType!='历史直播'}}">
|
|
|
+ <view class="live-chat-title">直播场次:
|
|
|
+ <picker mode="selector" range='{{sessionList}}' bindchange='selectorChange'>{{showStartTime}}
|
|
|
+ <image style="width: 14rpx; height: 8rpx;margin-bottom: 5rpx; margin-left: 10rpx;" src="/static/icon-13.png" />
|
|
|
+ </picker>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <view class="title">人均观看时长(分钟)</view>
|
|
|
- <view class="number">{{liveDataCountForSession.viewDurationAvg}}</view>
|
|
|
+ <view class="data-grid">
|
|
|
+ <view>
|
|
|
+ <view class="title">观看次数(次)</view>
|
|
|
+ <view class="number">{{liveDataCountForSession.viewCounts}}</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view class="title">观看人数(人)</view>
|
|
|
+ <view class="number">{{liveDataCountForSession.viewers}}</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view class="title">观看时长(分钟)</view>
|
|
|
+ <view class="number">{{liveDataCountForSession.viewDuration}}</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view class="title">人均观看次数(次)</view>
|
|
|
+ <view class="number">{{liveDataCountForSession.viewCountsAvg}}</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view class="title">人均观看时长(分钟)</view>
|
|
|
+ <view class="number">{{liveDataCountForSession.viewDurationAvg}}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<scroll-view scroll-x="{{true}}" class="data-formlist">
|
|
@@ -90,7 +103,7 @@
|
|
|
<view style="width: 180rpx;">观看类型</view>
|
|
|
</view>
|
|
|
<!-- 表格 -->
|
|
|
- <view wx:for="{{liveUserList}}" class="data-formlist-row live-for-details">
|
|
|
+ <view wx:for="{{CheckTheType=='当前直播'?crLiveUserList:liveUserList}}" class="data-formlist-row live-for-details {{listRowIndex==index?'acRow':''}}" data-index="{{index}}" catchtap="listRowAvtion">
|
|
|
<view class="w200rpx u-line-1">{{item.name}}</view>
|
|
|
<view class="u-line-1" style="width: 180rpx;">{{item.userid}}</view>
|
|
|
<view class="u-line-1" style="width: 160rpx;">{{item.playduration}}</view>
|
|
@@ -103,12 +116,27 @@
|
|
|
<view class="u-line-1" style="width: 180rpx;">{{item.viewtype=='live'?'直播':'回放'}}</view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
- </block>
|
|
|
- <!-- 分页 -->
|
|
|
- <My_paging show="{{liveSessionList.length>=1}}" count='{{dataTypes==0?pageNumber:userPageNumber}}' bind:lifeClick='buttonLifeClick' bind:rightClick='buttonRightClick'></My_paging>
|
|
|
+ <!-- 分页 -->
|
|
|
+ <My_paging show="{{liveSessionList.length>=1}}" count='{{dataTypes==0?pageNumber:userPageNumber}}' bind:lifeClick='buttonLifeClick' bind:rightClick='buttonRightClick'></My_paging>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
+<view hidden="{{tabsIndex!=2}}">
|
|
|
+ <My_liveAccountMsg title='观看信息'>
|
|
|
+ <view slot='con' class="clearfix" style="padding-left: 10rpx;">
|
|
|
+ <view wx:for="{{partnerLiveList}}" class="exhibition" data-fliveshowurl="{{item.fliveshowurl}}" catchtap="toLive">
|
|
|
+ <image class="exhibition-img" src="{{item.channelcoverimageurl}}" mode="aspectFill"></image>
|
|
|
+ <view class="exhibition-bottom">
|
|
|
+ <view class="exhibition-bottom-title u-line-1">{{item.fagentname}}</view>
|
|
|
+ <view class="exhibition-bottom-data">
|
|
|
+ <image src="/static/icon-11.png" />
|
|
|
+ <view class="exhibition-bottom-data-text u-line-1">{{item.viewers}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </My_liveAccountMsg>
|
|
|
</view>
|
|
|
<!-- 自定义model -->
|
|
|
<My_showModel isShow='{{myShowModel}}' content="直播地址:{{accountMsg.fliveurl_web}}" confirm='一键复制' cancel='知道了' bindcallBack='showModelCallBack' />
|
|
|
-
|
|
|
<!-- 自定义model -->
|
|
|
<My_showModel isShow='{{myShowModel2}}' content="您的私域直播账号正在申请中" hideCancel />
|