|
@@ -26,6 +26,15 @@
|
|
|
<script src="jquery-3.6.1.js"></script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
+ if (isMobileUserAgent()) {
|
|
|
+ window.location = 'navMobile.html'
|
|
|
+ }
|
|
|
+
|
|
|
+ function isMobileUserAgent() {
|
|
|
+ return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
|
|
|
+ window.navigator.userAgent.toLowerCase("")
|
|
|
+ );
|
|
|
+ }
|
|
|
setHeader()
|
|
|
setFooter()
|
|
|
function setHeader(){
|
|
@@ -34,6 +43,8 @@
|
|
|
function setFooter(){
|
|
|
$("#footer").load("https://www.cqna.gov.cn/ggbf_search/ggyr/2022foot/foot.html")
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
</html>
|