webpackJsonp([8],{"4ggU":function(s,t,e){s.exports=e.p+"static/img/sale.7d70e0f.png"},"9kUD":function(s,t){},wSE2:function(s,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("4ggU"),o=e.n(i),n=e("CCn6"),c={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.i)(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;console.log(e),e=e.split(","),s.user_goods_list=[],e.forEach(function(t){Object(n.d)(t).then(function(t){t.goods_desc=JSON.parse(t.goods_desc),t.desc=JSON.parse(t.desc),t.share_desc=JSON.parse(t.share_desc),s.user_goods_list.push(t)})})})})},goToBuy:function(s){this.$router.push({name:"buyDetail",query:{shopId:s.id,invite_code:this.invite_code}})}}},d={render:function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",{staticClass:"sale"},[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")(c,d,!1,function(s){e("9kUD")},"data-v-cc54bde8",null);t.default=a.exports}});
//# sourceMappingURL=8.6f0dd97b04d1d8cbea5d.js.map