This commit is contained in:
pengxiaolong
2025-05-14 16:09:14 +08:00
parent 5f8ff971d4
commit 838cfd9986
45 changed files with 437 additions and 270 deletions

View File

@@ -41,7 +41,7 @@ let tabList = reactive([
iconPath: "../../static/Pk.png",
selectedIconPath: "../../static/PkClick.png",
text: "PK",
pagePath: "../../pages/Home/Home",
pagePath: "/pages/Home/Home",
middleClass: "",
},
{
@@ -62,7 +62,6 @@ let tabList = reactive([
iconPath: "../../static/Message.png",
selectedIconPath: "../../static/Messageclick.png",
text: "消息",
pagePath: "../../pages/index/index",
},
{
iconPath: "../../static/Mine.png",
@@ -111,7 +110,9 @@ const disabledScroll = () => {
};
//tab点击事件
function handlePush(item, index) {
if (item.pagePath) {
if (item.text === "消息") {
uni.navigateTo({ url: "/TUIKit/components/TUIConversation/index" });
}else {
uni.switchTab({
url: item.pagePath,
});