douyin.wxml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!--pages/home/components/liveData/liveData.wxml-->
  2. <wxs module="filter" src="/components/table/filter.wxs" />
  3. <!-- 错误提示 -->
  4. <mp-toptips msg="{{error}}" ext-class="toptips" type="error" show="{{error}}"></mp-toptips>
  5. <view class="liveData">
  6. <view class="topTable">
  7. <view class="liveDataTable title">
  8. <view data-introduce="total_fans_count" bindtap="showDetail" class="liveDataItem">
  9. 粉丝数
  10. <!-- <text class="show">?</text> : -->
  11. </view>
  12. <view data-introduce="like_count" bindtap="showDetail" class="liveDataItem">
  13. 直播点赞数
  14. <!-- <text class="show">?</text> : -->
  15. </view>
  16. </view>
  17. <view class="liveDataTable">
  18. <view class="liveDataItem">{{filter.valueFormat(headData.total_fans_count)}}</view>
  19. <view class="liveDataItem">{{filter.valueFormat(headData.like_count)}}</view>
  20. </view>
  21. <view class="liveDataTable title">
  22. <view wx:if="{{ headData.msg_count != -1 }}" data-introduce="msg_count" bindtap="showDetail"
  23. class="liveDataItem liveDataItemRigh">
  24. 直播评论数
  25. <!-- <text class="show">?</text> : -->
  26. </view>
  27. <view wx:if="{{ headData.peopel_time != -1 }}" data-introduce="peopel_time" bindtap="showDetail"
  28. class="liveDataItem liveDataItemRigh">
  29. 直播观看人数
  30. <!-- <text class="show">?</text> : -->
  31. </view>
  32. </view>
  33. <view class="liveDataTable">
  34. <view wx:if="{{ headData.msg_count != -1 }}" class="liveDataItem">{{filter.valueFormat(headData.msg_count)}}
  35. </view>
  36. <view wx:if="{{ headData.peopel_time != -1 }}" class="liveDataItem">{{filter.valueFormat(headData.peopel_time)}}
  37. </view>
  38. </view>
  39. </view>
  40. <view class="itemView" wx:if="{{series.length || (region.length && region[0].length)}}">
  41. <view class="localCells">观众来源</view>
  42. </view>
  43. <view class="itemView">
  44. <pie id="pie001" wx:if="{{series.length}}" canvasId="douyinpie001" list="{{series}}" />
  45. </view>
  46. <chart wx:if="{{region.length && region[0].length}}" list="{{region}}" id="{{'douyinid' + 1}}"
  47. canvasId="{{'douyincanvasId' + 1}}" yType="value" xType="name" />
  48. <view class="itemView" wx:for="{{lineList}}" wx:key="id">
  49. <view wx:if="item.peopleList.length" class="localCells">{{item.title}}</view>
  50. <view wx:if="item.peopleList.length" class="subTitle">{{item.subTitle}}</view>
  51. <lineChart id="{{'douyin'+item.id}}" wx:if="item.peopleList.length" canvasId="{{'douyin'+item.canvasId}}"
  52. type="{{item.type}}" list="{{item.peopleList || []}}" yType="{{item.yType}}" xType="{{item.xType}}"
  53. color="{{item.color}}" />
  54. </view>
  55. </view>
  56. <cover-view wx:if="{{detail !== ''}}" class="modolBg">
  57. <cover-view class="local_dialog">
  58. <cover-view class="local_dialog_title">
  59. <cover-view class="local_dialog_close" bindtap="showDetail">
  60. <cover-view class="local_dialog_close_left"></cover-view>
  61. <cover-view class="local_dialog_close_right"></cover-view>
  62. </cover-view>
  63. <cover-view class="title">
  64. {{diglogTitle}}
  65. </cover-view>
  66. </cover-view>
  67. <cover-view class="local_dialog_body">
  68. <cover-view style="padding-right:5px;white-space:pre-wrap;line-height: 1.5em;width:490rpx;margin: 0 auto;">
  69. {{detail}}
  70. </cover-view>
  71. </cover-view>
  72. </cover-view>
  73. </cover-view>
  74. <!-- <mp-toptips msg="{{detail}}" type="info" show="{{detail !== ''}}"></mp-toptips> -->