|
|
@@ -4,6 +4,7 @@ import {AntdRegistry} from "@ant-design/nextjs-registry";
|
|
|
import '@ant-design/v5-patch-for-react-19';
|
|
|
import HeaderBlock from "@/components/headerBlock";
|
|
|
import FooterBlock from "@/components/footerBlock";
|
|
|
+import Script from "next/script";
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
title: "中科盛阳信息技术有限公司",
|
|
|
@@ -18,16 +19,27 @@ export default function RootLayout({
|
|
|
}: Readonly<{
|
|
|
children: React.ReactNode;
|
|
|
}>) {
|
|
|
- console.log(123);
|
|
|
return (
|
|
|
<html lang="en">
|
|
|
<body>
|
|
|
<AntdRegistry>
|
|
|
<HeaderBlock/>
|
|
|
{children}
|
|
|
+ {/*<ChatWidget/>*/}
|
|
|
<FooterBlock/>
|
|
|
</AntdRegistry>
|
|
|
</body>
|
|
|
+ <Script id="baidu-tongji">
|
|
|
+ {`
|
|
|
+ var _hmt = _hmt || [];
|
|
|
+ (function() {
|
|
|
+ var hm = document.createElement("script");
|
|
|
+ hm.src = "https://hm.baidu.com/hm.js?4ef580994251660ce8c45997f722da54";
|
|
|
+ var s = document.getElementsByTagName("script")[0];
|
|
|
+ s.parentNode.insertBefore(hm, s);
|
|
|
+ })();
|
|
|
+ `}
|
|
|
+ </Script>
|
|
|
</html>
|
|
|
);
|
|
|
}
|