1 line
2.2 KiB
JavaScript
1 line
2.2 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/Parentinformation/Parentinformation"],{1790:function(e,t,n){"use strict";n.r(t);var o=n("598c"),a=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);t["default"]=a.a},"3f2a":function(e,t,n){},"45bd":function(e,t,n){"use strict";var o=n("3f2a"),a=n.n(o);a.a},"598c":function(e,t,n){"use strict";(function(e){var o=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("87f1"),u=(o(n("aeba")),{data:function(){return{checked:!1,maskshow:!1,data:{cardNo:"",parentName:"",phone:"",openId:""}}},onLoad:function(e){this.data.openId=e.openId},methods:{checkeds:function(){this.checked=!0,this.maskshow=!1},bindParent:function(){var t=this;0==this.checked?(this.$refs.uToast.show({type:"error",title:"请先阅读《隐私保护协议》!"}),setTimeout((function(){t.maskshow=!0}),500)):(e.removeStorageSync("phone"),(0,a.bindParent)(this.data).then((function(n){200==n.code?(e.setStorageSync("phone",n.msg),t.$refs.uToast.show({title:"添加成功",type:"success"}),setTimeout((function(){e.navigateTo({url:"/pages/index/index"})}),500)):500==n.code&&t.$refs.uToast.show({title:n.msg,type:"error"})})))},cancel:function(){e.navigateTo({url:"/pages/index/index"})}}});t.default=u}).call(this,n("543d")["default"])},"5fbc":function(e,t,n){"use strict";(function(e,t){var o=n("4ea4");n("5532");o(n("66fd"));var a=o(n("edf3"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"6c15":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return o}));var o={uToast:function(){return n.e("node-modules/uview-ui/components/u-toast/u-toast").then(n.bind(null,"9420"))}},a=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.maskshow=!0},e.e1=function(t){e.maskshow=!1})},u=[]},edf3:function(e,t,n){"use strict";n.r(t);var o=n("6c15"),a=n("1790");for(var u in a)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(u);n("45bd");var c=n("f0c5"),i=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=i.exports}},[["5fbc","common/runtime","common/vendor"]]]); |