<!--pages/realtimewater.wxml-->
<view class="container realtime-water">
  <view class="echart">
    <view class="header">
      <view class="fl-left">
        <text>{{currentYear}}年</text>
      </view>
      <view class="fl-right">
        <text>最近30天</text>
      </view>
    </view>
    <view class="monthbox">
      <text class="unit">吨(t)</text>
      <ec-canvas id="monthChart" canvas-id="monthChart" ec="{{ ec }}"></ec-canvas>
    </view>
  </view>
  <view class="useVolume-list">
    <view class="clearfix" wx:for="{{list}}" wx:key="index">
      <text class="fl-left">{{item.label}}</text>
      <text class="fl-right">{{item.useVolume}}吨</text>
    </view>
  </view>
</view>