diff --git a/src/router/index.js b/src/router/index.js
index 3e0da4f..fa95c1d 100755
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -54,7 +54,7 @@ const routes = [
]
}, {
- path: '/searchResult', // 首页
+ path: '/searchResult', // 搜索结果
name: 'search',
redirect: "/searchResult",
component: search,
diff --git a/src/views/search/searchResult/SearchResult.vue b/src/views/search/searchResult/SearchResult.vue
index 361bad4..a5dee48 100755
--- a/src/views/search/searchResult/SearchResult.vue
+++ b/src/views/search/searchResult/SearchResult.vue
@@ -7,7 +7,8 @@
-
取消
+
+ 取消
@@ -78,6 +79,18 @@ export default {
components: {
},
+
+ methods: {
+ // 处理点击取消的返回上一页
+ handCancel() {
+ // console.log("this.$router",this.$route.params.page > 214);
+ this.$router.go(-1)
+ // console.log(this.$router.params.page, "this.$route.params.page");
+ // if (this.$route.params.page > 1) this.$router.go(-1)
+ // else this.$router.push('/recommend')
+
+ },
+ },
}
@@ -242,7 +255,13 @@ export default {
::v-deep {
.el-pagination.is-background .el-pager li:not(.disabled).active {
- background: red;
+ background: rgba(98, 177, 255, 1);
+ border-radius: 50%;
+ }
+
+ .el-pagination .btn-next .el-icon,
+ .el-pagination .btn-prev .el-icon {
+ font-size: .4rem;
}
}
}