From aaae9c0a6ecda07e3a1494d9dff124df97e062ce Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 16 Jul 2024 16:33:58 +0800
Subject: [PATCH] 提交
---
pages/tabBar/tabBarIndex.vue | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/pages/tabBar/tabBarIndex.vue b/pages/tabBar/tabBarIndex.vue
index b9c0e1b..74a1343 100644
--- a/pages/tabBar/tabBarIndex.vue
+++ b/pages/tabBar/tabBarIndex.vue
@@ -39,15 +39,15 @@
return {
}
},
+ mounted(){
+
+ },
methods: {
click_page(item){
let page = '/' + item;
- uni.switchTab({
- url: page,
- success:function(res){
- console.log(res);
- console.log("成功")
- }
+ console.log("跳转",item)
+ uni.reLaunch({
+ url: page
})
}
}
@@ -61,9 +61,10 @@
background-color: red;
z-index: 9999;
width: 100%;
+ box-shadow: 0 -3px 12px rgba(0,0,0,0.05);
}
.u-page__item__slot-icon{
- width: 24px;
- height: 24px;
+ width: 22px;
+ height: 22px;
}
</style>
\ No newline at end of file
--
Gitblit v1.9.2