|
@@ -3,22 +3,32 @@
|
|
|
|
|
|
<view class="topic">
|
|
|
<view class="topicTable">
|
|
|
- <view wx:if="{{headData.total_pv}}" class="topicItem">总浏览量:</view>
|
|
|
- <view wx:if="{{headData.total_pv}}" class="topicItem">{{filter.valueFormat(headData.total_pv)}}</view>
|
|
|
- <view wx:if="{{headData.total_ori}}" class="topicItem">原创量:</view>
|
|
|
- <view wx:if="{{headData.total_ori}}" class="topicItem">{{filter.valueFormat(headData.total_ori)}}</view>
|
|
|
+ <view wx:if="{{headData.total_pv != -1}}" class="topicItem">总浏览量:</view>
|
|
|
+ <view wx:if="{{headData.total_pv != -1}}" class="topicItem">{{filter.valueFormat(headData.total_pv)}}</view>
|
|
|
+ <view wx:if="{{headData.total_ori != -1}}" class="topicItem">原创量:</view>
|
|
|
+ <view wx:if="{{headData.total_ori != -1}}" class="topicItem">{{filter.valueFormat(headData.total_ori)}}</view>
|
|
|
</view>
|
|
|
<view class="topicTable">
|
|
|
- <view wx:if="{{headData.total_digg}}" class="topicItem">总点赞数:</view>
|
|
|
- <view wx:if="{{headData.total_digg}}" class="topicItem">{{filter.valueFormat(headData.total_digg)}}</view>
|
|
|
- <view wx:if="{{headData.total_comment}}" class="topicItem">总评论数:</view>
|
|
|
- <view wx:if="{{headData.total_comment}}" class="topicItem">{{filter.valueFormat(headData.total_comment)}}</view>
|
|
|
+ <view wx:if="{{headData.total_digg != -1}}" class="topicItem">总点赞数:</view>
|
|
|
+ <view wx:if="{{headData.total_digg != -1}}" class="topicItem">{{filter.valueFormat(headData.total_digg)}}</view>
|
|
|
+ <view wx:if="{{headData.total_comment != -1}}" class="topicItem">总评论数:</view>
|
|
|
+ <view wx:if="{{headData.total_comment != -1}}" class="topicItem">{{filter.valueFormat(headData.total_comment)}}</view>
|
|
|
</view>
|
|
|
<view class="topicTable">
|
|
|
- <view wx:if="{{headData.total_comment}}" class="topicItem">总转发量:</view>
|
|
|
- <view wx:if="{{headData.total_comment}}" class="topicItem">{{filter.valueFormat(headData.total_forward)}}</view>
|
|
|
- <view class="topicItem"></view>
|
|
|
- <view class="topicItem"></view>
|
|
|
+ <view wx:if="{{headData.total_comment != -1}}" class="topicItem">总转发量:</view>
|
|
|
+ <view wx:if="{{headData.total_comment != -1}}" class="topicItem">{{filter.valueFormat(headData.total_forward)}}</view>
|
|
|
+ <view class="topicItem">
|
|
|
+ <view wx:if="{{headData.live_uv != -1}}">观看人数:</view>
|
|
|
+ </view>
|
|
|
+ <view class="topicItem">
|
|
|
+ <view wx:if="{{headData.live_uv != -1}}">{{filter.valueFormat(headData.live_uv)}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="topicTable">
|
|
|
+ <view wx:if="{{headData.live_digg != -1}}" class="topicItem">直播点赞:</view>
|
|
|
+ <view wx:if="{{headData.live_digg != -1}}" class="topicItem">{{filter.valueFormat(headData.live_digg)}}</view>
|
|
|
+ <view wx:if="{{headData.live_comment != -1}}" class="topicItem">直播弹幕:</view>
|
|
|
+ <view wx:if="{{headData.live_comment != -1}}" class="topicItem">{{filter.valueFormat(headData.live_comment)}}</view>
|
|
|
</view>
|
|
|
<view class="pKvm">
|
|
|
<view class="kvm" bindtap="toSecond" wx:if="{{sonList && sonList.length}}">
|