webpackJsonp([22],{DMX6:function(t,e){},w9eS:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("Jmy5"),o=s("CCn6"),n={name:"buySuccess",data:function(){return{img:i.d,orderNo:this.$route.query.out_trade_no,goods_id:0,money:0,invite_code:"",goodsDetail:null}},mounted:function(){this.initPage(),document.title="购买成功！"},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(o.q)(this.orderNo).then(function(e){t.goods_id=e.goods_id,t.invite_code="CC-"+e.invite_type+"-"+e.invite_id,t.money=e.money,Object(o.h)(t.goods_id).then(function(e){e.desc=JSON.parse(e.desc),e.goods_desc=JSON.parse(e.goods_desc),e.share_desc=JSON.parse(e.share_desc),t.goodsDetail=e})})},goIndex:function(){this.$router.push({name:"index"})}}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"buy-success"},[s("div",{staticClass:"banner"},[s("img",{attrs:{src:t.img.weChat}})]),t._v(" "),s("div",[t.goodsDetail?s("div",{staticClass:"shop-block"},[s("div",{staticClass:"shop"},[s("div",{staticClass:"img-block"},[s("img",{attrs:{src:t.goodsDetail.goods_desc.img[0].url}})]),t._v(" "),s("div",[s("div",{staticClass:"title"},[t._v("\n            "+t._s(t.goodsDetail.name)+"\n          ")]),t._v(" "),s("div",{staticClass:"content"},[t._v("\n            "+t._s(t.goodsDetail.goods_desc.desc)+"\n          ")]),t._v(" "),s("div",{staticClass:"price"},[t._v("\n            价格 ￥"+t._s(t.money/100)+"\n          ")])])])]):t._e()]),t._v(" "),t.goodsDetail&&5!==t.goodsDetail.goods_type?s("div",{staticClass:"button-block"},[s("mt-button",{attrs:{type:"danger",size:"large"},on:{click:function(e){t.goIndex(),t.buttonClick("进入课程")}}},[t._v("进入课程")])],1):t._e()])},staticRenderFns:[]};var a=s("VU/8")(n,d,!1,function(t){s("DMX6")},"data-v-a47a6d52",null);e.default=a.exports}});