Commit 276d0d5e authored by 罗超's avatar 罗超

修改搜索链接页面

parent fc4583ce
......@@ -9,7 +9,7 @@
:custom-style='postionStyle'
readonly
/> -->
<view class="search-box" :style="{ background: bg }">
<view class="search-box" :style="{ background: bg }" @click="goSearch">
<u-search
:placeholder="styleStr.placeholder"
v-model="val"
......@@ -51,6 +51,13 @@ export default {
// }
//console.log(this.postionStyle);
},
methods: {
goSearch(){
uni.navigateTo({
url: '/pages/search/search'
});
}
},
};
</script>
......
......@@ -3,6 +3,9 @@
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [{
"path": "pages/index/index"
},
{
"path": "pages/search/search"
},
{
......@@ -11,10 +14,6 @@
{
"path": "pages/cats/cats"
},
{
"path": "pages/index/index"
},
{
"path": "pages/goods/goods"
},
......@@ -48,10 +47,10 @@
{
"path": "pages/order/index"
},
{
"path" : "pages/order/index/index"
}
{
"path": "pages/order/index/index"
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment