This commit is contained in:
2019-12-13 11:46:15 +08:00
parent eaf48b86c3
commit 703f411ee7
17 changed files with 2662 additions and 2030 deletions

View File

@ -91,14 +91,14 @@
<script>
export default {
data() {
data () {
return {
socialInfo: false,
searchVal: ''
}
},
methods: {
info(type) {
info (type) {
if (type === 'qq') {
this.socialInfo = 'QQ: 373226722'
} else if (type === 'weixin') {
@ -111,8 +111,8 @@ export default {
this.socialInfo = false
}, 3000)
},
search() {
if (this.searchVal !== '') this.$router.push({ path: 'search?q=' + this.searchVal })
search () {
if (this.searchVal !== '') { this.$router.push({ path: 'search?q=' + this.searchVal }) }
}
}
}