jhwxapp/miniprogram/pages/Security-control-echarts/index.wxml

124 lines
4.2 KiB
Plaintext

<!--pages/Security-control-echarts/index.wxml-->
<!-- 安全管控 -->
<!-- <view class="header_title">
<view class="header_title_row">
<van-row>
<van-col span="3">
<view class="header_img" bindtap="showPopup"><image src="/images/core.png"></image></view>
</van-col>
<van-col span="4">
<view class="header_img" bindtap="goGCLB">
<image src="/images/left.png"></image>
<text class="header_fh">返回</text>
</view>
</van-col>
<van-col span="10">
<view class="header_name">配电箱监测</view>
</van-col>
</van-row>
</view>
</view> -->
<view class="max_new_content">
<!-- 头部nav栏 -->
<view style="margin-top: 20rpx;width: 710rpx; margin-bottom: 20rpx;">
<project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
</view>
<!-- 配电箱选项 -->
<view class="deep_select">
<van-row>
<van-col span="12">
<view class="deep_select_padding">
<voucher-select columns="{{peidianList}}" bindchange="peidianChange"></voucher-select>
</view>
</van-col>
<van-col span="12">
<view class="deep_select_padding">
<voucher-select columns="{{PWRList}}" bindchange="pwdChange"></voucher-select>
</view>
</van-col>
</van-row>
</view>
<!-- <view class="peidianxiang">
<view class="peidianxiang-left">
<voucher-select columns="{{peidianList}}" bindchange="peidianChange"></voucher-select>
</view>
<view class="peidianxiang-right">
<voucher-select columns="{{PWRList}}" bindchange="pwdChange"></voucher-select>
</view>
</view> -->
<!-- echarts图 -->
<view class="echarts-picture">
<!-- 标签 -->
<view class="echarts-title" style="margin-bottom: 30rpx;">
<view class="echarts-title-left">
<view style="border: 1px solid #028cf3;width: 38rpx;height: 38rpx;text-align: center;line-height: 38rpx;margin: 0 16rpx;border-radius: 50%;font-size: 28rpx;">
T
</view>
<view style="font-size: 28rpx;">
温度监控
</view>
</view>
<view class="echarts-title-right" style="padding-right: 20rpx;">
<view class="{{indexNum==0?'echarts-title-right-content active':'echarts-title-right-content'}}" data-set="{{0}}" bindtap="onClickBtn">
近七天
</view>
<view class="{{indexNum==1?'echarts-title-left-content active':'echarts-title-left-content'}}" data-set="{{1}}" bindtap="onClickBtn">
近30天
</view>
</view>
</view>
<!-- 数据图展示 -->
<view class="echarts-data">
<curve-echarts-copy chart-id="chartData" chart-data="{{biaoyangList}}"></curve-echarts-copy>
</view>
</view>
<!-- echarts图1 -->
<view class="echarts-picture">
<!-- 标签 -->
<view class="echarts-title" style="margin-bottom: 30rpx;">
<view class="echarts-title-left">
<view style="border: 1px solid #028cf3;width: 38rpx;height: 38rpx;text-align: center;line-height: 38rpx;margin: 0 16rpx;border-radius: 50%;font-size: 28rpx;">
A
</view>
<view style="font-size: 28rpx;">
电流监控
</view>
</view>
<view class="echarts-title-right" style="padding-right: 20rpx;">
<view class="{{indexNums==0?'echarts-title-right-content active':'echarts-title-right-content'}}" data-set="{{0}}" bindtap="onClickBtns">
近七天
</view>
<view class="{{indexNums==1?'echarts-title-left-content active':'echarts-title-left-content'}}" data-set="{{1}}" bindtap="onClickBtns">
近30天
</view>
</view>
</view>
<!-- 数据图展示 -->
<view class="echarts-data">
<curve-echarts-copy chart-id="chartData1" chart-data="{{tumidityTrendData}}" ></curve-echarts-copy>
</view>
</view>
</view>
<!-- 左侧账号信息 -->
<!-- <van-popup show="{{ show }}" position="left" custom-style="width: 70%;height:100%;background:#191d28" bind:close="onClose" >
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="10">
<view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
</van-col>
<van-col span="14">
<view class="left_info">
<view class="left_info_name">{{userName}}</view>
<view class="left_info_name">{{loginName}}</view>
</view>
</van-col>
</van-row>
</view>
</van-popup> -->