webpackJsonp([8],{"4S5z":function(n,t,o){var e=o("DuJ/");"string"==typeof e&&(e=[[n.i,e,""]]),e.locals&&(n.exports=e.locals);o("rjj0")("2ca757eb",e,!1,{})},"54Ry":function(n,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=o("RjZ4"),r=o.n(e),i=o("LyMh"),a=o.n(i),s=o("CCn6"),A={name:"shareGoods",data:function(){return{shareGoodsBg:r.a,title_share_goods:a.a,userDetail:null,shopId:null,goodsDetail:null}},methods:{initPage:function(){var n=this;Object(s.r)(this.$route.query.userID).then(function(t){t.user_info.avatar=t.user_info.avatar.replace("http://","https://"),n.userDetail=t}),Object(s.t)().then(function(t){n.shopId=t[0].value,Object(s.g)(n.shopId).then(function(t){t.desc=JSON.parse(t.desc),n.goodsDetail=t})})},toBuy:function(){window.location.href="https://wechat-test.changchangenglish.com/#/buyDetail?shopId="+this.shopId}},mounted:function(){this.initPage()}},d=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",[n.userDetail?o("div",{staticClass:"share-good-head",style:{backgroundImage:"url('"+n.shareGoodsBg+"')"}},[o("img",{staticClass:"head",attrs:{src:n.userDetail.user_info.avatar}}),n._v(" "),o("div",{staticClass:"title",style:{backgroundImage:"url('"+n.title_share_goods+"')"}},[n._v("\n "+n._s(n.userDetail.user_info.nickname)+"\n ")]),n._v(" "),o("div",{staticClass:"day"},[n._v("\n "+n._s(n.userDetail.total_day)+"\n "),o("span",[n._v("\n Days\n ")])]),n._v(" "),o("div",{staticClass:"iknow",on:{click:n.toBuy}})]):n._e(),n._v(" "),n.goodsDetail?o("div",{staticClass:"good-content"},[o("div",{staticClass:"content",domProps:{innerHTML:n._s(n.goodsDetail.desc.detail)}}),n._v(" "),o("div",{staticClass:"btn-block"},[o("div",{staticClass:"btn",on:{click:n.toBuy}},[n._v("\n 了解一下\n ")])])]):n._e()])};d._withStripped=!0;var l={render:d,staticRenderFns:[]},h=l;var g=!1;var c=o("VU/8")(A,h,!1,function(n){g||(o("wP84"),o("4S5z"))},"data-v-52fa373e",null);c.options.__file="src/components/newLesson/shareGoods.vue";t.default=c.exports},"DuJ/":function(n,t,o){(n.exports=o("FZ+f")(!0)).push([n.i,"\nimg{\n max-width: 100% !important;\n}\n","",{version:3,sources:["D:/myproject/new-singsingH5/src/components/newLesson/src/components/newLesson/shareGoods.vue"],names:[],mappings:";AAmJA;EACA,2BAAA;CACA",file:"shareGoods.vue",sourcesContent:['\r\n\r\n