From b22000f1e0034376f408d236f4425e1dc98e51d8 Mon Sep 17 00:00:00 2001
From: yhj <1836460075@qq.com>
Date: 星期三, 05 六月 2024 13:58:28 +0800
Subject: [PATCH] 查看图号

---
 pages/index/index.vue |   36 ++++++++++++++++++++++++++++++------
 1 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/pages/index/index.vue b/pages/index/index.vue
index 8e9315c..70d771e 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,7 +1,7 @@
 <template>
 	<view>
 		<u-grid :col="3" @click="gotoPage" border>
-			<u-grid-item v-for="item in grid" :index="item[0]">
+			<u-grid-item v-for="item in grid" :index="item[0]" class="grid-box">
 				<u-icon name="play-right-fill" :size="46" color="#FF8000"></u-icon>
 				<view class="grid-text">{{item.name}}</view>
 			</u-grid-item>
@@ -20,11 +20,28 @@
 		data() {
 			return {
 				grid: [],
-				filter: [{
-					name: '宸℃妫�楠�',
-					src: '/pages/inspection/inspectionList',
-					icon:''
-				}]
+				filter: [
+					{
+						name: '宸℃妫�楠�',
+						src: '/pages/inspection/inspectionList',
+						icon:''
+					},
+					{
+						name: '棣栨妫�楠�',
+						src: '/pages/inspection/firstInspectionList',
+						icon:''
+					},
+					{
+						name :'鏈哄彴鎶ュ伐',
+						src:'/pages/work_reporting/work_reporting',
+						icon:''
+					},
+					{
+						name :'璁惧鐐规璁″垝',
+						src:'/pages/eqSpotCheck/eqSpotCheckList',
+						icon:''
+					},
+				]
 			}
 		},
 		onLoad() {
@@ -42,6 +59,7 @@
 						this.grid.push(item)
 					}
 				}
+				console.log(this.grid);
 			})
 		},
 		methods: {
@@ -69,4 +87,10 @@
 </script>
 
 <style>
+	.grid-box{
+		border-bottom: 1upx solid #dadbde;
+		border-right: 1upx solid #dadbde;
+		background-color: #f1f2f4;
+		height: 100upx;
+	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.3