From 8e3ee81b6ed824866734b7034604121f370f4201 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期三, 09 七月 2025 17:55:14 +0800 Subject: [PATCH] 登录、购书码、申请阅读 --- 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