Fix:页面跳转问题

This commit is contained in:
lifizer
2023-11-20 20:26:51 +08:00
parent a3ac5a2506
commit f9a364ace1
3 changed files with 6 additions and 17 deletions
-10
View File
@@ -18,16 +18,6 @@ export default {
icon: 'none'
})
break;
case "/pages/shop/GoodsClass/index":
uni.switchTab({
url: uniapp_url
})
break;
case "/pages/cloud/haveFun":
uni.switchTab({
url: uniapp_url
})
break;
default:
uni.navigateTo({
url: uniapp_url
+1 -2
View File
@@ -113,8 +113,7 @@
{
"path": "pages/cloud/haveFun",
"style": {
"navigationBarTitleText": "寻趣味",
"navigationStyle": "custom"
"navigationBarTitleText": "寻趣味"
}
},
{
+5 -5
View File
@@ -91,9 +91,9 @@ export default {
<template>
<view class="have-fun">
<u-navbar title="寻趣味" height="90rpx">
<view slot="left">&nbsp;</view>
</u-navbar>
<!-- <u-navbar title="寻趣味" height="90rpx">-->
<!-- <view slot="left">&nbsp;</view>-->
<!-- </u-navbar>-->
<view class="top-box">
<view class="search-box flex jc-between ai-center">
<input type="text" v-model="name" placeholder="搜索店铺" placeholder-style="color:#949494"
@@ -151,10 +151,10 @@ export default {
<style scoped lang="less">
.have-fun {
padding-top: 120rpx;
//padding-top: 120rpx;
.top-box {
padding: 60rpx 0 20rpx;
padding: 32rpx 0 20rpx;
background: #fff;
.search-box {