|
@@ -15,7 +15,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 搜索 -->
|
|
<!-- 搜索 -->
|
|
|
- <view class="index-search box-border-box" :style="[{'top': BarH + 'px','background':bgckgroundSearch}]">
|
|
|
|
|
|
|
+ <view class="index-search box-border-box" @click="toUrl(1)"
|
|
|
|
|
+ :style="[{'top': BarH + 'px','background':bgckgroundSearch}]">
|
|
|
<view class="index-search-box box-border-box align-items-center">
|
|
<view class="index-search-box box-border-box align-items-center">
|
|
|
<uni-icons type="search" size="20" color="#000"></uni-icons>
|
|
<uni-icons type="search" size="20" color="#000"></uni-icons>
|
|
|
<view class="fs-28 fc-9 ml-10">搜索店铺名称或者商品名称</view>
|
|
<view class="fs-28 fc-9 ml-10">搜索店铺名称或者商品名称</view>
|
|
@@ -192,7 +193,14 @@
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
-
|
|
|
|
|
|
|
+ toUrl(type){
|
|
|
|
|
+ if(type === 1){
|
|
|
|
|
+ // 去搜索
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url:'/pages/index/search-record'
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|