diff --git a/src/assets/guide/tab7.png b/src/assets/guide/tab7.png new file mode 100644 index 0000000..c2adc0f Binary files /dev/null and b/src/assets/guide/tab7.png differ diff --git a/src/assets/guide/tab8.png b/src/assets/guide/tab8.png new file mode 100644 index 0000000..1800a6f Binary files /dev/null and b/src/assets/guide/tab8.png differ diff --git a/src/components/header.vue b/src/components/header.vue index 064df20..59cfdc3 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -1,27 +1,33 @@ @@ -47,44 +53,52 @@ const updateClock = () => { const formattedDate = year + "/" + month + "/" + day; // 更新页面上的时钟显示 - document.getElementById("clock").textContent = timeString; + // document.getElementById("clock").textContent = timeString; // 将格式化后的日期更新到 div 中 - document.getElementById("date-display").innerText = formattedDate; + // document.getElementById("date-display").innerText = formattedDate; }; const to = (url) => { router.push({ path: `${url}`, }); - data.nowTab = url -} + data.nowTab = url; +}; const router = useRouter(); const routers = useRoute(); let menuIf = ref(true); const data = reactive({ urlLeft: [ { - name: "主页", - url: '/home/index', + name: "要素一张图", + url: "/home/index/map", + }, + { + name: "指标模型模块", + url: "/home/index/table", + }, + { + name: "总体概览", + url: "/home/index", }, { name: "养老", - url: '/home/yl', + url: "/home/yl", }, { name: "卫生", - url: '/home/hygiene', + url: "/home/hygiene", }, { name: "教育", - url: '/home/education', + url: "/home/education", }, { name: "救助", - url: '/home/work', + url: "/home/work", }, { name: "智能分析", - url: '/home/analyze', + url: "/home/analyze", }, ], nowTab: "/home/index", @@ -94,13 +108,13 @@ onMounted(() => { // 初始调用 updateClock 以立即显示时间 updateClock(); - data.nowTab = router.currentRoute.value.fullPath + data.nowTab = router.currentRoute.value.fullPath; // 每隔一秒钟调用一次 updateClock 以更新时钟显示 setInterval(updateClock, 1000); }); - \ No newline at end of file + diff --git a/src/view/guide.vue b/src/view/guide.vue index 30d4cc2..cd8cd62 100644 --- a/src/view/guide.vue +++ b/src/view/guide.vue @@ -1,11 +1,6 @@ - + - \ No newline at end of file +