大数据平台的小程序版本

fanPortraits.wxml 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <view class="loadingView" wx:if="{{!isLoading}}">
  2. <image class="dataLoadingImg" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/dataLoadingImg.png"/>
  3. <view class="dataHint">粉丝画像采集中</view>
  4. </view>
  5. <view class="loadingView" wx:if="{{!ishaveData}}">
  6. <image class="dataLoadingImg" src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/dataLoadingImg.png"/>
  7. <view class="dataHint">暂无粉丝画像</view>
  8. </view>
  9. <view class="content" wx:if="{{isLoading && ishaveData }}">
  10. <view class="canvas_view clear">
  11. <view class="sexView">
  12. <view class="man">
  13. <image src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/man.png" />
  14. <text class="manText">{{sexData.man}}</text>
  15. <view class="manView">男性用户</view>
  16. </view>
  17. <view class="woman">
  18. <image src="https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/woman.png" />
  19. <text class="manText">{{sexData.woman}}</text>
  20. <view class="manView">女性用户</view>
  21. </view>
  22. <view class="echartsDiv">
  23. <ec-canvas id="sexDis" style="width:100%;" class="canvas" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
  24. </view>
  25. </view>
  26. <view class="echartsDiv">
  27. <ec-canvas id="ageDis" style="width:100%;" class="canvas" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
  28. </view>
  29. </view>
  30. <view class="echartsDiv">
  31. <ec-canvas id="xzDis" style="width:100%;" class="canvas" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
  32. </view>
  33. <view class="echartsDiv">
  34. <ec-canvas id="signCanvas" class="canvas" style="width:100%;" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
  35. </view>
  36. <!-- <view class="echartsDiv">
  37. <ec-canvas id="fensHourDis" class="canvas" style="width:100%;" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
  38. </view> -->
  39. <view class="echartsDiv">
  40. <ec-canvas id="fanCanvas" class="canvas" style="width:100%;" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
  41. </view>
  42. </view>