webpackJsonp([41],{D3cc:function(t,s){},w9eS:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("mvHQ"),o=e.n(i),n=(e("eqfM"),e("/QYm")),c=e("Jmy5"),a=e("CCn6"),d={name:"buySuccess",data:function(){return{img:c.h,orderNo:this.$route.query.out_trade_no,goods_id:0,money:0,invite_code:"",goodsDetail:null,subscribe:2}},mounted:function(){this.initPage(),document.title="购买成功!"},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;n.a.loading({mask:!0,message:""}),Object(a.K)().then(function(s){localStorage.setItem("userDesc",o()(s)),t.userDesc=s,t.subscribe=t.userDesc.open_info.is_subscribe,Object(a.A)(t.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(a.q)(t.goods_id).then(function(s){n.a.clear(),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"})}}},r={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"buy-success"},[0==t.subscribe?e("div",[e("div",{staticClass:"topTop"},[e("div",[t._v("step1. "+t._s(t.money/100)+"元解锁课程 "),e("img",{attrs:{src:t.img.gou}})]),t._v(" "),e("div",[e("img",{attrs:{src:t.img.jiantou}})])]),t._v(" "),e("div",{staticClass:"step2Box"},[t._m(0),t._v(" "),e("div",[e("img",{attrs:{src:t.img.qr4,alt:""}})])]),t._v(" "),e("div",{staticClass:"topTop"},[e("div",[e("img",{attrs:{src:t.img.jiantou}})]),t._v(" "),e("div",[t._v("step3. 进入系统等待课程开始")])])]):t._e(),t._v(" "),1==t.subscribe?e("div",[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(" "),t.goodsDetail&&5!==t.goodsDetail.goods_type?e("div",{staticClass:"button-block"},[e("mt-button",{attrs:{type:"danger",size:"large"},on:{click:function(s){t.goIndex(),t.buttonClick("进入课程")}}},[t._v("进入课程")])],1):t._e()]):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 u=e("VU/8")(d,r,!1,function(t){e("D3cc")},"data-v-56ec4db6",null);s.default=u.exports}});
-
chenyishuai@singsingenglish.com authoredcd7a0319