"use strict"; const common_vendor = require("../../common/vendor.js"); const common_assets = require("../../common/assets.js"); const compontent_useWeChatAuth = require("../../compontent/useWeChatAuth.js"); const _sfc_main = { __name: "index", setup(__props) { const isTarget = common_vendor.ref(false); const isFadingOut = common_vendor.ref(false); const { login } = compontent_useWeChatAuth.useWeChatAuth(); let timerId = null; const loginIt = () => { if (timerId) { clearTimeout(timerId); } if (!isTarget.value) { isFadingOut.value = true; timerId = setTimeout(() => { isFadingOut.value = false; }, 1e3); } else { login(); } }; const yanzhengma = () => { if (timerId) { clearTimeout(timerId); } if (!isTarget.value) { isFadingOut.value = true; timerId = setTimeout(() => { isFadingOut.value = false; }, 1e3); } else { common_vendor.index.navigateTo({ url: "/pages/index/phonebumber" }); } }; return (_ctx, _cache) => { return { a: common_assets._imports_0, b: common_assets._imports_1, c: common_assets._imports_2, d: isFadingOut.value, e: common_vendor.n(isTarget.value ? "radio-circle-target" : "radio-circle"), f: common_vendor.o(($event) => isTarget.value = !isTarget.value), g: common_vendor.o(($event) => isTarget.value = !isTarget.value), h: common_vendor.o(loginIt), i: common_vendor.o(yanzhengma) }; }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map