提交 2fc78447 编写于 作者: 杨广俊's avatar 杨广俊

history

上级 e6b1ae14
......@@ -48,6 +48,7 @@ export default {
},
data () {
return {
token: '',
allLabels: [],
showDelete: false,
showConfirm: false
......
......@@ -13,6 +13,7 @@
<div >
<span class="search-container-img2"><img class="search-container-img" src="../images/sousuo/search-black.png"/></span>
<input class="search-container-input" type="search" v-model="searchText">
<span class="search-container-img3" @click="clearText"><img class="search-container-img" src="../images/sousuo/delete.png"/></span>
<span class="search-container-cancle" @click.prevent="search">搜索</span>
</div>
</div>
......@@ -222,7 +223,7 @@ export default {
this.showTab4 = true
this.GET(url, para).then(res => {
this.showLoading = false
_this.searchText = ''
// _this.searchText = ''
_this.navIndex = '0'
if (res.code == '000000') {
console.log(res)
......@@ -344,6 +345,9 @@ export default {
},
back() {
this.$router.push('/search')
},
clearText() {
this.searchText = ''
}
},
}
......@@ -477,6 +481,16 @@ export default {
height: px2rem(22px);
}
}
&-img3 {
position: absolute;
top: px2rem(10px);
left: px2rem(280px);
z-index: 2;
img {
width: px2rem(22px);
height: px2rem(22px);
}
}
&-input {
flex: 1;
position: relative;
......
......@@ -9,6 +9,7 @@
<div >
<span class="search-container-img2"><img class="search-container-img" src="../images/sousuo/search-black.png"/></span>
<input class="search-container-input" type="search" v-model="searchText">
<span class="search-container-img3" @click="clearText"><img class="search-container-img" src="../images/sousuo/delete.png"/></span>
<span class="search-container-cancle" @click.prevent="search">搜索</span>
</div>
</div>
......@@ -172,6 +173,9 @@ export default {
},
back() {
rocNative.goBack()
},
clearText() {
this.searchText = ''
}
},
......@@ -256,6 +260,16 @@ export default {
height: px2rem(22px);
}
}
&-img3 {
position: absolute;
top: px2rem(10px);
left: px2rem(280px);
z-index: 2;
img {
width: px2rem(22px);
height: px2rem(22px);
}
}
&-input {
flex: 1;
position: relative;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册