kuaishou.wxml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. </view>
  11. <view data-introduce="like_count" bindtap="showDetail" class="liveDataItem">
  12. 直播点赞数
  13. </view>
  14. </view>
  15. <view class="liveDataTable">
  16. <view class="liveDataItem">{{filter.valueFormat(headData.total_fans_count)}}</view>
  17. <view class="liveDataItem">{{filter.valueFormat(headData.like_count)}}</view>
  18. </view>
  19. <view class="liveDataTable title">
  20. <view wx:if="{{ headData.msg_count != -1 }}" data-introduce="msg_count" bindtap="showDetail"
  21. class="liveDataItem liveDataItemRigh">
  22. 直播评论数
  23. </view>
  24. <view wx:if="{{ headData.peopel_time != -1 }}" data-introduce="peopel_time" bindtap="showDetail"
  25. class="liveDataItem liveDataItemRigh">
  26. 直播观看人数
  27. </view>
  28. </view>
  29. <view class="liveDataTable">
  30. <view wx:if="{{ headData.msg_count != -1 }}" class="liveDataItem">{{filter.valueFormat(headData.msg_count)}}
  31. </view>
  32. <view wx:if="{{ headData.peopel_time != -1 }}" class="liveDataItem">{{filter.valueFormat(headData.peopel_time)}}
  33. </view>
  34. </view>
  35. </view> -->
  36. <view class="itemView">
  37. <view class="subTitle">直播时间:{{headData.live_time}}</view>
  38. </view>
  39. <view class="itemView" wx:if="{{series.length || oriList.length || (region.length && region[0].length)}}" >
  40. <view class="localCells">观众来源</view>
  41. </view>
  42. <pie id="pie001" wx:if="{{series.length}}" canvasId="kuaishoupie002" list="{{series}}" />
  43. <pie id="pie001" wx:if="{{oriList.length}}" canvasId="kuaishoupie002" list="{{oriList}}" />
  44. <!-- <chart wx:if="{{region.length && region[0].length}}" yCompany="%" list="{{region}}" id="{{'id' + 1}}"
  45. canvasId="{{'kuaishou' + 1}}" yType="value" xType="name" /> -->
  46. <mapChina wx:if="{{region.length && region[0].length}}" id="{{'douyinid' + 1}}" canvasId="{{'douyincanvasId' + 1}}" list="{{region}}"></mapChina>
  47. <view class="itemView" wx:for="{{lineList}}" wx:key="id">
  48. <view wx:if="item.peopleList.length" class="localCells">{{item.title}}</view>
  49. <view wx:if="item.peopleList.length" class="subTitle">{{item.subTitle}}</view>
  50. <lineChart id="{{'kuaishou' + item.id}}" wx:if="item.peopleList.length" canvasId="{{'kuaishou' + item.canvasId}}" type="{{item.type}}"
  51. list="{{item.peopleList || []}}" yType="{{item.yType}}" xType="{{item.xType}}" color="{{item.color}}" />
  52. </view>
  53. </view>
  54. <cover-view wx:if="{{detail !== ''}}" class="modolBg">
  55. <cover-view class="local_dialog">
  56. <cover-view class="local_dialog_title">
  57. <cover-view class="local_dialog_close" bindtap="showDetail">
  58. <cover-view class="local_dialog_close_left"></cover-view>
  59. <cover-view class="local_dialog_close_right"></cover-view>
  60. </cover-view>
  61. <cover-view class="title">
  62. {{diglogTitle}}
  63. </cover-view>
  64. </cover-view>
  65. <cover-view class="local_dialog_body">
  66. <cover-view style="padding-right:5px;white-space:pre-wrap;line-height: 1.5em;width:490rpx;margin: 0 auto;">
  67. {{detail}}
  68. </cover-view>
  69. </cover-view>
  70. </cover-view>
  71. </cover-view>
  72. <!-- <mp-toptips msg="{{detail}}" type="info" show="{{detail !== ''}}"></mp-toptips> -->