From a874dd8b06b90ea5157e9809fcdf5a38ad115dde Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期一, 30 六月 2025 18:03:51 +0800 Subject: [PATCH] tupian --- src/components/footer/footer.vue | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/footer/footer.vue b/src/components/footer/footer.vue index 70240f0..e23c356 100644 --- a/src/components/footer/footer.vue +++ b/src/components/footer/footer.vue @@ -32,22 +32,22 @@ { name: "/", title: "棣栭〉", - normal: require("@/assets/images/nav/home.png"), - active: require("@/assets/images/nav/home-fill.png") + normal: require("@/assets/images/nav/home3.png"), + active: require("@/assets/images/nav/home-fill3.png") }, { name: "myTextBook", title: "涔︽灦", - normal: require("@/assets/images/nav/shujia.png"), - active: require("@/assets/images/nav/shujia-fill.png") + normal: require("@/assets/images/nav/shujia3.png"), + active: require("@/assets/images/nav/shujia-fill3.png") }, { index: 3, name: "personalCenter", title: "鎴戠殑", - normal: require("@/assets/images/nav/my.png"), - active: require("@/assets/images/nav/my-fill.png") + normal: require("@/assets/images/nav/my3.png"), + active: require("@/assets/images/nav/my-fill3.png") } ] }; @@ -62,10 +62,13 @@ // 閫氳繃璺敱璺宠浆鍒ゆ柇閫変腑鐨勬牱寮� if (this.$route.name == "/") { this.active = 0; + this.currIndex = 0; } else if (this.$route.name == "myTextBook") { this.active = 1; + this.currIndex = 2; } else if (this.$route.name == "personalCenter") { this.active = 2; + this.currIndex = 3; } } }; -- Gitblit v1.9.1