({
+ value: e.fullTitle,
+ ...e
+ })) : this.results
+ }
},
methods: {
/**
@@ -98,6 +108,9 @@ export default {
this.input = ''
setTimeout(() => {
this.$refs.input.focus()
+ // 还原
+ this.searchText = ''
+ this.results = []
}, 500)
},
/**
@@ -153,13 +166,19 @@ export default {
.panel-search {
margin: 20px;
.panel-search__input-group {
- height: 200px;
+ height: 240px;
+ .panel-search__logo {
+ width: 80px;
+ height: 80px;
+ margin-bottom: 20px;
+ }
.panel-search__input {
width: 500px;
}
.panel-search__tip {
@extend %unable-select;
margin-top: 20px;
+ margin-bottom: 40px;
font-size: 12px;
color: $color-text-sub;
.panel-search__key {