"use strict"; const common_vendor = require("../../common/vendor.js"); if (!Array) { const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal"); _easycom_u_modal2(); } const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js"; if (!Math) { _easycom_u_modal(); } const _sfc_main = { __name: "IDcard", setup(__props) { const show = common_vendor.ref(false); const content = common_vendor.ref(""); const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"]; const textArray = common_vendor.reactive(["", "", "", "", "", "", "", ""]); common_vendor.ref(""); function getMessage() { common_vendor.index.navigateTo({ url: "/pages/addoldman/camera" }); } const headImge = common_vendor.ref(""); const backImge = common_vendor.ref(""); const openLook = (res) => { if (res) { content.value = res; show.value = true; } }; const next = () => { common_vendor.index.navigateTo({ url: "/pages/addoldman/yibao" }); }; return (_ctx, _cache) => { return common_vendor.e({ a: common_vendor.o(($event) => show.value = $event), b: common_vendor.p({ content: content.value, modelValue: show.value }), c: headImge.value ? headImge.value : `https://www.focusnu.com/media/directive/index/IDcard.png`, d: !headImge.value }, !headImge.value ? {} : {}, { e: common_vendor.o(getMessage), f: backImge.value ? backImge.value : `https://www.focusnu.com/media/directive/index/backIDcard.png`, g: !backImge.value }, !backImge.value ? {} : {}, { h: common_vendor.o(getMessage), i: common_vendor.f(nameArray, (item, index, i0) => { return { a: common_vendor.t(item), b: common_vendor.t(textArray[index] ? textArray[index] : "自动获取"), c: index, d: common_vendor.o(($event) => openLook(textArray[index]), index) }; }), j: common_vendor.o(next) }); }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5fcb8e22"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/addoldman/IDcard.js.map