消息
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user