|
@@ -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');
|