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.
 
 
 
 

58 lines
2.7 KiB

<!--pages/home/home.wxml-->
<view style="height:{{pageHeight}} ; overflow: auto;">
<!--轮播图-->
<view class="card">
<swiper class="home-swiper" indicator-dots="true" autoplay="{{true}}" interval="{{2000}}" duration="{{500}}">
<block wx:for-items="{{swiperData}}">
<swiper-item>
<image src="{{item.imgurl}}" class="slide-image" />
</swiper-item>
</block>
</swiper>
</view>
<!--子系统列表-->
<view class="list card" style="display: flex; flex-wrap: wrap;">
<view style="min-width: 25%; margin: 10px 0px;text-align: center;" wx:for="{{itemList}}" wx:for-item="item" wx:key="*this" data-key="{{item.itemName}}" bindtap="jumpToSubSystem">
<image src="{{item.picPath}}" style="width: 29.97px;height: 28.93px;" />
<view>{{item.itemName}}</view>
</view>
</view>
<!--最近7天统计-->
<view class="card">
最近7天统计
<view style="background-image:url('/images/sevenDays.png');width: 100%; height: 99px; background-repeat: no-repeat;display: flex">
<view>
<image src="/images/check.png" style="width:36px;height:36px;margin:40px 10px 20px 10px" />
</view>
<view style="margin:40px 10px 20px 10px">
<view>巡检次数</view>
<view>{{sevenDaysCount}}次</view>
</view>
</view>
<view style="display: flex; justify-content: space-around;">
<view style="margin:10px 0px;">发现问题个数</view>
<view style="margin:10px 0px;">{{sevenDaysQuestionCount}}个</view>
<view style="margin:10px 0px;">问题处理个数</view>
<view style="margin:10px 0px;">{{sevenDaysHandleCount}}个</view>
</view>
</view>
<!--总巡巡检统计-->
<view class="card">
总巡巡检统计
<view style="background-image:url('/images/xunjian.png');width: 100%; height: 99px; background-repeat: no-repeat;display: flex;">
<view>
<image src="/images/check.png" style="width:36px;height:36px;margin:40px 10px 20px 10px" />
</view>
<view style="margin:40px 10px 20px 10px">
<view>巡检次数</view>
<view>{{allCount}}次</view>
</view>
</view>
<view style="display: flex; justify-content: space-around;">
<view style="margin:10px 0px;">发现问题个数</view>
<view style="margin:10px 0px;">{{allQuestionCount}}个</view>
<view style="margin:10px 0px;">问题处理个数</view>
<view style="margin:10px 0px;">{{allHandleCount}}个</view>
</view>
</view>
</view>