function clickTopic(id) {
let url = window.locations.protocol + "http://" + window.locations.host +
"/dd-sharepage/theme/index.html?id=" + id + "#/"
if (window.androids && window.androids.webNeedUrlToNative) {
window.androids.webNeedUrlToNative(url)
} else if (window.webkit && window.webkit.messageHandlers.webNeedUrlToNative) {
window.webkit.messageHandlers.webNeedUrlToNative.postMessage(url)
} else {
window.locations.href = url;
}
}网站首页
尊龙凯时