From c0fe59c6cf05c22a6507c8e34d7f51550acfec10 Mon Sep 17 00:00:00 2001 From: 展杰 <1240968267@qq.com> Date: 星期四, 09 十一月 2023 17:52:20 +0800 Subject: [PATCH] 首检巡检 --- pages/index/index.vue | 31 +++++++++++++++++++++++++------ 1 files changed, 25 insertions(+), 6 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 8e9315c..5371802 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,23 @@ 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:'' + }, + ] } }, onLoad() { @@ -42,6 +54,7 @@ this.grid.push(item) } } + console.log(this.grid); }) }, methods: { @@ -69,4 +82,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