(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/Invite-staff/Invite-staff"],{"361b":function(n,e,t){"use strict";(function(n,e){var a=t("47a9");t("2acb");a(t("3240"));var r=a(t("baa6"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"4ddd":function(n,e,t){"use strict";t.r(e);var a=t("61b3"),r=t.n(a);for(var c in a)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(c);e["default"]=r.a},"5c5c":function(n,e,t){"use strict";var a=t("fa03"),r=t.n(a);r.a},"61b3":function(n,e,t){"use strict";(function(n){var a=t("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(t("7eb4")),c=a(t("ee10")),o={components:{rCanvas:function(){Promise.all([t.e("common/vendor"),t.e("components/r-canvas/r-canvas")]).then(function(){return resolve(t("4528"))}.bind(null,t)).catch(t.oe)}},data:function(){return{bg_img:"https://hyxhsh.oss-cn-chengdu.aliyuncs.com/63b7c68b71a69169d1b33f92/store/bdb/user/avatar/yzBqSYi5PEsId74406272837cf072c83825d28c270d3.png/1.png",card_img:"/static/img/enterprise_playbil.jpg",isImageLoaded:!1,userinfo:{}}},onLoad:function(){this.userinfo=this.$app.storage.get("USER_INFO")},onReady:function(){},methods:{longpressTap:function(){this.get_downloadImg()},get_downloadImg:function(){var e=this;return(0,c.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$nextTick((0,c.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.rCanvas.init({canvas_id:"rCanvas"});case 2:return t.next=4,e.$refs.rCanvas.setCanvasWidth(319);case 4:return t.next=6,e.$refs.rCanvas.setCanvasHeight(414);case 6:return t.next=8,e.$refs.rCanvas.drawImage({url:e.card_img,x:-10,y:30,w:338,h:395}).catch((function(e){n.showToast({title:e,icon:"none"})}));case 8:return t.next=10,e.$refs.rCanvas.drawImage({url:e.avatar_img,x:134,y:0,w:50,h:50}).catch((function(e){n.showToast({title:e,icon:"none"})}));case 10:return t.next=12,e.$refs.rCanvas.drawText({text:e.userinfo.nickName?userinfo.nickName:"匿名用户",max_width:0,x:132,y:70,font_color:"#181818",font_size:14}).catch((function(e){n.showToast({title:e,icon:"none"})}));case 12:return t.next=14,e.$refs.rCanvas.drawText({text:"长按识别二维码",max_width:0,x:108,y:386,font_color:"#181818",font_size:14}).catch((function(e){n.showToast({title:e,icon:"none"})}));case 14:return t.next=16,e.$refs.rCanvas.draw((function(e){n.showShareImageMenu({path:e.tempFilePath,success:function(n){return console.log("分享成功",n)},fail:function(n){return console.error("分享失败",n)}})}));case 16:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})))()}}};e.default=o}).call(this,t("df3c")["default"])},baa6:function(n,e,t){"use strict";t.r(e);var a=t("d935"),r=t("4ddd");for(var c in r)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(c);t("5c5c");var o=t("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"700cfa61",null,!1,a["a"],void 0);e["default"]=s.exports},d935:function(n,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return a}));var a={axBody:function(){return t.e("components/ax-body/ax-body").then(t.bind(null,"8839"))},rCanvas:function(){return Promise.all([t.e("common/vendor"),t.e("components/r-canvas/r-canvas")]).then(t.bind(null,"4528"))}},r=function(){var n=this.$createElement;this._self._c},c=[]},fa03:function(n,e,t){}},[["361b","common/runtime","common/vendor"]]]);