123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <!--pages/liveDetail/index.wxml-->
- <wxs module="filter" src="../../assets/js/common.wxs"></wxs>
- <!-- <view class="liveDetail" wx:if="{{infoObj}}"> -->
- <scroll-view class="liveDetail" scroll-y="true" style="height:{{scrollHeight}}px;" bindscrolltolower="bindDownLoad" bindscroll="scroll">
- <view class="mainInfo">
- <view class="mainImg" style="height:200rpx;">
- <image class="targetImg" mode="aspectFit" src="{{infoObj.cover_thumbnail_url}}" webp="{{infoObj.cover_thumbnail_url&&infoObj.cover_thumbnail_url.indexOf('.webp') != -1 ? true : false}}"></image>
- </view>
- <view class="infoText">
- <view class="people">
- <view class="mainIcon">
- <image style="display:inline-block;width:100%;height:100%;border-radius:50%" wx:if="{{infoObj.headurl}}" src="{{infoObj.headurl}}"></image>
- </view>
- <view class="rightInfo">
- <view class="user">{{infoObj.user_name?infoObj.user_name:'-'}}</view>
- <view class="count">{{infoObj.fan?infoObj.fan:'-'}}粉丝</view>
- </view>
- </view>
- <view class="date">
- {{infoObj.time?infoObj.time:'-'}}
- </view>
- </view>
- </view>
- <view class="tabList {{isFix?'toTop':''}}" id="tabItem">
- <view class="tab {{tab==1?'active':''}}" data-id="1" bindtap="check">最新评论</view>
- <view class="tab {{tab==2?'active':''}}" data-id="2" bindtap="check">热门评论</view>
- </view>
- <view wx:if="{{isFix}}" style="width:100%;height:56rpx;background:#fff;"></view>
- <view wx:if="{{tab==1}}">
- <view class="total">
- <view class="ul">
- <view class="li">
- <text class="text">
- 播放量
- </text>
- <text>
- {{infoObj.view_count?infoObj.view_count:'-'}}
- </text>
- </view>
- <view class="li">
- <text class="text">
- 评论量
- </text>
- <text>
- {{infoObj.comment_count?infoObj.comment_count:'-'}}
- </text>
- </view>
- <view class="li">
- <text class="text">
- 点赞数
- </text>
- <text>
- {{infoObj.like_count?infoObj.like_count:'-'}}
- </text>
- </view>
- </view>
- </view>
- <view class="commentList">
- <view class="commentItem" wx:for="{{newCommentList}}"wx:key="newComment">
- <view class="comment">
- <image class="commentIcon" src="{{item.headurl}}"></image>
- <view class="commentleft">
- <view class="user">{{item.author_name?item.author_name:'-'}}</view>
- <view class="date">{{item.time}}</view>
- </view>
- <view class="commentRight">
- <image class="like" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/nolike.png"></image>
- <text>{{item.likedCount?item.likedCount:'-'}}</text>
- </view>
- </view>
- <view class="content">
- {{item.content}}
- </view>
- </view>
- <view class="noneBox" wx:if="{{noneNew}}">
- <image class="noneImg" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/dataLoadingImg.png"></image>
- <view class="noneText">暂无最新评论</view>
- </view>
- </view>
- </view>
- <view wx:if="{{tab==2}}">
- <view class="commentList" style="padding-top:42rpx;">
- <view class="commentItem" wx:for="{{hotCommentList}}"wx:key="newComment">
- <view class="comment">
- <image class="commentIcon" src="{{item.headurl}}"></image>
- <view class="commentleft">
- <view class="user">{{item.author_name?item.author_name:'-'}}</view>
- <view class="date">{{item.time}}</view>
- </view>
- <view class="commentRight">
- <image class="like" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/nolike.png"></image>
- <text>{{item.likedCount?item.likedCount:'-'}}</text>
- </view>
- </view>
- <view class="content">
- {{item.content}}
- </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>
- </scroll-view>
- <text class="desc">更多数据请登录https://data.kuxuan.com进行查看</text>
|