liyongli 1 anno fa
parent
commit
f6c8684bc9
3 ha cambiato i file con 92 aggiunte e 0 eliminazioni
  1. 4 0
      src/config/page.json
  2. 68 0
      src/view/AEROSPACE2023/index.js
  3. 20 0
      src/view/AEROSPACE2023/index.vue

+ 4 - 0
src/config/page.json

@@ -55,5 +55,9 @@
     },
     "finance2023": {
         "title": "2023年争做陕西金融好网民倡议书,等您来签署!"
+    },
+    "AEROSPACE2023": {
+        "title": "西安空天产业高质量发展暨区域资源推介会邀请函",
+        "operateId": 4
     }
 }

+ 68 - 0
src/view/AEROSPACE2023/index.js

@@ -0,0 +1,68 @@
+import App from './index.vue';
+import '@/assets/js/common';
+import { createApp } from 'vue';
+// import { getUser } from "@/utils/tool.js";
+import { getPageParameters, environment } from '../../config/pageConfig';
+// 判断环境
+environment();
+window.$originData = getPageParameters();
+document.title = window.$originData.orginParames.title || '';
+
+// 分享
+window.weixin_Share_Init(
+  window.$originData.orginParames.title,
+  '',
+  'https://cxzx.smcic.net/topic/tool/img/jrhwm2023.jpg',
+  'https://cxzx.smcic.net/topic/activity/AEROSPACE2023.html?' + Date.now(),
+  wx => {
+    wx.openLocation({
+      latitude: 34.140384, // 纬度,浮点数,范围为90 ~ -90
+      longitude: 108.98944, // 经度,浮点数,范围为180 ~ -180。
+      name: '航天基地京东大道和少陵路十字西北角西安航天国际会议中心东方红会议厅', // 位置名
+      address: '', // 地址详情说明
+      scale: 1, // 地图缩放级别,整型值,范围从1~28。默认为最大
+      infoUrl: '', // 在查看位置界面底部显示的超链接,可点击跳转
+    });
+  }
+);
+
+// var SL = new window.SmcicLogger("shanshipin", "c6124d95");
+// SL.Util.SetUrl("https://collect.smcic.net:8443/");
+// SL.Systematic.Init({
+//   appid: "c6124d95",
+//   channel: "shanshipin",
+//   model: "",
+//   os: "",
+//   os_version: "",
+//   carrier: "",
+//   network_type: "",
+//   ip: "",
+//   app_name: "",
+//   app_version: "",
+//   build_version: "",
+//   platform_type: "",
+// });
+// SL.Content.CommodityDetail({
+//   commodity_detail_source: "活动",
+//   commodity_id: "",
+//   commodity_name: document.title,
+//   publisher_name: "",
+//   publisher_id: "",
+//   review_count: 0,
+//   comment_count: 0,
+//   collect_count: 0,
+//   share_count: 0,
+//   like_count: 0,
+//   tag: [],
+// });
+
+// !window.$shanshipin || !window.$shanshipin.Phone
+//   ? getUser(() => createApp(App).mount("#app"))
+//   : createApp(App).mount("#app");
+
+// window.setUserSession = () => {
+//   console.log("登录");
+//   getUser(() => createApp(App).mount("#app"));
+// };
+
+createApp(App).mount('#app');

+ 20 - 0
src/view/AEROSPACE2023/index.vue

@@ -0,0 +1,20 @@
+<template>
+  <div class="AEROSPACE2023"></div>
+</template>
+<script setup>
+// import { onMounted, reactive } from "vue";
+// import { isIpad, isIpod, isIphone } from "../../utils/isTerminal";
+/**
+ * window.$originData.orginParames.title 页面标题
+ * window.$originData.orginParames.parameters 固定参数值
+ * window.$originData.urlParames url参数
+ */
+console.log(window.$originData);
+
+</script>
+<style>
+.AEROSPACE2023 {
+  width: 100vw;
+  height: 100vh;
+}
+</style>