webpackJsonp([9],{"/0AU":function(s,t){},"4ggU":function(s,t,e){s.exports=e.p+"static/img/sale.66e397c.png"},wSE2:function(s,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("4ggU"),o=e.n(i),n=e("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:{initPage:function(){var s=this;Object(n.j)(this.orderNo).then(function(t){s.goods_id=t.goods_id,s.invite_code="CC-"+t.invite_type+"-"+t.invite_id,Object(n.d)(s.goods_id).then(function(t){var e=JSON.parse(t.desc).use_goods_ids;Object(n.e)({goods_ids:e}).then(function(t){s.user_goods_list=[];for(var e=0;e<t.list.length;e++)t.list[e].desc=JSON.parse(t.list[e].desc),t.list[e].goods_desc=JSON.parse(t.list[e].goods_desc),t.list[e].share_desc=JSON.parse(t.list[e].share_desc),s.user_goods_list.push(t.list[e])})})})},goToBuy:function(s){this.$router.push({name:"buyDetail",query:{shopId:s.id,invite_code:this.invite_code}})}}},c={render:function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",{staticClass:"sale"},[e("div",{staticStyle:{height:"3.75vw"}}),s._v(" "),e("div",{staticClass:"banner"},[e("img",{attrs:{src:s.weChatUrl}})]),s._v(" "),e("div",s._l(s.user_goods_list,function(t){return e("div",{staticClass:"shop-block",on:{click:function(e){s.goToBuy(t)}}},[e("div",{staticClass:"shop"},[e("div",{staticClass:"img-block"},[e("img",{attrs:{src:t.goods_desc.img[0].url}})]),s._v(" "),e("div",[e("div",{staticClass:"title"},[s._v("\n            "+s._s(t.name)+"\n          ")]),s._v(" "),e("div",{staticClass:"content"},[s._v("\n            "+s._s(t.goods_desc.desc)+"\n          ")]),s._v(" "),e("div",{staticClass:"price"},[s._v("\n            >>立即购买<<\n          ")])])])])}))])},staticRenderFns:[]};var a=e("VU/8")(d,c,!1,function(s){e("/0AU")},"data-v-78e8aa2e",null);t.default=a.exports}});
//# sourceMappingURL=9.19e1813cbb4840361e6b.js.map