diff --git a/src/views/index.vue b/src/views/index.vue
index 82238df..51502e5 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -17,15 +17,15 @@
图书检索
-
+
热门图书
-
+
作者推荐
-
+
数字资源
@@ -43,7 +43,7 @@
本架图书
- 更多
+ 更多
@@ -56,7 +56,7 @@
-
更多
+
更多
@@ -89,20 +89,8 @@ export default {
},
methods: {
- toCurrentRackMore() {
- this.$router.push('/CurrentRackBook')
- },
- toNewBook() {
- this.$router.push('/NewBook')
- },
- toHotBook() {
- this.$router.push('/HotBook')
- },
- toAuthor() {
- this.$router.push('/AuthorRecommend')
- },
- toDigital() {
- this.$router.push('/DigitalResource')
+ toPath(path) {
+ this.$router.push(path)
}
}
}