From e6044ce7c9513de2733ffbfb76cc953bcf7bd5d3 Mon Sep 17 00:00:00 2001
From: 展杰 <1240968267@qq.com>
Date: 星期三, 03 七月 2024 14:12:49 +0800
Subject: [PATCH] 看图纸

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

diff --git a/pages/index/index.vue b/pages/index/index.vue
index 8e9315c..7bdd24c 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,7 +1,8 @@
+
 <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 +21,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 +60,7 @@
 						this.grid.push(item)
 					}
 				}
+				console.log(this.grid);
 			})
 		},
 		methods: {
@@ -69,4 +88,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