"use strict"; const common_vendor = require("../../common/vendor.js"); const common_assets = require("../../common/assets.js"); const compontent_useWeChatAuth = require("../../compontent/useWeChatAuth.js"); if (!Array) { const _component_transition = common_vendor.resolveComponent("transition"); _component_transition(); } const _sfc_main = { __name: "index", setup(__props) { const isTarget = common_vendor.ref(false); const isFadingOut = common_vendor.ref(false); compontent_useWeChatAuth.useWeChatAuth(); const maskColor = common_vendor.ref("rgba(0, 0, 0, 0.5)"); function closeModal() { isFadingOut.value = false; } const loginIt = () => { if (!isTarget.value) { isFadingOut.value = true; } else { common_vendor.index.navigateTo({ url: "/pages/login/phonebumber" }); } }; const jumpToPro = () => { common_vendor.index.__f__("log", "at pages/login/index.vue:87", "????"); common_vendor.index.navigateTo({ url: "/pages/login/protocol" }); }; return (_ctx, _cache) => { return common_vendor.e({ a: common_assets._imports_0, b: common_assets._imports_1, c: common_assets._imports_2, d: common_vendor.n(isTarget.value ? "radio-circle-target" : "radio-circle"), e: common_vendor.o(($event) => isTarget.value = !isTarget.value), f: common_vendor.o(($event) => isTarget.value = !isTarget.value), g: common_vendor.o(jumpToPro), h: common_vendor.o(($event) => isTarget.value = !isTarget.value), i: common_vendor.o(loginIt), j: isFadingOut.value }, isFadingOut.value ? { k: common_vendor.o(closeModal), l: maskColor.value } : {}, { m: common_vendor.p({ name: "fade" }), n: isFadingOut.value }, isFadingOut.value ? { o: common_vendor.o(jumpToPro), p: common_vendor.o(closeModal), q: common_vendor.o(($event) => { closeModal(); isTarget.value = true; }) } : {}, { r: common_vendor.p({ name: "slide-up" }) }); }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d08ef7d4"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/index.js.map