webpackJsonp([10],{"8ViI":function(t,s){},w9eS:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("Jmy5"),o=e("CCn6"),n={name:"buySuccess",data:function(){return{img:i.m,orderNo:this.$route.query.out_trade_no,goods_id:0,money:0,invite_code:"",goodsDetail:null}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(o.i)(this.orderNo).then(function(s){t.goods_id=s.goods_id,t.invite_code="CC-"+s.invite_type+"-"+s.invite_id,t.money=s.money,Object(o.d)(t.goods_id).then(function(s){s.desc=JSON.parse(s.desc),s.goods_desc=JSON.parse(s.goods_desc),s.share_desc=JSON.parse(s.share_desc),t.goodsDetail=s})})},goIndex:function(){this.$router.push({name:"index"})}}},d={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"buy-success"},[e("div",{staticClass:"banner"},[e("img",{attrs:{src:t.img.weChat}})]),t._v(" "),e("div",[t.goodsDetail?e("div",{staticClass:"shop-block"},[e("div",{staticClass:"shop"},[e("div",{staticClass:"img-block"},[e("img",{attrs:{src:t.goodsDetail.goods_desc.img[0].url}})]),t._v(" "),e("div",[e("div",{staticClass:"title"},[t._v("\n            "+t._s(t.goodsDetail.name)+"\n          ")]),t._v(" "),e("div",{staticClass:"content"},[t._v("\n            "+t._s(t.goodsDetail.goods_desc.desc)+"\n          ")]),t._v(" "),e("div",{staticClass:"price"},[t._v("\n            价格 ￥"+t._s(t.money/100)+"\n          ")])])])]):t._e()]),t._v(" "),e("div",{staticClass:"button-block"},[e("mt-button",{attrs:{type:"danger",size:"large"},on:{click:function(s){t.goIndex()}}},[t._v("进入课程")])],1)])},staticRenderFns:[]};var a=e("VU/8")(n,d,!1,function(t){e("8ViI")},"data-v-d029b534",null);s.default=a.exports}});
//# sourceMappingURL=10.fd6ad45f60a03c7a1113.js.map