wateranalysis.wxml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!--pages/wateranalysis/wateranalysis.wxml-->
  2. <view class="container water-analysis">
  3. <view class="echart">
  4. <view class="header">
  5. <view class="unit fl-left">
  6. <text>年份:{{currentYear}}</text>
  7. </view>
  8. <view class="unit fl-left">
  9. <text>单位:吨(t)</text>
  10. </view>
  11. </view>
  12. <view class="weekbox" wx:if="period ==7">
  13. <ec-canvas id="weekChart" canvas-id="weekChart" ec="{{ ec }}"></ec-canvas>
  14. <view class="useVolume">
  15. <text class="col1">最高用水量</text>
  16. <text class="col2">最低用水量</text>
  17. <text class="col3">普通用水量</text>
  18. </view>
  19. </view>
  20. <view class="monthbox" wx:else></view>
  21. </view>
  22. <view class="useVolume-list">
  23. <view class="clearfix">
  24. <text class="fl-left">累计用水量</text>
  25. <text class="fl-right">{{waterInfo.totalUseVolume}}吨</text>
  26. </view>
  27. <view class="clearfix">
  28. <text class="fl-left">平均用水量</text>
  29. <text class="fl-right">{{waterInfo.averageUseVolume}}吨</text>
  30. </view>
  31. <view class="clearfix">
  32. <text class="fl-left">最高用水量</text>
  33. <text class="fl-right">{{waterInfo.maxUseWater.useVolume}}吨</text>
  34. </view>
  35. <view class="clearfix">
  36. <text class="fl-left">最低用水量</text>
  37. <text class="fl-right">{{waterInfo.minUseWater.useVolume}}吨</text>
  38. </view>
  39. </view>
  40. </view>