(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/approve"],{"2e6f":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return u})),t.d(e,"a",(function(){return o}));var o={uForm:function(){return t.e("uview-ui/components/u-form/u-form").then(t.bind(null,"d515"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"11c4"))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-input/u-input")]).then(t.bind(null,"9108"))}},i=function(){var n=this.$createElement;this._self._c},u=[]},"423e":function(n,e,t){"use strict";t.r(e);var o=t("2e6f"),i=t("e058");for(var u in i)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(u);t("4819");var a=t("f0c5"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"4d711218",null,!1,o["a"],void 0);e["default"]=c.exports},4819:function(n,e,t){"use strict";var o=t("b04e"),i=t.n(o);i.a},"8b6f":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t("2b06"),i=t("2101"),u={data:function(){return{loding:!1,form:{name:"",card:"",img:""}}},onLoad:function(n){},methods:{upImg:function(n){var e=this;console.log("上传图片");(0,i.upload)({filename:""}).then((function(n){e.form.img=n[0].url}))},ToIndex:function(){var e=n.getStorageSync("present")||"/pages/index/index";"pages/product/product"==e&&(e="/pages/index/index"),n.switchTab({url:e,fail:function(t){n.navigateTo({url:e,fail:function(e){n.navigateTo({url:"/pages/index/index"})}})}})},pushData:function(){var e=this,t=this.form;if(!this.loding)if(t.name)if(t.card)if(t.img){var i={cidimg:t.img,rname:t.name,cid:t.card};n.showLoading({title:"审核中",mask:!0}),this.loding=!0,(0,o.realName)(i).then((function(t){n.showModal({title:"提示",content:"实名提交成功",showCancel:!1,success:function(e){n.switchTab({url:"/pages/index/index"})}}),n.hideLoading(),e.loding=!1,console.log(t)})).catch((function(t){e.loding=!1,console.log(t),n.hideLoading()}))}else n.showModal({title:"提示",content:"请选择图片",showCancel:!1});else n.showModal({title:"提示",content:"请填写身份证",showCancel:!1});else n.showModal({title:"提示",content:"请填写真实姓名",showCancel:!1})}}};e.default=u}).call(this,t("543d")["default"])},b04e:function(n,e,t){},e058:function(n,e,t){"use strict";t.r(e);var o=t("8b6f"),i=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=i.a},f624:function(n,e,t){"use strict";(function(n,e){var o=t("4ea4");t("3e39");o(t("66fd"));var i=o(t("423e"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])}},[["f624","common/runtime","common/vendor"]]]);