anln_0000001_superFanPrices #25
|
@ -84,6 +84,19 @@ export default function NoticeItem({ navigation, leftIcon, hasLink, data }) {
|
|||
action: links[0]?.inward_action_type,
|
||||
});
|
||||
if (typeof linkAndParams === "string") {
|
||||
if (links[0]?.action === "webViewHeader") {
|
||||
navigation.navigate("WebWithHeader", {
|
||||
title: "",
|
||||
uri: linkAndParams,
|
||||
});
|
||||
return;
|
||||
} else if (links[0]?.action === "webViewWithOutHeader") {
|
||||
navigation.navigate("WebWithoutHeader", {
|
||||
title: "",
|
||||
uri: linkAndParams,
|
||||
});
|
||||
return;
|
||||
}
|
||||
try {
|
||||
// 尝试启动微信客户端
|
||||
Linking.openURL(linkAndParams).catch(() => {
|
||||
|
|
Loading…
Reference in New Issue