feat(notice): 我的消息与订阅设置个人域页面

This commit is contained in:
augushong
2026-10-12 12:09:01 +00:00
parent bf82168927
commit c759812308
9 changed files with 521 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
$(function(){
ua.listen();
// 关闭按钮:弹窗内关闭当前 iframe;非弹窗场景(直接以标签页打开)返回上一页
$('#notice-read-close').on('click', function () {
var parentLayer = (window.parent && window.parent.layui) ? window.parent.layui.layer : null;
if (parentLayer) {
var index = parentLayer.getFrameIndex(window.name);
if (index !== undefined && index !== null) {
parentLayer.close(index);
return;
}
}
history.back();
});
})