• wangwei's avatar
    gdt_vid · 14053dc8
    wangwei authored
    cct_user_id
    订单提交时 添加以上两个参数
    14053dc8
15.0d9fe9426e232a5af4d9.js 1.83 KB
webpackJsonp([15],{l1yf: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:{initPage:function(){var t=this;Object(o.p)(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.g)(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._v("进入课程")])],1):t._e()])},staticRenderFns:[]};var a=s("VU/8")(n,d,!1,function(t){s("l1yf")},"data-v-e32f7104",null);e.default=a.exports}});
//# sourceMappingURL=15.0d9fe9426e232a5af4d9.js.map