搜索修改

This commit is contained in:
2020-07-08 08:43:39 +08:00
parent a127f08375
commit 396e795943
3 changed files with 31 additions and 4 deletions

View File

@@ -6,7 +6,9 @@
'font-size':'32rpx',
'color':'#FF780F',
'overflow':'unset'
}"></u-search>
}"
@search="search"
></u-search>
</view>
<view class="list">
<view class="title">搜索发现</view>
@@ -23,6 +25,18 @@ export default {
return{
keyword:""
}
},
methods:{
search(value){
// console.log(value)
this.$u.route({
url:"/pageB/search/out",
params:{
value,
type:"shop"
}
})
}
}
}
</script>