anln_refund_1.4 #30
|
@ -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));
|
||||
|
|
|
@ -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))}`
|
||||
)}`
|
||||
);
|
||||
}
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
|
|
@ -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)]"
|
||||
|
|
Loading…
Reference in New Issue