完成搜索页面

This commit is contained in:
2021-11-27 11:05:29 +08:00
parent 84380ef55a
commit 6f4b7a7b02
19 changed files with 1174 additions and 599 deletions
+6 -1
View File
@@ -55,6 +55,7 @@ import { getLocation } from '@/common/wechat-web';
export default {
data(){
return {
query: this.$route.query,
containerHeight: 0,
keyword: '',
mode: 'list',
@@ -76,7 +77,11 @@ export default {
const { offsetHeight } = this.root.$refs.tabbar.$el;
this.containerHeight = window.innerHeight - this.$refs.topbar.offsetHeight - offsetHeight - 20;
})
if(this.query.search){
this.keyword = this.query.search;
}
this.getTempleList();
},
methods: {