webpackJsonp([21],{bt8K:function(t,s){},w9eS:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Jmy5"),o=i("CCn6"),n={name:"buySuccess",data:function(){return{img:e.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(s){t.goods_id=s.goods_id,t.invite_code="CC-"+s.invite_type+"-"+s.invite_id,t.money=s.money,Object(o.h)(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"})}}},a={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"buy-success"},[i("div",{staticClass:"topTop"},[i("div",[t._v("step1. "+t._s(t.money/100)+"元解锁课程 "),i("img",{attrs:{src:t.img.gou}})]),t._v(" "),i("div",[i("img",{attrs:{src:t.img.jiantou}})])]),t._v(" "),i("div",{staticClass:"step2Box"},[t._m(0),t._v(" "),i("div",[i("img",{attrs:{src:t.img.weChat,alt:""}})])]),t._v(" "),i("div",{staticClass:"topTop"},[i("div",[i("img",{attrs:{src:t.img.jiantou}})]),t._v(" "),i("div",[t._v("step3. 进入系统等待课程开始")])]),t._v(" "),i("div",[t.goodsDetail?i("div",{staticClass:"shop-block"},[i("div",{staticClass:"shop"},[i("div",{staticClass:"img-block"},[i("img",{attrs:{src:t.goodsDetail.goods_desc.img[0].url}})]),t._v(" "),i("div",[i("div",{staticClass:"title"},[t._v("\n            "+t._s(t.goodsDetail.name)+"\n          ")]),t._v(" "),i("div",{staticClass:"content"},[t._v("\n            "+t._s(t.goodsDetail.goods_desc.desc)+"\n          ")]),t._v(" "),i("div",{staticClass:"price"},[t._v("\n            价格 ￥"+t._s(t.money/100)+"\n          ")])])])]):t._e()]),t._v(" "),t.goodsDetail&&5!==t.goodsDetail.goods_type?i("div",{staticClass:"button-block"},[i("mt-button",{attrs:{type:"danger",size:"large"},on:{click:function(s){t.goIndex(),t.buttonClick("进入课程")}}},[t._v("进入课程")])],1):t._e()])},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"text"},[s("p",{staticClass:"p1"},[this._v("step2. 扫码进入公众号，查看课程")]),this._v(" "),s("p",{staticClass:"p2"},[this._v("（请务必扫码关注，否则无法上课）")])])}]};var d=i("VU/8")(n,a,!1,function(t){i("bt8K")},"data-v-a32d044c",null);s.default=d.exports}});