(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/page/shareEx"],{275:function(e,n,t){"use strict";(function(e){var n=t(3);t(25);n(t(24));var r=n(t(276));wx.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["createPage"])},276:function(e,n,t){"use strict";t.r(n);var r=t(277),o=t(279);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t(281);var s,a=t(39),c=Object(a["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"60755698",null,!1,r["components"],s);c.options.__file="user/page/shareEx.vue",n["default"]=c.exports},277:function(e,n,t){"use strict";t.r(n);var r=t(278);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},278:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return s})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return r}));var o=function(){var e=this,n=e.$createElement;e._self._c},i=!1,s=[];o._withStripped=!0},279:function(e,n,t){"use strict";t.r(n);var r=t(280),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},280:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=t(51),o={data:function(){return{userlogo:"",shareId:"",nickname:"",goodimg:"",couldshare:0,jsspan:"立即领取"}},onLoad:function(n){this.userlogo=n.logo,this.shareId=n.shareid,this.nickname=n.nickname,this.goodimg=n.goodimg,this.couldshare=n.type,2==n.type&&n.scene&&e.setStorage({key:"spread_code",data:n.scene})},onShareAppMessage:function(e){var n=this,t=getCurrentPages(),r=t[t.length-1],o=r.route,i=r.options,s={title:n.nickname+"分享您一张子臣鸭汤兑换券",path:o+"?shareid="+i.shareid+"&scene="+i.scene+"&goodimg="+i.goodimg+"&logo="+i.logo+"&type=2&nickname="+i.nickname,imageUrl:i.goodimg,success:function(e){console.log(s.path,"path+++++++++++++++++++"),e.errMsg},fail:function(){"shareAppMessage:fail cancel"==res.errMsg||res.errMsg}};return s},methods:{getGift:function(){var n=this;console.log("ddd"),(0,r.getGift)({},this.shareId).then((function(t){console.log(t),e.showToast({title:"领取成功",duration:2e3}),n.jsspan="已领取",setTimeout((function(){e.switchTab({url:"/pages/index/index"})}),1500)})).catch((function(e){console.log(e)}))}}};n.default=o}).call(this,t(1)["default"])},281:function(e,n,t){"use strict";t.r(n);var r=t(282),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},282:function(e,n,t){}},[[275,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/user/page/shareEx.js.map