diff --git a/pages.json b/pages.json index fec7d84..a7967d5 100644 --- a/pages.json +++ b/pages.json @@ -245,26 +245,26 @@ { "pagePath": "pages/index/index", "text": "首页", - "iconPath": "static/tabBar/home.png", + "iconPath": "static/tabBar/home1.png", "selectedIconPath": "static/tabBar/home.png" }, { "pagePath": "pages/map/map", "text": "一张图", "iconPath": "static/tabBar/map.png", - "selectedIconPath": "static/tabBar/map.png" + "selectedIconPath": "static/tabBar/map1.png" }, { "pagePath": "pages/Inspectionwarning/Inspectionwarning", "text": "预警", "iconPath": "static/tabBar/warning.png", - "selectedIconPath": "static/tabBar/warning.png" + "selectedIconPath": "static/tabBar/warning1.png" }, { "pagePath": "pages/personalcenter/my", "text": "我的", "iconPath": "static/tabBar/my.png", - "selectedIconPath": "static/tabBar/my.png" + "selectedIconPath": "static/tabBar/my1.png" } ] }, diff --git a/pages/checklist/checklist.vue b/pages/checklist/checklist.vue index 568f1ea..c1647ab 100644 --- a/pages/checklist/checklist.vue +++ b/pages/checklist/checklist.vue @@ -1,13 +1,13 @@ @@ -15,12 +15,22 @@ import { ref } from 'vue' import { onLoad } from '@dcloudio/uni-app' import { useRouter } from 'vue-router' + import { getCheckTableList } from '@/request/api.js' const router = useRouter() + const list = ref([]) const edit = () => { uni.navigateTo({ url: '/pages/editchecklist/editchecklist' }) } + onLoad(() => { + getCheckTableList().then(res => { + if (res.code === 0) { + list.value = res.data.records + } + }) + }) +