webpackJsonp([15],{VDtf:function(t,e){},dthh:function(t,e,s){t.exports=s.p+"static/img/saleSuccess.6355462.png"},wSE2:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("dthh"),o=s.n(i),n=s("CCn6"),d={name:"saleSuccess",data:function(){return{invite_code:"",weChatUrl:o.a,orderNo:this.$route.query.out_trade_no,goods_id:"",user_goods_list:[]}},mounted:function(){this.initPage()},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"优惠券购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(n.q)(this.orderNo).then(function(e){t.goods_id=e.goods_id,t.invite_code="CC-"+e.invite_type+"-"+e.invite_id,Object(n.h)(t.goods_id).then(function(e){var s=JSON.parse(e.desc).use_goods_ids;Object(n.i)({goods_ids:s}).then(function(e){t.user_goods_list=[];for(var s=0;s<e.list.length;s++)e.list[s].desc=JSON.parse(e.list[s].desc),e.list[s].goods_desc=JSON.parse(e.list[s].goods_desc),e.list[s].share_desc=JSON.parse(e.list[s].share_desc),t.user_goods_list.push(e.list[s])})})})},goToBuy:function(t){this.$router.push({name:"buyDetail",query:{shopId:t.id,invite_code:this.$route.query.invite_code}})}}},c={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sale"},[e("div",{staticStyle:{height:"3.75vw"}}),this._v(" "),e("div",{staticClass:"banner"},[e("img",{attrs:{src:this.weChatUrl}})]),this._v(" "),e("div")])},staticRenderFns:[]};var r=s("VU/8")(d,c,!1,function(t){s("VDtf")},"data-v-4bb8d3cc",null);e.default=r.exports}});
//# sourceMappingURL=15.ed3dd41593f552771393.js.map