迁移婚姻商店入口事件
This commit is contained in:
@@ -58,6 +58,15 @@ export function bindMarriageStatusControls() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.target.closest("[data-marriage-open-shop]")) {
|
||||
event.preventDefault();
|
||||
// 求婚戒指缺失时只转发到商店弹窗,不触碰婚姻弹窗业务状态。
|
||||
if (typeof window.openShopModal === "function") {
|
||||
window.openShopModal();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
const pageButton = event.target.closest("[data-marriage-page-delta]");
|
||||
if (pageButton) {
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user