Эх сурвалжийг харах

feat: 新增 head.js 埋点相关

zhangyuhan 1 жил өмнө
parent
commit
0c10443c87

+ 3 - 0
src/web/templates/frontRouter/wx/bidedoc/sess/index.html

@@ -16,6 +16,9 @@
   <meta name="format-detection" content="telephone=no">
   <title>标书制作对接</title>
   <script src="/big-member/js/rem.js"></script>
+  <!--S 加载百度统计及剑鱼自定义埋点 -->
+  <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+  <!--E 加载百度统计及剑鱼自定义埋点 -->
   <!--S-当前页面的css资源-->
   <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />
   <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/index.css />

+ 5 - 2
src/web/templates/frontRouter/wx/partner/sess/index.html

@@ -16,6 +16,9 @@
   <meta name="format-detection" content="telephone=no">
   <title>产品销售合作</title>
   <script src="/big-member/js/rem.js"></script>
+  <!--S 加载百度统计及剑鱼自定义埋点 -->
+  <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+  <!--E 加载百度统计及剑鱼自定义埋点 -->
   <!--S-当前页面的css资源-->
   <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />
   <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/index.css />
@@ -59,11 +62,11 @@
       delimiters: ['{', '}'],
       data: function () {
         return {
-          
+
         }
       },
       created() {
-        
+
       },
       methods: {
         getMsg() {

+ 5 - 2
src/web/templates/frontRouter/wx/partner/sess/partner.html

@@ -16,6 +16,9 @@
   <meta name="format-detection" content="telephone=no">
   <title>渠道合伙人招募计划限时启动</title>
   <script src="/big-member/js/rem.js"></script>
+  <!--S 加载百度统计及剑鱼自定义埋点 -->
+  <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+  <!--E 加载百度统计及剑鱼自定义埋点 -->
   <!--S-当前页面的css资源-->
   <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />
   <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/index.css />
@@ -67,11 +70,11 @@
       delimiters: ['{', '}'],
       data: function () {
         return {
-          
+
         }
       },
       created() {
-        
+
       },
       methods: {
         getMsg() {

+ 4 - 1
src/web/templates/structuredata/mobile/marketing_wx.html

@@ -12,6 +12,9 @@
 	<meta http-equiv="X-UA-Compatible" content="ie=edge">
 	<title>结构化数据</title>
 	<script src="/structuredata/mobile/js/rem.js"></script>
+  <!--S 加载百度统计及剑鱼自定义埋点 -->
+  <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+  <!--E 加载百度统计及剑鱼自定义埋点 -->
 	<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/base.css?v={{Msg "seo" "version"}}">
 	<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/weui.min.css?v={{Msg "seo" "version"}}">
 	<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
@@ -54,7 +57,7 @@
 			<!-- 已使用结构化招标数据的部分企业 -->
 			<div class="company">
 				<img src='{{Msg "seo" "cdn"}}/common-module/perfect-info/image/B_04.jpg?v=1' alt="">
-				
+
 			</div>
 			<!-- 更多定制化数据服务 -->
 			<div>

+ 3 - 0
src/web/templates/structuredata/mobile/marketing_wx_old.html

@@ -12,6 +12,9 @@
 	<meta http-equiv="X-UA-Compatible" content="ie=edge">
 	<title>结构化招标数据</title>
 	<script src="/structuredata/mobile/js/rem.js"></script>
+  <!--S 加载百度统计及剑鱼自定义埋点 -->
+  <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+  <!--E 加载百度统计及剑鱼自定义埋点 -->
 	<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/base.css?v={{Msg "seo" "version"}}">
 	<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/weui.min.css?v={{Msg "seo" "version"}}">
 	<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/iconfont/iconfont.css?v={{Msg "seo" "version"}}">

+ 3 - 0
src/web/templates/structuredata/mobile/preview.html

@@ -4,6 +4,9 @@
     <title>数据示例</title>
     <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
     <script src="{{Msg "seo" "cdn"}}/structuredata/mobile/js/rem.js"></script>
+    <!--S 加载百度统计及剑鱼自定义埋点 -->
+    <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+    <!--E 加载百度统计及剑鱼自定义埋点 -->
     <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/structuredata/mobile/iconfont/iconfont.css" />
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/preview.css">
     <script src="https://cdn.bootcss.com/js-polyfills/0.1.42/polyfill.min.js"></script>

+ 3 - 0
src/web/templates/structuredata/mobile/write_infor_wx.html

@@ -9,6 +9,9 @@
         <meta http-equiv="X-UA-Compatible" content="ie=edge">
         <meta http-equiv="X-UA-Compatible" content="ie=edge">
         <title>深入了解</title>
+        <!--S 加载百度统计及剑鱼自定义埋点 -->
+        <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+        <!--E 加载百度统计及剑鱼自定义埋点 -->
         <script src="{{Msg "seo" "cdn"}}/structuredata/mobile/js/rem.js?v={{Msg "seo" "version"}}"></script>
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/base.css?v={{Msg "seo" "version"}}">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/iconfont/iconfont.css?v={{Msg "seo" "version"}}">

+ 4 - 1
src/web/templates/structuredata/mobile/write_result.html

@@ -10,6 +10,9 @@
         <meta http-equiv="X-UA-Compatible" content="ie=edge">
         <title>深入了解</title>
         <script src="{{Msg "seo" "cdn"}}/structuredata/mobile/js/rem.js?v={{Msg "seo" "version"}}"></script>
+        <!--S 加载百度统计及剑鱼自定义埋点 -->
+        <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+        <!--E 加载百度统计及剑鱼自定义埋点 -->
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/base.css?v={{Msg "seo" "version"}}">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/write_result.css?v={{Msg "seo" "version"}}">
@@ -38,4 +41,4 @@
         history.go(-1)
     }
 </script>
-</html>
+</html>

+ 4 - 1
src/web/templates/weixin/commonPay/myOrder.html

@@ -17,6 +17,9 @@
     <meta name="format-detection" content="telephone=no">
     <title>我的订单</title>
     <!--S-当前页面的css资源-->
+    <!--S 加载百度统计及剑鱼自定义埋点 -->
+    <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+    <!--E 加载百度统计及剑鱼自定义埋点 -->
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/index.css />
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/icon/local.css />
@@ -148,4 +151,4 @@
 {{include "/common/baiducc.html"}}
 </body>
 
-</html>
+</html>

+ 3 - 0
src/web/templates/weixin/dataPack/index.html

@@ -15,6 +15,9 @@
     <meta name="apple-mobile-web-app-status-bar-style" content="black">
     <meta name="format-detection" content="telephone=no">
     <title>我的数据流量包</title>
+    <!--S 加载百度统计及剑鱼自定义埋点 -->
+    <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+    <!--E 加载百度统计及剑鱼自定义埋点 -->
     <!--S-当前页面的css资源-->
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/index.css />

+ 3 - 0
src/web/templates/weixin/dataPack/recharge.html

@@ -15,6 +15,9 @@
     <meta name="apple-mobile-web-app-status-bar-style" content="black">
     <meta name="format-detection" content="telephone=no">
     <title>我的数据流量包</title>
+    <!--S 加载百度统计及剑鱼自定义埋点 -->
+    <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+    <!--E 加载百度统计及剑鱼自定义埋点 -->
     <!--S-当前页面的css资源-->
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/index.css />

+ 3 - 0
src/web/templates/weixin/dataPack/recordList.html

@@ -14,6 +14,9 @@
     <meta name="apple-mobile-web-app-capable" content="yes">
     <meta name="apple-mobile-web-app-status-bar-style" content="black">
     <meta name="format-detection" content="telephone=no">
+    <!--S 加载百度统计及剑鱼自定义埋点 -->
+    <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+    <!--E 加载百度统计及剑鱼自定义埋点 -->
     <title>数据导出记录</title>
     <!--S-当前页面的css资源-->
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />

+ 3 - 0
src/web/templates/weixin/downloadpage.html

@@ -4,6 +4,9 @@
     <meta name="format-detection" content="telephone=no, email=no"/>
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
 		<script src="{{Msg "seo" "cdn"}}/js/rem.js" type="text/javascript" charset="utf-8"></script>
+    <!--S 加载百度统计及剑鱼自定义埋点 -->
+    <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+    <!--E 加载百度统计及剑鱼自定义埋点 -->
 		<title>剑鱼标讯</title>
 	</head>
 	<style type="text/css">

+ 3 - 0
src/web/templates/weixin/setpage.html

@@ -6,6 +6,9 @@
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>设置</title>
     <script src="/js/rem.js"></script>
+    <!--S 加载百度统计及剑鱼自定义埋点 -->
+    <script src='{{Msg "seo" "cdn"}}/common-module/public/head.js?v={{Msg "seo" "version"}}'></script>
+    <!--E 加载百度统计及剑鱼自定义埋点 -->
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/reset-css/5.0.1/reset.min.css />
     <link rel="stylesheet" href="/big-member/css/public.css?v={{Msg "seo" "version"}}" />
     <link rel="stylesheet" href="/me/css/mine-icons.css?v={{Msg "seo" "version"}}" />