chunk-1239267a.965de89f.js 1.3 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1239267a"],{9642:function(t,a,n){"use strict";n.r(a);var s=function(){var t=this,a=t.$createElement,n=t._self._c||a;return!1===t.status?n("div",{staticClass:"poster-poster"},[t._m(0),n("div",{staticClass:"poster"},[n("img",{attrs:{src:t.image}})])]):t._e()},e=[function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("div",{staticClass:"tip"},[n("span",{staticClass:"iconfont icon-shuoming"}),t._v("提示:长按图片保存至手机相册\n ")])}],i=n("ca41"),o={name:"Poster",components:{},props:{},data:function(){return{status:!0,id:0,image:""}},mounted:function(){var t=this,a=t.$route.params.id,n=t.$route.params.type;t.id=a,2==n?t.getBargainPoster():t.getCombinationPoster()},methods:{getBargainPoster:function(){var t=this;Object(i["g"])({bargainId:t.id,from:"wechat"}).then(function(a){t.image=a.data.url,t.status=!1}).catch(function(a){t.$dialog.error(a.msg)})},getCombinationPoster:function(){var t=this;Object(i["p"])({id:t.id,from:"wechat"}).then(function(a){t.image=a.data.url,t.status=!1}).catch(function(a){t.$dialog.error(a.msg)})}}},r=o,c=(n("b8db"),n("2877")),u=Object(c["a"])(r,s,e,!1,null,"ff36e5c0",null);a["default"]=u.exports},a33a:function(t,a,n){},b8db:function(t,a,n){"use strict";var s=n("a33a"),e=n.n(s);e.a}}]);
  2. //# sourceMappingURL=chunk-1239267a.965de89f.js.map