You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
2.0 KiB

<!--package/subSystem/subSystem.wxml-->
<view style="background-image: linear-gradient(179deg, #006BE3 0%, #4E87FF 16%, #4e87ff00 93%); padding: 0 15px; ">
<!--总览图-->
<view style="display: flex;justify-content: space-around;margin-bottom: 10px; padding-top: 10px; ">
<view>
<view>本月巡检次数</view>
<view class="number">{{currentPatrolCount}}</view>
</view>
<view>
<view>本月维修次数</view>
<view class="number">{{currentRepairCount}}</view>
</view>
</view>
<!--饼图-->
<view class="card ">
<image src="/images/shape1.png" class="imgStyle"></image>
<view class="top">
<view style="display: flex; align-items: center;">
<image style="width: 30px; height: 30px;" src="/images/device.png" />
<text class="fontStyle">故障</text>
</view>
<view class="countStyle">
总数:{{currentPatrolCount}}
</view>
</view>
<view style="height: 300px"> <ec-canvas id="mychart-dom-pie" canvas-id="mychart-pie" ec="{{ ec }}"></ec-canvas>
</view>
</view>
<!--巡检日历-->
<view class="card heightStyle">
<view class="header">
<view style="display:flex;align-items: center;">
<image style="width: 30px; height: 30px;" src="/images/calendar.png" />
<view class="xunjian">巡检日历</view>
</view>
<image src="/images/shape2.png" class="imgStyle"></image>
<view class="yearMonth">{{currentYear+'年'+currentMonth+'月'}}</view>
</view>
<van-calendar max-date="{{lastDay}}" v-model="selectedDate" show-title="{{false}}" show-subtitle="{{false}}" poppable="{{ false }}" show-confirm="{{ false }}" default-date="{{selectedDate}}" formatter="{{formatter}}" bind:select="onDateSelect" color="#0000FF" class="calendar" />
</view>
</view>