123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <!--pages/follow/follow.wxml-->
- <scroll-view class="follow" scroll-y="true" style="height:{{scrollHeight}}px;" bindscrolltolower="bindDownLoad" bindscroll="scroll">
- <view class="proItem" style="padding:0 30rpx;">
- <open-data class="userImg" type="userAvatarUrl"></open-data>
- <view class="info">
- <!-- <button bindtap="unbindPhone">解绑手机号</button> -->
- <text class="selfUserName">{{infoObj.real_name?infoObj.real_name:infoObj.phone?infoObj.phone:'-'}}</text>
- <view class="selfBottom">
- <text class="user_info" style="margin-right: 90rpx;">{{infoObj.role?infoObj.role.name:'-'}}</text>
- <text class="user_info" wx:if="{{infoObj.role_expired_at}}">{{infoObj.role_expired_at+'到期'}}</text>
- </view>
- </view>
- </view>
- <view class="tabList {{isFix?'toTop':''}}" id="tabItem">
- <view class="checkItem {{tab==1?'active':''}}" data-id="1" bindtap="check">达人列表</view>
- <view class="checkItem {{tab==2?'active':''}}" data-id="2" bindtap="check">直播报表</view>
- <view class="checkItem {{tab==3?'active':''}}" data-id="3" bindtap="check">视频报表</view>
- </view>
- <view wx:if="{{isFix}}" style="width:100%;height:56rpx;background:#fff;"></view>
- <view class="tabItem" wx:if="{{tab==1}}">
- <view class="listInfo" wx:for="{{redList}}" wx:key="allPro" data-userid="{{item.user_id}}" bindtap="goHrDetail">
- <image class="img" wx:if="{{item.headurl}}" src="{{item.headurl}}"></image>
- <view class="info">
- <view class="title name" style="margin:auto;">{{item.user_name}}</view>
- <view class="date">
- 粉丝数{{item.fan_count?item.fan_count:'-'}}
- </view>
- <view class="bottom">
- <view class="text">
- 涨粉<text class="number" style="display:inline;">{{item.fan_add?item.fan_add:'-'}}</text>
- </view>
- <view class="text">
- 视频<text class="number" style="display:inline;margin-right:4rpx;">{{item.video_count?item.video_count:'-'}}</text>
- 直播<text class="number" style="display:inline;">{{item.show_count?item.show_count:'-'}}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="noneBox" wx:if="{{noneHot}}">
- <image class="noneImg" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/dataLoadingImg.png"></image>
- <view class="noneText">暂无关注红人</view>
- </view>
- </view>
- <view class="tabItem liveItem" wx:if="{{tab==2}}">
- <view class="listInfo" wx:for="{{playList}}" wx:key="allPro" data-id='{{item.live_stream_id}}' data-userid='{{item.user_id}}' bindtap="toLive">
- <view class="imgBox">
- <image class="blur" src="{{item.cover_img}}"></image>
- <image mode="widthFix" class="coverImg" src="{{item.cover_img}}"></image>
- </view>
- <view class="info">
- <view class="nameInfo">
- <view class="userName" style="width:100%">
- <image class="headurl" style="width:42rpx;height:42rpx" src="{{item.headurl}}"></image>
- <text class="title" style="width:300rpx;font-size:30rpx;">{{item.user_name}}</text>
- </view>
- </view>
- <view class="date">{{item.start_time?item.start_time:'-'}}</view>
- <text class="date" style="display:block;">在线峰值{{item.bast_display_watching_count||item.bast_display_watching_count==0?item.bast_display_watching_count:'-'}}</text>
- <view class="bottom">
- <view class="text">
- 礼物收入<text class="number" style="display:inline;">{{item.reward_count||item.reward_count==0?item.reward_count:'-'}}</text>
- </view>
- <view class="text">
- 销售额<text class="number" style="display:inline;">{{item.sell_money||item.sell_money==0?item.sell_money:'-'}}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="noneBox" wx:if="{{noneLive}}">
- <image class="noneImg" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/dataLoadingImg.png"></image>
- <view class="noneText">暂无直播报表</view>
- </view>
- </view>
- <!-- 视频报表 -->
- <view class="tabItem liveItem" wx:if="{{tab==3}}">
- <view class="listInfo" wx:for="{{videoList}}" wx:key="allPro" data-userid="{{item.user_id}}" data-photoid="{{item.photo_id}}" bindtap="goVideoDetail">
- <view class="proItem">
- <view class="imgBox" style="width:160rpx;">
- <image class="bulr" mode="widthFix" src="{{item.cover_thumbnail_url?item.cover_thumbnail_url:'https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/postUrl.png'}}"></image>
- <image class="coverImg" mode="widthFix" wx:if="{{item.cover_thumbnail_url}}" src="{{item.cover_thumbnail_url}}" webp="{{item.cover_thumbnail_url&&item.cover_thumbnail_url.indexOf('.webp') != -1 ? true : false}}"></image>
- </view>
- <view class="info">
- <text class="caption" style="font-size:26rpx;">{{item.caption?item.caption:'-'}}</text>
- <view class="nameInfo">
- <view class="userName">
- <image class="headurl" src="{{item.headurl}}"></image>
- <text class="title" style="width:300rpx;">{{item.user_name?item.user_name:'-'}}</text>
- </view>
- </view>
- <view class="date">{{item.time?item.time:'-'}}</view>
- <!-- <text class="time">{{item.fan_count||item.fan_count?item.fan_count:'-'}}</text> -->
- <view class="bottom">
- <view class="text">
- 播放<text class="number" style="display:inline;">{{item.view_count?item.view_count:'-'}}</text>
- </view>
- <view class="text">
- 点赞<text class="number" style="display:inline;">{{item.like_count?item.like_count:'-'}}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="noneBox" wx:if="{{noneVideo}}">
- <image class="noneImg" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/dataLoadingImg.png"></image>
- <view class="noneText">暂无视频报表</view>
- </view>
- </view>
- </scroll-view>
|