uni-Identify-quality/unpackage/dist/dev/mp-weixin/pages/home/index.js
xingyy 49880d9969 fix(login): 修改登录按钮文本为"快捷登录"并优化实名认证跳转逻辑
refactor(home): 重构实名认证检查逻辑,增加跳转延迟
fix(mine): 修复身份证号显示为空时的默认值处理
chore: 更新基础URL配置为正式环境
style: 调整JSON文件格式和组件属性顺序
2025-09-02 14:46:46 +08:00

2 lines
4.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/index"],{201:function(e,n,t){"use strict";(function(e,n){var s=t(4);t(26);s(t(25));var o=s(t(202));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},202:function(e,n,t){"use strict";t.r(n);var s=t(203),o=t(205);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);t(207);var r,i=t(33),c=Object(i["default"])(o["default"],s["render"],s["staticRenderFns"],!1,null,"71e217db",null,!1,s["components"],r);c.options.__file="pages/home/index.vue",n["default"]=c.exports},203:function(e,n,t){"use strict";t.r(n);var s=t(204);t.d(n,"render",(function(){return s["render"]})),t.d(n,"staticRenderFns",(function(){return s["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return s["recyclableRender"]})),t.d(n,"components",(function(){return s["components"]}))},204:function(e,n,t){"use strict";var s;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return r})),t.d(n,"recyclableRender",(function(){return a})),t.d(n,"components",(function(){return s}));try{s={titleBlock:function(){return t.e("components/title-block/title-block").then(t.bind(null,347))},uDivider:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-divider/u-divider")]).then(t.bind(null,354))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.addressList.length);e.$mp.data=Object.assign({},{$root:{g0:t}})},a=!1,r=[];o._withStripped=!0},205:function(e,n,t){"use strict";t.r(n);var s=t(206),o=t.n(s);for(var a in s)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return s[e]}))}(a);n["default"]=o.a},206:function(e,n,t){"use strict";(function(e){var s=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=s(t(63)),a=s(t(65)),r=function(){Promise.all([t.e("common/vendor"),t.e("components/uiq-tabbar/uiq-tabbar")]).then(function(){return resolve(t(362))}.bind(null,t)).catch(t.oe)},i={name:"index",onLoad:function(){e.hideTabBar()},onShow:function(){this.getAddress()},components:{tabbar:r},data:function(){return{addressList:[],isPass:0,isRealName:!1}},methods:{scanOrder:function(){return 2!==this.isPass?this.$common.msgToast("护照资料还在审核中"):2!==this.isPass&&4===this.isPass?this.$common.msgToast("资料审核未通过请重新注册"):this.isRealName?(e.removeStorageSync("scanlist"),void e.scanCode({onlyFromCamera:!1,success:function(n){console.log("条码类型:"+n.scanType),console.log("条码内容:"+n.result),e.navigateTo({url:"/pages/scanFeedback/index?url="+n.result})}})):(this.$common.msgToast("请先实名认证"),void setTimeout((function(){e.reLaunch({url:"/pages/realName/realName"})}),2e3))},getAddress:function(){var e=this;return(0,a.default)(o.default.mark((function n(){var t;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.deposit.address();case 2:t=n.sent,console.log(t),0===t.status?(e.addressList=t.data.data,e.pddIsPass()):e.$common.msgToast(t.msg);case 5:case"end":return n.stop()}}),n)})))()},goConsignmen:function(){return 2!==this.isPass?this.$common.msgToast("护照资料还在审核中"):2!==this.isPass&&4===this.isPass?this.$common.msgToast("资料审核未通过请重新注册"):this.isRealName?void e.navigateTo({url:"/pages/consignment-painting/index"}):(this.$common.msgToast("请先实名认证"),void setTimeout((function(){e.reLaunch({url:"/pages/realName/realName"})}),2e3))},pddIsPass:function(){var e=this;return(0,a.default)(o.default.mark((function n(){var t;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.deposit.fddIsPass();case 2:t=n.sent,0===t.status?(e.isPass=t.data.fdd.status,e.isRealName=t.data.isRealName):e.$common.msgToast(t.msg);case 4:case"end":return n.stop()}}),n)})))()}}};n.default=i}).call(this,t(2)["default"])},207:function(e,n,t){"use strict";t.r(n);var s=t(208),o=t.n(s);for(var a in s)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return s[e]}))}(a);n["default"]=o.a},208:function(e,n,t){}},[[201,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/index.js.map