kuaishou.wxml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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">
  40. <view class="localCells">观众来源</view>
  41. </view>
  42. <view class="information">
  43. <view class="itemView">
  44. <pie id="pie001" wx:if="{{series.length}}" canvasId="pie002" list="{{series}}" />
  45. </view>
  46. <view class="itemView">
  47. <pie id="pie001" canvasId="pie002" list="{{oriList}}" />
  48. </view>
  49. </view>
  50. <chart wx:if="{{region.length && region[0].length}}" yCompany="%" list="{{region}}" id="{{'id' + 1}}" canvasId="{{'canvasId' + 1}}"
  51. yType="value" xType="name" />
  52. <view class="itemView" wx:for="{{lineList}}" wx:key="id">
  53. <view wx:if="item.peopleList.length" class="localCells">{{item.title}}</view>
  54. <view wx:if="item.peopleList.length" class="subTitle">{{item.subTitle}}</view>
  55. <lineChart id="{{item.id}}" wx:if="item.peopleList.length" canvasId="{{item.canvasId}}" type="{{item.type}}"
  56. list="{{item.peopleList || []}}" yType="{{item.yType}}" xType="{{item.xType}}" color="{{item.color}}" />
  57. </view>
  58. </view>
  59. <cover-view wx:if="{{detail !== ''}}" class="modolBg">
  60. <cover-view class="local_dialog">
  61. <cover-view class="local_dialog_title">
  62. <cover-view class="local_dialog_close" bindtap="showDetail">
  63. <cover-view class="local_dialog_close_left"></cover-view>
  64. <cover-view class="local_dialog_close_right"></cover-view>
  65. </cover-view>
  66. <cover-view class="title">
  67. {{diglogTitle}}
  68. </cover-view>
  69. </cover-view>
  70. <cover-view class="local_dialog_body">
  71. <cover-view style="padding-right:5px;white-space:pre-wrap;line-height: 1.5em;width:490rpx;margin: 0 auto;">
  72. {{detail}}
  73. </cover-view>
  74. </cover-view>
  75. </cover-view>
  76. </cover-view>
  77. <!-- <mp-toptips msg="{{detail}}" type="info" show="{{detail !== ''}}"></mp-toptips> -->