anln_refund_1.4 #30

Merged
yezian merged 18 commits from anln_refund_1.4 into main 2025-01-21 18:22:52 +08:00
3 changed files with 28 additions and 3 deletions
Showing only changes of commit 65728f9bcd - Show all commits

View File

@ -62,7 +62,8 @@ export default function NoticeItem({ leftIcon, hasLink, data }) {
router.push(links[1]?.params);
} else {
if (links[0]?.action === "outward") {
router(links[0]?.params);
//
window.open(links[0]?.params);
} else {
// alert(links[0]?.params);
// alert(encodeURIComponent(links[0]?.params));

View File

@ -49,7 +49,19 @@ export default function Banner() {
links.filter((it) => it.inward_action_type === "h5")[0]?.url
);
} else {
router.push(links[0]?.url);
if (links[0]?.action === "outward") {
//
window.open(links[0]?.url);
} else {
// alert(links[0]?.params);
// alert(encodeURIComponent(links[0]?.params));
router.push(
`/webView/${encodeURIComponent(
links[0]?.params +
`?base=${encodeURIComponent(JSON.stringify(base))}`
)}`
);
}
}
}}
>

View File

@ -72,7 +72,19 @@ export default function HostList() {
links.filter((it) => it.inward_action_type === "h5")[0]?.url
);
} else {
router.push(links[0]?.url);
if (links[0]?.action === "outward") {
//
window.open(links[0]?.url);
} else {
// alert(links[0]?.params);
// alert(encodeURIComponent(links[0]?.params));
router.push(
`/webView/${encodeURIComponent(
links[0]?.params +
`?base=${encodeURIComponent(JSON.stringify(base))}`
)}`
);
}
}
}}
className="grid grid-cols-[48px,calc(100vw-48px-2rem)]"