uni-Identify-quality/unpackage/dist/dev/mp-weixin/pages/home/index.js

2 lines
4.5 KiB
JavaScript
Raw Normal View History

(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 a=s(t(202));e.__webpack_require_UNI_MP_PLUGIN__=t,n(a.default)}).call(this,t(1)["default"],t(2)["createPage"])},202:function(e,n,t){"use strict";t.r(n);var s=t(203),a=t(205);for(var o in a)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(o);t(207);var r,i=t(33),c=Object(i["default"])(a["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 a})),t.d(n,"staticRenderFns",(function(){return r})),t.d(n,"recyclableRender",(function(){return o})),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 a=function(){var e=this,n=e.$createElement,t=(e._self._c,e.addressList.length);e.$mp.data=Object.assign({},{$root:{g0:t}})},o=!1,r=[];a._withStripped=!0},205:function(e,n,t){"use strict";t.r(n);var s=t(206),a=t.n(s);for(var o in s)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return s[e]}))}(o);n["default"]=a.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 a=s(t(63)),o=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,o.default)(a.default.mark((function n(){var t;return a.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());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,o.default)(a.default.mark((function n(){var t;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2
2023-11-09 01:35:29 +00:00
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/index.js.map