Files
threeonecheck_web/unpackage/dist/build/mp-weixin/pages/index/index.wxml
2026-05-03 09:08:56 +08:00

1 line
6.2 KiB
Plaintext

<view class="{{['content', 'data-v-86f81807', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden || false}}" id="{{l}}"><view class="header-wrapper data-v-86f81807"><image class="header-bg-image data-v-86f81807" src="{{a}}" mode="aspectFill"></image><u-navbar wx:if="{{b}}" class="data-v-86f81807" virtualHostClass="data-v-86f81807" u-i="86f81807-0" bind:__l="__l" u-p="{{b}}"></u-navbar><view class="user-card data-v-86f81807"><view class="user-avatar data-v-86f81807"><image class="avatar-image data-v-86f81807" src="{{c}}" mode="aspectFill"></image></view><view class="user-info data-v-86f81807"><view class="user-dept text-bold data-v-86f81807">{{d}}</view><view class="user-phone data-v-86f81807">手机号:{{e}}</view></view></view></view><view class="padding page-content data-v-86f81807"><view class="menu-card data-v-86f81807"><view class="menu-grid data-v-86f81807"><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="menu-item data-v-86f81807" bindtap="{{item.d}}"><image class="menu-icon data-v-86f81807" src="{{item.a}}"></image><text class="menu-text data-v-86f81807">{{item.b}}</text></view></view></view><view class="bg-white margin-top radius data-v-86f81807" style="padding:40rpx;margin-left:-30rpx;margin-right:-30rpx"><view class="flex margin-bottom-xl data-v-86f81807"><view class="text-bold margin-left-xs data-v-86f81807" style="font-size:32rpx">我的检查计划</view></view><view wx:if="{{g}}" class="text-center text-gray padding data-v-86f81807"> 暂无检查计划 </view><view wx:for="{{h}}" wx:for-item="item" wx:key="n" class="plan-card margin-bottom data-v-86f81807"><view class="plan-header data-v-86f81807"><text class="plan-header-title data-v-86f81807">{{item.a}}</text></view><view class="plan-body data-v-86f81807"><view class="flex data-v-86f81807"><view class="border-border margin-right-xs data-v-86f81807">{{item.b}}完成</view><view class="border-border data-v-86f81807">{{item.c}}</view></view><view class="flex text-gray margin-top data-v-86f81807"><view class="data-v-86f81807">计划时间:</view><view class="data-v-86f81807" style="color:#333333">{{item.d}}至{{item.e}}</view></view><view class="flex margin-top align-center data-v-86f81807"><view class="data-v-86f81807" style="color:#B5B5B5">完成进度:</view><view class="flex align-center margin-left-sm data-v-86f81807"><view class="cu-progress round data-v-86f81807"><view class="bg-green data-v-86f81807" style="{{'width:' + item.f}}"></view></view><text class="margin-left-sm data-v-86f81807">{{item.g}}%</text></view></view><view class="plan-stats margin-top data-v-86f81807"><view class="plan-stat-item data-v-86f81807"><view class="plan-stat-num text-orange data-v-86f81807">{{item.h}}</view><view class="plan-stat-label data-v-86f81807">隐患</view></view><view class="plan-stat-item data-v-86f81807"><view class="plan-stat-num text-yellow data-v-86f81807">{{item.i}}</view><view class="plan-stat-label data-v-86f81807">待整改</view></view><view class="plan-stat-item data-v-86f81807"><view class="plan-stat-num text-olive data-v-86f81807">0</view><view class="plan-stat-label data-v-86f81807">待验收</view></view><view class="plan-stat-item data-v-86f81807"><view class="plan-stat-num text-blue data-v-86f81807">{{item.j}}</view><view class="plan-stat-label data-v-86f81807">已完成</view></view></view><view class="margin-top margin-bottom flex justify-end data-v-86f81807"><button class="cu-btn round lg light bg-blue margin-right data-v-86f81807" catchtap="{{item.k}}">查看详情</button><button wx:if="{{item.l}}" class="cu-btn round lg bg-blue data-v-86f81807" catchtap="{{item.m}}">开始检查</button><view wx:else class="cu-btn round lg bg-green data-v-86f81807">已完成</view></view></view></view></view><view class="bg-white margin-top radius data-v-86f81807" style="padding:40rpx;margin-left:-40rpx;margin-right:-40rpx"><view class="flex margin-bottom data-v-86f81807"><view class="text-bold margin-left-xs data-v-86f81807" style="font-size:32rpx">我的隐患排查</view></view><scroll-view scroll-x class="danger-tab-scroll data-v-86f81807"><view class="danger-tab-list data-v-86f81807"><view wx:for="{{i}}" wx:for-item="tab" wx:key="c" class="{{['danger-tab-item', 'data-v-86f81807', tab.b && 'danger-tab-active']}}" bindtap="{{tab.d}}">{{tab.a}}</view></view></scroll-view><view wx:if="{{j}}" class="text-center text-gray padding data-v-86f81807"> 暂无隐患数据 </view><view wx:for="{{k}}" wx:for-item="item" wx:key="q" class="danger-card margin-top data-v-86f81807"><view class="flex justify-between align-center data-v-86f81807"><view class="flex align-center data-v-86f81807"><text class="cuIcon-infofill text-blue data-v-86f81807" style="font-size:36rpx;margin-right:12rpx"></text><text class="text-bold data-v-86f81807" style="font-size:30rpx">{{item.a}}</text></view><view class="{{['level-tag', 'data-v-86f81807', item.c && 'level-minor', item.d && 'level-normal', item.e && 'level-major']}}">{{item.b}}</view></view><view class="text-gray margin-top-sm data-v-86f81807" style="font-size:26rpx;padding-left:48rpx">{{item.f}}</view><view class="data-v-86f81807" style="height:1rpx;background:#EEEEEE;margin:20rpx 0"></view><view class="danger-info-row data-v-86f81807"><text class="text-gray data-v-86f81807">隐患来源:</text><text class="data-v-86f81807" style="color:#333333">{{item.g}}</text></view><view class="danger-info-row data-v-86f81807"><text class="text-gray data-v-86f81807">隐患状态:</text><text class="data-v-86f81807" style="color:#333333">{{item.h}}</text></view><view class="danger-info-row data-v-86f81807"><text class="text-gray data-v-86f81807">发现时间:</text><text class="data-v-86f81807" style="color:#333333">{{item.i}}</text></view><view class="margin-top flex justify-end data-v-86f81807" style="gap:16rpx"><button class="cu-btn round lg light bg-blue data-v-86f81807" catchtap="{{item.j}}">查看详情</button><button wx:if="{{item.k}}" class="cu-btn round lg bg-blue data-v-86f81807" catchtap="{{item.l}}">立即整改</button><button wx:if="{{item.m}}" class="cu-btn round lg bg-blue data-v-86f81807" catchtap="{{item.n}}">立即验收</button><button wx:if="{{item.o}}" class="cu-btn round lg bg-blue data-v-86f81807" catchtap="{{item.p}}">隐患交办</button></view></view></view></view></view>