realtimewater.wxml 696 B

1234567891011121314151617181920212223
  1. <!--pages/realtimewater.wxml-->
  2. <view class="container realtime-water">
  3. <view class="echart">
  4. <view class="header">
  5. <view class="fl-left">
  6. <text>{{currentYear}}年</text>
  7. </view>
  8. <view class="fl-right">
  9. <text>最近30天</text>
  10. </view>
  11. </view>
  12. <view class="monthbox">
  13. <text class="unit">吨(t)</text>
  14. <ec-canvas id="monthChart" canvas-id="monthChart" ec="{{ ec }}"></ec-canvas>
  15. </view>
  16. </view>
  17. <view class="useVolume-list">
  18. <view class="clearfix" wx:for="{{list}}" wx:key="index">
  19. <text class="fl-left">{{item.label}}</text>
  20. <text class="fl-right">{{item.useVolume}}吨</text>
  21. </view>
  22. </view>
  23. </view>