You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.1 KiB

4 months ago
4 weeks ago
4 months ago
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const mp_ecard_sdk_constants_log = require("../constants/log.js");
  4. const mp_ecard_sdk_utils_index = require("../utils/index.js");
  5. const index = { data() {
  6. return { token: "" };
  7. }, onLoad(t) {
  8. var { token: t, needJumpPage: e } = t;
  9. this.token = t, common_vendor.index.reportLogToEid({ token: t, event: mp_ecard_sdk_constants_log.Log.getIntoIndexPage, errMsg: `进入配置首页,token:${t},needJumpPage:` + e }), mp_ecard_sdk_utils_index.reportStat({ module: "StartIndex", action: "enter" });
  10. }, onUnload() {
  11. mp_ecard_sdk_utils_index.reportStat({ module: "StartIndex", action: "leave" });
  12. }, methods: { handleStart() {
  13. mp_ecard_sdk_utils_index.navigateToEid(this.token);
  14. } } };
  15. const _sfc_main = index;
  16. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  17. return {
  18. a: common_vendor.o((...args) => _ctx.handleStart && _ctx.handleStart(...args))
  19. };
  20. }
  21. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
  22. wx.createPage(MiniProgramPage);