(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/f-wxLogin/components/f-wxLogin/f-wxLogin"],{"137d":function(n,t,e){"use strict";var o=e("6594"),i=e.n(o);i.a},"3de3":function(n,t,e){"use strict";(function(n){var o=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(e("9523")),r=e("26cb");function a(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,o)}return e}function c(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?a(Object(e),!0).forEach((function(t){(0,i.default)(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var u={computed:c({},(0,r.mapState)(["showWxLogin"])),data:function(){return{PrimaryColor:"#1fba1a",avatarUrl:"",nickName:""}},watch:{showWxLogin:{handler:function(n,t){console.log(n,"数值变化")},immediate:!0,deep:!0}},mounted:function(){},methods:c(c({},(0,r.mapMutations)(["setShowWxLogin","setUserInfo"])),{},{onClose:function(){this.setShowWxLogin(!1)},onChooseAvatar:function(n){console.log(n),this.avatarUrl=n.detail.avatarUrl},onBlur:function(n){console.log(n),this.nickName=n.detail.value},submit:function(){var t=this;this.avatarUrl?this.nickName?n.login({success:function(e){e.code,t.avatarUrl,t.nickName;var o={headLogo:t.avatarUrl,nickName:t.nickName,token:!0};console.log(o,"userInfo"),t.setUserInfo(o),n.$emit("loginCallback"),n.showToast({title:"登录成功~",icon:"none"}),t.onClose()}}):n.showToast({title:"请输入昵称~",icon:"none"}):n.showToast({title:"请上传头像~",icon:"none"})}})};t.default=u}).call(this,e("543d")["default"])},6594:function(n,t,e){},7360:function(n,t,e){"use strict";e.r(t);var o=e("3de3"),i=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);t["default"]=i.a},c419:function(n,t,e){"use strict";e.r(t);var o=e("d269"),i=e("7360");for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);e("137d");var a=e("f0c5"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"129c6926",null,!1,o["a"],void 0);t["default"]=c.exports},d269:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return o}));var o={uniPopup:function(){return e.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(e.bind(null,"9af0"))},uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(e.bind(null,"b341"))}},i=function(){var n=this.$createElement;this._self._c},r=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uni_modules/f-wxLogin/components/f-wxLogin/f-wxLogin-create-component',
    {
        'uni_modules/f-wxLogin/components/f-wxLogin/f-wxLogin-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("c419"))
        })
    },
    [['uni_modules/f-wxLogin/components/f-wxLogin/f-wxLogin-create-component']]
]);
