|
|
-(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/app-bind-info"],{3962:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("6436"),o=function(){e.e("components/plugin/list-cell").then(function(){return resolve(e("1861"))}.bind(null,e)).catch(e.oe)},a={name:"AppBindInfo",props:{nameTetx:{type:String,default:"微信昵称"}},components:{TuiListCell:o},data:function(){return{form:{name:"",mobile:""}}},methods:{getWxAvatar:function(){var n=this;t.getUserProfile({desc:"登录",success:function(e){(0,i.getWxInfo)({iv:e.iv,encryptedData:e.encryptedData}).then((function(e){n.form.name=e.data.name,n.$emit("bindInfo",n.form),t.showToast({icon:"success"})}))},fail:function(t){}})},getWxMobile:function(n){var e=this;"getPhoneNumber:ok"===n.detail.errMsg?(0,i.getWxPhone)({iv:n.detail.iv,encryptedData:n.detail.encryptedData}).then((function(n){e.form.mobile=n.data.mobile,e.$emit("bindInfo",e.form),t.showToast({icon:"success"})})):this.$msg("获取信息失败!")}}};n.default=a}).call(this,e("1480")["default"])},"3c0f":function(t,n,e){"use strict";e.r(n);var i=e("3962"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},"478b":function(t,n,e){"use strict";var i=e("f503"),o=e.n(i);o.a},5038:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$util.isEmpty(t.form.name)),i=t.$util.isEmpty(t.form.mobile);t.$mp.data=Object.assign({},{$root:{g0:e,g1:i}})},a=[]},e6d7:function(t,n,e){"use strict";e.r(n);var i=e("5038"),o=e("3c0f");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("478b");var c,r=e("41a2"),u=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"7fa3a9ca",null,!1,i["a"],c);n["default"]=u.exports},f503:function(t,n,e){}}]);
|
|
|
|
|
|
|
+(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/app-bind-info"],{"1bb4":function(t,n,e){},"3c0fa":function(t,n,e){"use strict";e.r(n);var i=e("cbe7"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},a451:function(t,n,e){"use strict";var i=e("1bb4"),o=e.n(i);o.a},ae43:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$util.isEmpty(t.form.name)),i=t.$util.isEmpty(t.form.mobile);t.$mp.data=Object.assign({},{$root:{g0:e,g1:i}})},a=[]},cbe7:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("6436"),o=function(){e.e("components/plugin/list-cell").then(function(){return resolve(e("1861"))}.bind(null,e)).catch(e.oe)},a={name:"AppBindInfo",props:{nameTetx:{type:String,default:"微信昵称"}},components:{TuiListCell:o},data:function(){return{form:{name:"",mobile:""}}},methods:{getWxAvatar:function(){var n=this;t.getUserProfile({desc:"登录",success:function(e){(0,i.getWxInfo)({iv:e.iv,encryptedData:e.encryptedData}).then((function(e){n.form.name=e.data.name,n.$emit("bindInfo",n.form),t.showToast({icon:"success"})}))},fail:function(t){}})},getWxMobile:function(n){var e=this;"getPhoneNumber:ok"===n.detail.errMsg?(0,i.getWxPhone)({iv:n.detail.iv,encryptedData:n.detail.encryptedData}).then((function(n){e.form.mobile=n.data.mobile,e.$emit("bindInfo",e.form),t.showToast({icon:"success"})})):this.$msg("获取信息失败!")}}};n.default=a}).call(this,e("f3be")["default"])},e6d7:function(t,n,e){"use strict";e.r(n);var i=e("ae43"),o=e("3c0fa");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("a451");var c,r=e("0095"),u=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"0ee74f36",null,!1,i["a"],c);n["default"]=u.exports}}]);
|