|
@@ -47,7 +47,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 数据 -->
|
|
|
-<view wx:if="{{accountStatus==1}}" class="msgBox" style="white-space:nowrap;">
|
|
|
+<view wx:if="{{accountStatus==1}}" class="msgBox clearfix" style="white-space:nowrap;">
|
|
|
<!-- 标题和按钮 -->
|
|
|
<view class="msgBox-title-and-but">
|
|
|
<view class="msgBox-title">直播数据</view>
|
|
@@ -56,52 +56,59 @@
|
|
|
<view class="data-grid">
|
|
|
<view>
|
|
|
<view class="title">观看次数(次)</view>
|
|
|
- <view class="number">123</view>
|
|
|
+ <view class="number">{{liveDataCount.viewCounts}}</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
<view class="title">观看人数(人)</view>
|
|
|
- <view class="number">123</view>
|
|
|
+ <view class="number">{{liveDataCount.viewers}}</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
<view class="title">观看时长(分钟)</view>
|
|
|
- <view class="number">123</view>
|
|
|
+ <view class="number">{{liveDataCount.viewDuration}}</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
<view class="title">人均观看次数(次)</view>
|
|
|
- <view class="number">123</view>
|
|
|
+ <view class="number">{{liveDataCount.viewCountsAvg}}</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
<view class="title">人均观看时长(分钟)</view>
|
|
|
- <view class="number">123</view>
|
|
|
+ <view class="number">{{liveDataCount.viewDurationAvg}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 数据表格 -->
|
|
|
<scroll-view scroll-x="{{true}}" class="data-formlist">
|
|
|
<!-- 表头 -->
|
|
|
<view class="data-formlist-header">
|
|
|
- <view class="the-first-column">用户名称</view>
|
|
|
- <view class="the-second-series">用户id</view>
|
|
|
- <view class="the-second-series">观看时长</view>
|
|
|
- <view class="the-fourth-column">进入时间</view>
|
|
|
- <view class="the-word">地区</view>
|
|
|
- <view class="the-word">城市</view>
|
|
|
- <view class="the-first-column">观众IP</view>
|
|
|
- <view class="the-second-series">观看终端</view>
|
|
|
- <view class="the-second-series">场次</view>
|
|
|
- <view class="the-second-series">观看类型</view>
|
|
|
+ <view class="w200rpx">开始时间</view>
|
|
|
+ <view style="width: 180rpx;">直播id</view>
|
|
|
+ <view style="width: 160rpx;">观看次数(次)</view>
|
|
|
+ <view style="width: 200rpx;">观看时长(分钟)</view>
|
|
|
+ <view style="width: 240rpx;">描述</view>
|
|
|
</view>
|
|
|
<!-- 表格 -->
|
|
|
- <view wx:for="{{3}}" class="data-formlist-row">
|
|
|
- <view class="the-first-column">好吃的薯片</view>
|
|
|
- <view class="the-second-series">1234533</view>
|
|
|
- <view class="the-second-series">6小时</view>
|
|
|
- <view class="the-fourth-column">2021-12-23 17:00:34</view>
|
|
|
- <view class="the-word">浙江</view>
|
|
|
- <view class="the-word">嘉兴</view>
|
|
|
- <view class="the-first-column">192.168.0.1</view>
|
|
|
- <view class="the-second-series">终端1</view>
|
|
|
- <view class="the-second-series">10场</view>
|
|
|
- <view class="the-second-series">直播</view>
|
|
|
+ <view wx:for="{{liveSessionList}}" class="data-formlist-row">
|
|
|
+ <view class="w200rpx">{{item.starttime}}</view>
|
|
|
+ <view style="width: 180rpx;">{{item.sessionid}}</view>
|
|
|
+ <view style="width: 160rpx;">{{item.liveuv}}</view>
|
|
|
+ <view style="width: 200rpx;">{{item.duration}}</view>
|
|
|
+ <view style="width: 240rpx; display: flex; align-items: center;">
|
|
|
+ <input disabled="{{true}}" style="width: 100%; text-align: center;" type="text" value="{{item.description==null?'暂无':item.description}}" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
+ <view class="paging-button">
|
|
|
+ <view>
|
|
|
+ <van-button custom-class="paging-button-class" catchtap="buttonRightClick"></van-button>
|
|
|
+ <view class="paging-button-icon icon-right">
|
|
|
+ <van-icon name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <text>{{pageNumber}}</text>
|
|
|
+ <view>
|
|
|
+ <van-button custom-class="paging-button-class" catchtap="buttonLifeClick"></van-button>
|
|
|
+ <view class="paging-button-icon icon-left">
|
|
|
+ <van-icon name="arrow-left" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|