Преглед на файлове

fix: 新建BI调用留资页面,更新留资组件

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe преди 11 часа
родител
ревизия
be30966efa

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
src/web/staticres/common-module/plugins/js/leave-source-vue.umd.js


+ 57 - 0
src/web/templates/frontRouter/pc/nzjbisource/free/index.html

@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>拟在建BI留资</title>
+    <meta content="IE=edge,Chrome=1" http-equiv="X-UA-Compatible"/>
+    <meta content="招标订阅,招标项目,中标项目,招标信息,剑鱼标讯" name="Keywords"/>
+    <meta content="使用剑鱼标讯,可以精准匹配招标信息,只需要微信关注剑鱼标讯公众号,然后自行设定所关注的招标关键词和地区,满足订阅需求的招标信息就会在两个小时内自动推送。" name="Description"/>
+    <meta content="webkit" name="renderer">
+    <meta content="telephone=no" name="format-detection"/>
+    <meta content="拟在建" theme="light" name="enable-header">
+    <link href='{{Msg "seo" "cdn"}}/css/reset.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css"/>
+    <link href='{{Msg "seo" "cdn"}}/pccss/reset_pc.css' rel="stylesheet" type="text/css"/>
+    <link href='{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}' rel="stylesheet"/>
+    <link href='{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css"/>
+</head>
+<style>
+  #main-app {
+    min-height: 600px;
+  }
+</style>
+<body class="page--docs--index">
+<div class="w-box page-container" >
+    <div id="leave-nzj-bi"></div>
+</div>
+<!-- 主应用依赖 -->
+ <script src="//cdn-common.jianyu360.com/cdn/lib/vue/2.7.16/vue.min.js"></script>
+<script src='{{Msg "seo" "cdn"}}/js/jquery.js?v={{Msg "seo" "version"}}' type="text/javascript"></script>
+<script src='{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}' type="text/javascript"></script>
+<script src="{{Msg "seo" "cdn"}}/common-module/plugins/js/leave-source-vue.umd.js?v={{Msg "seo" "version"}}"></script>
+<script>
+  $(function() {
+    console.info('leaveSourceVue', window.leaveSourceVue)
+    if(window.leaveSourceVue) {
+      // 获取当前页面URL的参数
+      const urlParams = new URLSearchParams(window.location.search);
+      const source = urlParams.get('source') || '';
+      const sourceMap = window.leaveSourceVue.sourceMap
+      const clue = sourceMap[source]?.clue || ''
+      if(!clue) return
+      window.leaveSourceVue.renderComponent('#leave-nzj-bi', 'pc', {
+        props: {
+          source,
+          type: '1',
+          showCloseIcon: 'false'
+        }
+      })
+      window.leaveSourceVue.doLeave({
+        source,
+        clueText: clue,
+        platform: 'pc'
+      })
+    }
+  })
+  
+</script>
+</body>
+</html>

Някои файлове не бяха показани, защото твърде много файлове са промени