<template>
	<view class="page-grid">
		<!-- 卡片列表 -->
		<view class="grid-card">
			<view class="grid-list">
				<view class="grid-item" @click="handleClick('/pipe/pressure/pressure_before/list')">
					<view class="grid-icon">
						<u-icon name="info-circle" :size="60" :color="$u.type.primary"></u-icon>
					</view>
					<text class="grid-text">试压前条件确认</text>
				</view>
				<view class="grid-item" @click="handleClick('/pipe/pressure/check_remove/list')">
					<view class="grid-icon">
						<u-icon name="checkmark-circle" :size="60" :color="$u.type.primary"></u-icon>
					</view>
					<text class="grid-text">尾项检查及消项</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	const handleClick = (url) => {
		uni.navigateTo({ url })
	}
</script>
