(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/activity/Poster/index"],{"0ec7":function(t,e,n){"use strict";(function(t){n("0371");i(n("66fd"));var e=i(n("2600"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},2600:function(t,e,n){"use strict";n.r(e);var i=n("d618"),o=n("756a");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("9d2e5");var u,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"01d5f625",null,!1,i["a"],u);e["default"]=c.exports},3889:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("8c03"),o={name:"Poster",components:{},props:{},data:function(){return{status:!0,id:0,image:""}},mounted:function(){var t=this,e=t.$yroute.query.id,n=t.$yroute.query.type;t.id=e,2==n?t.getBargainPoster():t.getCombinationPoster()},methods:{getBargainPoster:function(){var e=this,n=this.$deviceType;"weixin"!=n&&"weixinh5"!=this.$deviceType||(n="uniappH5"),(0,i.getBargainPoster)({bargainId:e.id,from:n}).then((function(t){e.image=t.data.url,e.status=!1})).catch((function(e){t.showToast({title:e.msg,icon:"none",duration:2e3})}))},getCombinationPoster:function(){var e=this;console.log(this.$deviceType);var n=this.$deviceType;"weixin"!=n&&"weixinh5"!=this.$deviceType||(n="uniappH5"),console.log(n),(0,i.getCombinationPoster)({id:e.id,from:n}).then((function(t){e.image=t.data.url,e.status=!1})).catch((function(e){t.showToast({title:e.msg,icon:"none",duration:2e3})}))}}};e.default=o}).call(this,n("543d")["default"])},"756a":function(t,e,n){"use strict";n.r(e);var i=n("3889"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"9d2e5":function(t,e,n){"use strict";var i=n("c5e9"),o=n.n(i);o.a},c5e9:function(t,e,n){},d618:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c},a=[]}},[["0ec7","common/runtime","common/vendor"]]]);