<input ref="searchForm" class="search" type="text" v-model="searchVal" placeholder="请输入你的账号" />
<div v-show="searchBtn" class="shixian" @click="btn">点击实现</div>
btn(){
this.searchbtn = !this.searchbtn;
this.$nextTick(function () {
this.$refs.searchForm.focus()
})
},