消息
This commit is contained in:
@@ -12,7 +12,7 @@ const _sfc_main = {
|
||||
iconPath: "../../static/Pk.png",
|
||||
selectedIconPath: "../../static/PkClick.png",
|
||||
text: "PK",
|
||||
pagePath: "../../pages/Home/Home",
|
||||
pagePath: "/pages/Home/Home",
|
||||
middleClass: ""
|
||||
},
|
||||
{
|
||||
@@ -32,8 +32,7 @@ const _sfc_main = {
|
||||
{
|
||||
iconPath: "../../static/Message.png",
|
||||
selectedIconPath: "../../static/Messageclick.png",
|
||||
text: "消息",
|
||||
pagePath: "../../pages/index/index"
|
||||
text: "消息"
|
||||
},
|
||||
{
|
||||
iconPath: "../../static/Mine.png",
|
||||
@@ -48,9 +47,9 @@ const _sfc_main = {
|
||||
});
|
||||
common_vendor.index.getSystemInfo({
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:83", "机型", res.deviceType);
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:82", "机型", res.deviceType);
|
||||
if (res.safeArea.top > 40) {
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:85", "苹果的底部栏大小", res.safeArea.top);
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:84", "苹果的底部栏大小", res.safeArea.top);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -67,7 +66,9 @@ const _sfc_main = {
|
||||
return false;
|
||||
};
|
||||
function handlePush(item, index) {
|
||||
if (item.pagePath) {
|
||||
if (item.text === "消息") {
|
||||
common_vendor.index.navigateTo({ url: "/TUIKit/components/TUIConversation/index" });
|
||||
} else {
|
||||
common_vendor.index.switchTab({
|
||||
url: item.pagePath
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user