diff --git a/pageB/search/index.vue b/pageB/search/index.vue
index c781c58..d5ce68b 100644
--- a/pageB/search/index.vue
+++ b/pageB/search/index.vue
@@ -6,7 +6,9 @@
'font-size':'32rpx',
'color':'#FF780F',
'overflow':'unset'
- }">
+ }"
+ @search="search"
+ >
搜索发现
@@ -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"
+ }
+ })
+ }
}
}
diff --git a/pageB/search/out.vue b/pageB/search/out.vue
index a161faf..f50b8ca 100644
--- a/pageB/search/out.vue
+++ b/pageB/search/out.vue
@@ -4,8 +4,8 @@
-
-
+
+
@@ -25,6 +25,18 @@
+
+ 销量
+
+ 价格
+
+
+
+
+
+ 好评
+
+
\ No newline at end of file
diff --git a/pages/shop/index.vue b/pages/shop/index.vue
index 15447f0..7445999 100644
--- a/pages/shop/index.vue
+++ b/pages/shop/index.vue
@@ -6,7 +6,9 @@
{{ area }}
-
+
+
+
@@ -91,6 +93,12 @@ export default {
this.getGoodsRecommend();
},
methods: {
+ sousuo(){
+ // console.log(123)
+ this.$u.route({
+ url:"pageB/search/index"
+ })
+ },
getShopTopList() {
this.$u.api.getShopTopList().then((res)=>{
if (res.errCode == 0) {