index.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import App from "./index.vue";
  2. import "@/assets/js/common";
  3. import { createApp } from "vue";
  4. import { getPageParameters, environment } from "../../config/pageConfig";
  5. // 判断环境
  6. environment();
  7. window.$originData = getPageParameters();
  8. createApp(App).mount("#app")
  9. // 分享
  10. window.weixin_Share_Init(
  11. window.$originData.orginParames.title || "",
  12. "",
  13. "https://cxzx.smcic.net/topic/tool/img/2025lm.png",
  14. "https://cxzx.smcic.net/topic/activity/fenghui.html?" + Date.now()
  15. );
  16. var SL = new window.SmcicLogger("special", "c6124e08");
  17. SL.Util.SetUrl("https://collect.smcic.net:8443/");
  18. SL.Systematic.Init({
  19. appid: "c6124e08",
  20. channel: "special",
  21. model: "",
  22. os: "",
  23. os_version: "",
  24. carrier: "",
  25. network_type: "",
  26. ip: "",
  27. app_name: "",
  28. app_version: "",
  29. build_version: "",
  30. platform_type: "",
  31. });
  32. SL.Content.CommodityDetail({
  33. commodity_detail_source: "活动",
  34. commodity_id: "",
  35. commodity_name: window.$originData.orginParames.title || "",
  36. publisher_name: "",
  37. publisher_id: "",
  38. review_count: 0,
  39. comment_count: 0,
  40. collect_count: 0,
  41. share_count: 0,
  42. like_count: 0,
  43. tag: [],
  44. });