You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
2.1 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/activity/Poster/index"],{"265f":function(t,e,n){"use strict";var i=n("2e60"),o=n.n(i);o.a},"2e60":function(t,e,n){},6336: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=[]},"6f1a":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("70e6"),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"])},"9b00":function(t,e,n){"use strict";(function(t){n("ef82");i(n("66fd"));var e=i(n("f344"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},b6eb:function(t,e,n){"use strict";n.r(e);var i=n("6f1a"),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},f344:function(t,e,n){"use strict";n.r(e);var i=n("6336"),o=n("b6eb");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("265f");var u,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"bace031a",null,!1,i["a"],u);e["default"]=c.exports}},[["9b00","common/runtime","common/vendor"]]]);