This commit is contained in:
pengxiaolong
2025-05-21 17:03:19 +08:00
parent 829199a197
commit 0b9353de84
96 changed files with 9172 additions and 30 deletions

View File

@@ -1,5 +1,9 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Math) {
NewAddedPk();
}
const NewAddedPk = () => "../../pages/NewAddedPk/NewAddedPk2.js";
const _sfc_main = {
__name: "tabBar",
props: {
@@ -61,11 +65,18 @@ const _sfc_main = {
tabList[middleIndex].middleClass = "mid-button";
}
}
common_vendor.ref();
const createModule = common_vendor.ref();
function openPopupQuantity() {
createModule.value.open();
}
const disabledScroll = () => {
return false;
};
function handlePush(item, index) {
if (index === 2) {
openPopupQuantity();
return;
}
if (item.text === "消息") {
common_vendor.index.navigateTo({ url: "/TUIKit/components/TUIConversation/index" });
} else {
@@ -82,12 +93,15 @@ const _sfc_main = {
b: common_vendor.t(item.text),
c: __props.tabIndex == index ? "#1DD2F9" : "#A7A3A3",
d: common_vendor.n("list-item flex flex-column flex-middle " + item.middleClass),
e: common_vendor.o$1(($event) => handlePush(item), index),
e: common_vendor.o$1(($event) => handlePush(item, index), index),
f: index
};
}),
b: common_vendor.n(common_vendor.unref(showMiddleButton) === true ? "tab-list-middle" : "tab-list-default"),
c: common_vendor.o$1(disabledScroll)
c: common_vendor.o$1(disabledScroll),
d: common_vendor.sr(createModule, "c497a889-0", {
"k": "createModule"
})
};
};
}