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' icon: 'none'
}) })
break; break;
case "/pages/shop/GoodsClass/index":
uni.switchTab({
url: uniapp_url
})
break;
case "/pages/cloud/haveFun":
uni.switchTab({
url: uniapp_url
})
break;
default: default:
uni.navigateTo({ uni.navigateTo({
url: uniapp_url url: uniapp_url
+1 -2
View File
@@ -113,8 +113,7 @@
{ {
"path": "pages/cloud/haveFun", "path": "pages/cloud/haveFun",
"style": { "style": {
"navigationBarTitleText": "寻趣味", "navigationBarTitleText": "寻趣味"
"navigationStyle": "custom"
} }
}, },
{ {
+5 -5
View File
@@ -91,9 +91,9 @@ export default {
<template> <template>
<view class="have-fun"> <view class="have-fun">
<u-navbar title="寻趣味" height="90rpx"> <!-- <u-navbar title="寻趣味" height="90rpx">-->
<view slot="left">&nbsp;</view> <!-- <view slot="left">&nbsp;</view>-->
</u-navbar> <!-- </u-navbar>-->
<view class="top-box"> <view class="top-box">
<view class="search-box flex jc-between ai-center"> <view class="search-box flex jc-between ai-center">
<input type="text" v-model="name" placeholder="搜索店铺" placeholder-style="color:#949494" <input type="text" v-model="name" placeholder="搜索店铺" placeholder-style="color:#949494"
@@ -151,10 +151,10 @@ export default {
<style scoped lang="less"> <style scoped lang="less">
.have-fun { .have-fun {
padding-top: 120rpx; //padding-top: 120rpx;
.top-box { .top-box {
padding: 60rpx 0 20rpx; padding: 32rpx 0 20rpx;
background: #fff; background: #fff;
.search-box { .search-box {