monitor.wxml 2.88 KB
<view class="monitor_container">
  <view class="monitor_top">
    <commonTop></commonTop>
  </view>
  <view class="monitor_main">
    <topTabbar tabbarList="{{monitorTabList}}" bind:tabsItemChange="tabsItemChange" currentIndex="{{currentIndex}}"></topTabbar>
    <view class="monitor_content" wx:if="{{currentIndex === 0}}">

      <view class="electroc_money">
        <view class="electroc_left">
          <view class="electroc_money_text">
            累计发电量
          </view>
          <view class="electroc_money_num">
            <text class="electroc_money_text_num">1008.55</text>
            <text class="electroc_money_text_unit">kwh</text>
          </view>

        </view>
        <view class="money_right">
          <view class="electroc_money_text">
            累计经济效益
          </view>
          <view class="electroc_money_num">
            <text class="electroc_money_text_num">9008.55</text>
            <text class="electroc_money_text_unit">万元</text>
          </view>
        </view>

      </view>
      <view class="deviceStatistics">
        <topTitle topTitleName="设备统计"></topTitle>
        <circularDiagram></circularDiagram>
        <deviceData deviceDataList="{{deviceDataList}}"></deviceData>
      </view>
      <view class="overallOperationStatus">
        <topTitle topTitleName="整体运行情况"></topTitle>
        <overallOperation overallDataList="{{overallDataList}}"></overallOperation>
      </view>
      <view class="sceneStatistics">
        <topTitle topTitleName="场景统计"></topTitle>
        <sceneStatistics></sceneStatistics>
      </view>
      <view class="loadCurveEchart">
        <topTitle topTitleName="负荷曲线"></topTitle>
        <loadCurveEchart echartData="{{myLineObj}}"></loadCurveEchart>
      </view>
      <view class="dataStoreCount">
        <topTitle topTitleName="数据储存与统计"></topTitle>
        <dataStoreCount dataStoreCountList="{{dataStoreCountList}}"></dataStoreCount>
      </view>
      <view class="alarmStatistics">
        <topTitle topTitleName="报警统计" bgColor="#DA6159"></topTitle>
        <alarmStatistics storeCountList="{{storeCountList}}"></alarmStatistics>
      </view>

    </view>
    <view class="home_content" wx:if="{{currentIndex !== 0}}">
      <!-- <topTabbar tabbarList="{{monitorTabList}}" bind:tabsItemChange="tabsItemChange" currentIndex="{{currentIndex}}"></topTabbar> -->
      <view class="dashboardList_home">
        <dashboardList dashboardList="{{dashboardList}}"></dashboardList>
      </view>

      <view class="loadCurveEchart_home">
        <loadCurveEchart echartData="{{homeLineObj}}"></loadCurveEchart>
      </view>

      <view class="tableData_home">
        <tableData tableList="{{tableList}}"></tableData>
      </view>
      <view class="allcardList_home">
        <allcardList allcardList="{{allcardList}}"></allcardList>
      </view>

    </view>
  </view>
</view>