Commit d61f2d3b authored by wangwei's avatar wangwei

打包

parent 46d3604e
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><link href=/static/css/app.e1416afef21b0efe6cdb949a8407ce3e.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script src=https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.0.0/vconsole.min.js></script><script>var vConsole = new VConsole();</script><script type=text/javascript src=/static/js/manifest.32d0475c5d7f7d948242.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.7b67c32d476578be257f.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><link href=/static/css/app.b1ff557e043a47c9ce95b3a59aca18c7.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script src=https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.0.0/vconsole.min.js></script><script>var vConsole = new VConsole();</script><script type=text/javascript src=/static/js/manifest.e5659f83d3cff5f31d1d.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.eb546ee66610d23e371e.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([10],{P3Wy:function(o,s,t){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=t("CCn6"),i={name:"myGoodsList",data:function(){return{goodsList:[]}},mounted:function(){this.initPage()},methods:{initPage:function(){var o=this;Object(n.k)().then(function(s){s.forEach(function(o){o.goods_info.desc=JSON.parse(o.goods_info.desc),o.goods_info.share_desc=JSON.parse(o.goods_info.share_desc),o.goods_info.goods_desc=JSON.parse(o.goods_info.goods_desc)}),o.goodsList=s})},toMap:function(o){this.$router.push({name:"map",query:{periods_id:o.periods_id,parent_category_id:o.periods_info.parent_category_id}})}}},e={render:function(){var o=this,s=o.$createElement,t=o._self._c||s;return t("div",{staticClass:"my-goods-list"},o._l(o.goodsList,function(s){return t("div",{key:s.id,staticClass:"card-block",on:{click:function(t){o.toMap(s)}}},[t("img",{staticClass:"banner",attrs:{src:s.goods_info.goods_desc.img[0].url}}),o._v(" "),t("div",{staticClass:"content"},[o._v("\n "+o._s(s.goods_info.name)+"\n "),t("div",{staticClass:"start-time"},[o._v("\n 开课时间:"+o._s(s.periods_info.start_at)+"\n ")])])])}))},staticRenderFns:[]};var a=t("VU/8")(i,e,!1,function(o){t("Q5mj")},"data-v-27a5f04b",null);s.default=a.exports},Q5mj:function(o,s){}});
//# sourceMappingURL=10.5ab7e28fe6f747fc9917.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/myGoodsList.vue","webpack:///./src/components/myGoodsList.vue?bd63","webpack:///./src/components/myGoodsList.vue"],"names":["myGoodsList","name","data","goodsList","mounted","this","initPage","methods","_this","Object","api","then","res","forEach","i","goods_info","desc","JSON","parse","share_desc","goods_desc","toMap","$router","push","query","periods_id","parent_category_id","periods_info","components_myGoodsList","render","_vm","_h","$createElement","_c","_self","staticClass","_l","key","id","on","click","$event","attrs","src","img","url","_v","_s","start_at","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sHAiBAA,GACAC,KAAA,cACAC,KAFA,WAGA,OACAC,eAGAC,QAPA,WAQAC,KAAAC,YAEAC,SACAD,SADA,WACA,IAAAE,EAAAH,KACMI,OAAAC,EAAA,EAAAD,GAANE,KAAA,SAAAC,GACAA,EAAAC,QAAA,SAAAC,GACAA,EAAAC,WAAAC,KAAAC,KAAAC,MAAAJ,EAAAC,WAAAC,MACAF,EAAAC,WAAAI,WAAAF,KAAAC,MAAAJ,EAAAC,WAAAI,YACAL,EAAAC,WAAAK,WAAAH,KAAAC,MAAAJ,EAAAC,WAAAK,cAEAZ,EAAAL,UAAAS,KAGAS,MAXA,SAWAnB,GACAG,KAAAiB,QAAAC,MACAtB,KAAA,MACAuB,OAEAC,WAAAvB,EAAAuB,WACAC,mBAAAxB,EAAAyB,aAAAD,yBCzCeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAzB,KAAa0B,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA4BL,EAAAM,GAAAN,EAAA,mBAAA5B,GAAuC,OAAA+B,EAAA,OAAiBI,IAAAnC,EAAAoC,GAAAH,YAAA,aAAAI,IAAyCC,MAAA,SAAAC,GAAyBX,EAAAT,MAAAnB,OAAkB+B,EAAA,OAAYE,YAAA,SAAAO,OAA4BC,IAAAzC,EAAAa,WAAAK,WAAAwB,IAAA,GAAAC,OAA6Cf,EAAAgB,GAAA,KAAAb,EAAA,OAAwBE,YAAA,YAAsBL,EAAAgB,GAAA,WAAAhB,EAAAiB,GAAA7C,EAAAa,WAAAd,MAAA,YAAAgC,EAAA,OAAuEE,YAAA,eAAyBL,EAAAgB,GAAA,kBAAAhB,EAAAiB,GAAA7C,EAAAyB,aAAAqB,UAAA,sBAEpeC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpD,EACA4B,GATF,EAVA,SAAAyB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/10.5ab7e28fe6f747fc9917.js","sourcesContent":["<template>\n <div class=\"my-goods-list\">\n <div v-for=\"data in goodsList\" :key=\"data.id\" class=\"card-block\" @click=\"toMap(data)\">\n <img class=\"banner\" :src=\"data.goods_info.goods_desc.img[0].url\">\n <div class=\"content\">\n {{data.goods_info.name}}\n <div class=\"start-time\">\n 开课时间:{{data.periods_info.start_at}}\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n import {getUserLessonApi} from \"../service/api\";\n\n export default {\n name: \"myGoodsList\",\n data(){\n return {\n goodsList:[]\n }\n },\n mounted(){\n this.initPage()\n },\n methods:{\n initPage(){\n getUserLessonApi().then(res=>{\n res.forEach(i=>{\n i.goods_info.desc = JSON.parse(i.goods_info.desc);\n i.goods_info.share_desc = JSON.parse(i.goods_info.share_desc);\n i.goods_info.goods_desc = JSON.parse(i.goods_info.goods_desc)\n });\n this.goodsList = res\n })\n },\n toMap(data){\n this.$router.push({\n name:'map',\n query:\n {\n periods_id:data.periods_id,\n parent_category_id:data.periods_info.parent_category_id\n }\n })\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../util/public\";\n.my-goods-list{\n height: 100%;\n overflow: auto;\n padding: 20*@toVw 0;\n .card-block{\n width: 335* @toVw;\n box-shadow:0px 2px 4px 0px rgba(191,191,191,0.5);\n border-radius:8*@toVw;\n .banner{\n width: 100%;\n height: 236 * @toVw;\n border-radius:8*@toVw;\n }\n .content{\n font-size:20 * @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(51,51,51,1);\n padding: 8 * @toVw;\n line-height:28 * @toVw;\n .start-time{\n font-size:12 * @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(51,51,51,1);\n line-height:17 * @toVw;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/myGoodsList.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"my-goods-list\"},_vm._l((_vm.goodsList),function(data){return _c('div',{key:data.id,staticClass:\"card-block\",on:{\"click\":function($event){_vm.toMap(data)}}},[_c('img',{staticClass:\"banner\",attrs:{\"src\":data.goods_info.goods_desc.img[0].url}}),_vm._v(\" \"),_c('div',{staticClass:\"content\"},[_vm._v(\"\\n \"+_vm._s(data.goods_info.name)+\"\\n \"),_c('div',{staticClass:\"start-time\"},[_vm._v(\"\\n 开课时间:\"+_vm._s(data.periods_info.start_at)+\"\\n \")])])])}))}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-27a5f04b\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/myGoodsList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-27a5f04b\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./myGoodsList.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./myGoodsList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./myGoodsList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-27a5f04b\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./myGoodsList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-27a5f04b\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/myGoodsList.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([10],{"58Me":function(s,t){},LM1A:function(s,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=i("Jmy5"),n=i("CCn6"),a={data:function(){return{periods_id:this.$route.query.periods_id,teacherQ2:!1,parent_category_id:Number(this.$route.query.parent_category_id),imgUrl:e.c,imgUrl2:e.a,lessonList:[],courseList:[],lesson:{},teacherDetail:null,showChoose:!1,showLesson:!1,shuoming:!1,thisLesson:null}},computed:{titleName:function(){var s=this,t=this.courseList.find(function(t){return t.id===Number(s.parent_category_id)});return this.lesson=t,t},indexOfLesson:function(){var s=this;return this.courseList.findIndex(function(t){return t.id===Number(s.parent_category_id)})}},components:{bottomTab:i("2oJL").a},mounted:function(){this.initPage()},methods:{subLesson:function(){this.$router.push({name:"map",query:{periods_id:this.periods_id,parent_category_id:this.lesson.id}}),this.parent_category_id=this.lesson.id,this.showChoose=!1,this.initPage()},onValuesChange:function(s,t){this.lesson=t[0]},initPage:function(){var s=this,t={};this.parent_category_id?(Object(n.b)(this.periods_id).then(function(t){s.courseList=t}),t={category_id:this.parent_category_id}):t={},Object(n.e)(this.periods_id,t).then(function(t){s.lessonList=t.list,t.list&&t.list.length>0&&s.$nextTick(function(){document.getElementById("nowLesson").scrollIntoView({behavior:"smooth",start:"center"})})}),Object(n.h)().then(function(t){s.teacherDetail=t})},showDia:function(s){this.thisLesson=s,this.showLesson=!0},showCourseList:function(){this.showChoose=!0},goToLesson:function(s){var t={periods_id:this.thisLesson.periods_id,category_id:this.thisLesson.category_id,parent_category_id:this.parent_category_id,type:s};this.$router.push({name:"lesson",query:t})}}},o={render:function(){var s=this,t=s.$createElement,i=s._self._c||t;return i("div",[i("div",{staticClass:"map"},[i("img",{staticClass:"background",attrs:{src:s.imgUrl.background}}),s._v(" "),i("img",{staticClass:"go",attrs:{src:s.imgUrl.go},on:{click:function(t){s.shuoming=!0}}}),s._v(" "),s.courseList.length>0?i("div",{staticClass:"title",on:{click:s.showCourseList}},[s._v("\n "+s._s(s.titleName.category_name)+"\n "),i("i",{staticClass:"iconfont icon-xiala"})]):s._e(),s._v(" "),s._l(s.lessonList,function(t,e){return i("div",{class:"island-block land"+(e+1),attrs:{id:e===s.lessonList.length-1?"nowLesson":""}},[i("div",{class:{today:e===s.lessonList.length-1},on:{click:function(i){s.showDia(t)}}},[e!==s.lessonList.length-1?i("img",{staticClass:"land",attrs:{src:s.imgUrl.isLandAct}}):s._e(),s._v(" "),e===s.lessonList.length-1?i("img",{staticClass:"land",attrs:{src:s.imgUrl.islandNow}}):s._e(),s._v(" "),i("img",{staticClass:"day",attrs:{src:s.imgUrl.day[e]}}),s._v(" "),i("div",{staticClass:"star-block"},[t.watch_list.find(function(s){return 2===s.page_id})?s._e():i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),t.watch_list.find(function(s){return 2===s.page_id})?i("img",{attrs:{src:s.imgUrl.starSelect}}):s._e(),s._v(" "),t.watch_list.find(function(s){return 3===s.page_id})?s._e():i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),t.watch_list.find(function(s){return 3===s.page_id})?i("img",{attrs:{src:s.imgUrl.starSelect}}):s._e(),s._v(" "),t.watch_list.find(function(s){return 4===s.page_id})?s._e():i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),t.watch_list.find(function(s){return 4===s.page_id})?i("img",{attrs:{src:s.imgUrl.starSelect}}):s._e()])])])}),s._v(" "),s._l(10-s.lessonList.length,function(t){return i("div",{class:"island-block land"+(10-t+1)},[i("img",{staticClass:"land",attrs:{src:s.imgUrl.islandDefault}}),s._v(" "),i("img",{staticClass:"day",attrs:{src:s.imgUrl.day[10-t]}}),s._v(" "),i("div",{staticClass:"star-block"},[i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),i("img",{attrs:{src:s.imgUrl.starDefault}})])])})],2),s._v(" "),i("img",{staticClass:"box-img",attrs:{src:s.imgUrl.box},on:{click:function(t){s.teacherQ2=!0}}}),s._v(" "),i("bottom-tab"),s._v(" "),i("mt-popup",{model:{value:s.showLesson,callback:function(t){s.showLesson=t},expression:"showLesson"}},[i("div",{staticClass:"lesson-block"},[i("img",{staticClass:"lesson-bg",attrs:{src:s.imgUrl.lessonBg}}),s._v(" "),i("img",{staticClass:"close",attrs:{src:s.imgUrl.close},on:{click:function(t){s.showLesson=!1}}}),s._v(" "),s.thisLesson?i("div",{staticClass:"list-block"},[i("div",{staticClass:"img-block"},[i("img",{staticClass:"look list",attrs:{src:s.imgUrl.look},on:{click:function(t){s.goToLesson("look1")}}})]),s._v(" "),s.thisLesson?i("div",{staticClass:"img-block"},[i("img",{staticClass:"play list",attrs:{src:s.imgUrl.play},on:{click:function(t){s.goToLesson("play1")}}}),s._v(" "),s.thisLesson.watch_list.find(function(s){return 2===s.page_id})?s._e():i("div",{staticClass:"disable-block"},[i("img",{attrs:{src:s.imgUrl.clock}})])]):s._e(),s._v(" "),i("div",{staticClass:"img-block"},[i("img",{staticClass:"show list",attrs:{src:s.imgUrl.show},on:{click:function(t){s.goToLesson("show1")}}}),s._v(" "),s.thisLesson.watch_list.find(function(s){return 3===s.page_id})?s._e():i("div",{staticClass:"disable-block"},[i("img",{attrs:{src:s.imgUrl.clock}})])]),s._v(" "),i("div",{staticClass:"img-block"},[i("img",{staticClass:"jiayou list",attrs:{src:s.imgUrl.jiayou},on:{click:function(t){s.goToLesson("refueling1")}}}),s._v(" "),s.thisLesson.watch_list.find(function(s){return 4===s.page_id})?s._e():i("div",{staticClass:"disable-block"},[i("img",{attrs:{src:s.imgUrl.clock}})])])]):s._e()])]),s._v(" "),i("mt-popup",{model:{value:s.shuoming,callback:function(t){s.shuoming=t},expression:"shuoming"}},[i("div",{staticClass:"shuoming-block",style:{backgroundImage:"url("+s.imgUrl.smBg+")"}},[i("img",{staticClass:"close",attrs:{src:s.imgUrl.close},on:{click:function(t){s.shuoming=!1}}}),s._v(" "),i("div",{staticClass:"content"},[i("h1",[s._v("课程介绍:")]),s._v("\n 欢迎各位来到唱唱英语训练营,我们在每一天的课程中都准备了精彩的英语学习、唱动体验内容等着您哦,通过每日坚持学习与分享打卡收集星星,更可以在课程全部完成后用星星兑换神秘奖品哦!快来带着宝贝一起愉快的在玩耍中学习英语吧!\n "),i("h1",{staticClass:"se"},[s._v("规则介绍:")]),s._v("\n 1.地图中每一个浮动标志物(岛屿、树屋、房屋等)都对应着当天进行中的课程。\n "),i("br"),s._v("\n 2.地图中显示灰色的课程是因课程还未开放,请耐心等待,我们会根据课程进度依次开放。\n "),i("br"),s._v("\n 3.每一天的课程最多可以收集3颗星星。\n "),i("br"),s._v("\n 4.完成一天的课程(即爸妈看一看和宝贝玩一玩单元)就可获得一颗星星。\n "),i("br"),s._v("\n 5.填写每日宝贝成长秀并且提交后可获得一颗星星。 6.完成填写后根据页面提示分享打卡海报可获得一颗星星。\n "),i("br"),s._v("\n 7.完成地图中所有课程内容并且集齐所有星星后,请联系您的私人老师兑换什么奖品哦!\n ")])])]),s._v(" "),i("mt-popup",{model:{value:s.showChoose,callback:function(t){s.showChoose=t},expression:"showChoose"}},[i("div",{staticClass:"choose-block"},[i("mt-picker",{attrs:{slots:[{values:s.courseList,defaultIndex:s.indexOfLesson}],"value-key":"category_name"},on:{change:s.onValuesChange}}),s._v(" "),i("mt-button",{attrs:{type:"primary",size:"large",plain:""},on:{click:s.subLesson}},[s._v("确定")])],1)]),s._v(" "),i("mt-popup",{model:{value:s.teacherQ2,callback:function(t){s.teacherQ2=t},expression:"teacherQ2"}},[i("div",{staticClass:"teacher-block"},[i("img",{staticClass:"teacher-bg",attrs:{src:s.imgUrl2.teacherBg}}),s._v(" "),s.teacherDetail?i("img",{staticClass:"qr",attrs:{src:s.teacherDetail.qr}}):s._e(),s._v(" "),i("div",{staticClass:"content-text"},[i("div",{staticClass:"title-text"},[s._v("\n 请长按识别图中二维码添加老师\n ")]),s._v("\n 并截图发送领取神秘礼品哦\n ")]),s._v(" "),i("div",{staticClass:"closeBtn",on:{click:function(t){s.teacherQ2=!1}}})])])],1)},staticRenderFns:[]};var c=i("VU/8")(a,o,!1,function(s){i("58Me")},"data-v-158f284e",null);t.default=c.exports}});
//# sourceMappingURL=10.bec6220196ec6dfa1210.js.map
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([8],{LM1A:function(s,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=i("Jmy5"),n=i("CCn6"),a={data:function(){return{periods_id:this.$route.query.periods_id,teacherQ2:!1,parent_category_id:Number(this.$route.query.parent_category_id),imgUrl:e.c,imgUrl2:e.a,lessonList:[],courseList:[],lesson:{},teacherDetail:null,showChoose:!1,showLesson:!1,shuoming:!1,thisLesson:null}},computed:{titleName:function(){var s=this,t=this.courseList.find(function(t){return t.id===Number(s.parent_category_id)});return this.lesson=t,t},indexOfLesson:function(){var s=this;return this.courseList.findIndex(function(t){return t.id===Number(s.parent_category_id)})}},components:{bottomTab:i("2oJL").a},mounted:function(){this.initPage()},methods:{subLesson:function(){this.$router.push({name:"map",query:{periods_id:this.periods_id,parent_category_id:this.lesson.id}}),this.parent_category_id=this.lesson.id,this.showChoose=!1,this.initPage()},onValuesChange:function(s,t){this.lesson=t[0]},initPage:function(){var s=this,t={};this.parent_category_id?(Object(n.b)(this.periods_id).then(function(t){s.courseList=t}),t={category_id:this.parent_category_id}):t={},Object(n.e)(this.periods_id,t).then(function(t){s.lessonList=t.list,t.list&&t.list.length>0&&s.$nextTick(function(){document.getElementById("nowLesson").scrollIntoView({behavior:"smooth",start:"center"})})}),Object(n.h)().then(function(t){s.teacherDetail=t})},showDia:function(s){this.thisLesson=s,this.showLesson=!0},showCourseList:function(){this.showChoose=!0},goToLesson:function(s){var t={periods_id:this.thisLesson.periods_id,category_id:this.thisLesson.category_id,parent_category_id:this.parent_category_id,type:s};this.$router.push({name:"lesson",query:t})}}},o={render:function(){var s=this,t=s.$createElement,i=s._self._c||t;return i("div",[i("div",{staticClass:"map"},[i("img",{staticClass:"background",attrs:{src:s.imgUrl.background}}),s._v(" "),i("img",{staticClass:"go",attrs:{src:s.imgUrl.go},on:{click:function(t){s.shuoming=!0}}}),s._v(" "),s.courseList.length>0?i("div",{staticClass:"title",on:{click:s.showCourseList}},[s._v("\n "+s._s(s.titleName.category_name)+"\n "),i("i",{staticClass:"iconfont icon-xiala"})]):s._e(),s._v(" "),s._l(s.lessonList,function(t,e){return i("div",{class:"island-block land"+(e+1),attrs:{id:e===s.lessonList.length-1?"nowLesson":""}},[i("div",{class:{today:e===s.lessonList.length-1},on:{click:function(i){s.showDia(t)}}},[e!==s.lessonList.length-1?i("img",{staticClass:"land",attrs:{src:s.imgUrl.isLandAct}}):s._e(),s._v(" "),e===s.lessonList.length-1?i("img",{staticClass:"land",attrs:{src:s.imgUrl.islandNow}}):s._e(),s._v(" "),i("img",{staticClass:"day",attrs:{src:s.imgUrl.day[e]}}),s._v(" "),i("div",{staticClass:"star-block"},[t.watch_list.find(function(s){return 2===s.page_id})?s._e():i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),t.watch_list.find(function(s){return 2===s.page_id})?i("img",{attrs:{src:s.imgUrl.starSelect}}):s._e(),s._v(" "),t.watch_list.find(function(s){return 3===s.page_id})?s._e():i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),t.watch_list.find(function(s){return 3===s.page_id})?i("img",{attrs:{src:s.imgUrl.starSelect}}):s._e(),s._v(" "),t.watch_list.find(function(s){return 4===s.page_id})?s._e():i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),t.watch_list.find(function(s){return 4===s.page_id})?i("img",{attrs:{src:s.imgUrl.starSelect}}):s._e()])])])}),s._v(" "),s._l(10-s.lessonList.length,function(t){return i("div",{class:"island-block land"+(10-t+1)},[i("img",{staticClass:"land",attrs:{src:s.imgUrl.islandDefault}}),s._v(" "),i("img",{staticClass:"day",attrs:{src:s.imgUrl.day[10-t]}}),s._v(" "),i("div",{staticClass:"star-block"},[i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),i("img",{attrs:{src:s.imgUrl.starDefault}}),s._v(" "),i("img",{attrs:{src:s.imgUrl.starDefault}})])])})],2),s._v(" "),i("img",{staticClass:"box-img",attrs:{src:s.imgUrl.box},on:{click:function(t){s.teacherQ2=!0}}}),s._v(" "),i("bottom-tab"),s._v(" "),i("mt-popup",{model:{value:s.showLesson,callback:function(t){s.showLesson=t},expression:"showLesson"}},[i("div",{staticClass:"lesson-block"},[i("img",{staticClass:"lesson-bg",attrs:{src:s.imgUrl.lessonBg}}),s._v(" "),i("img",{staticClass:"close",attrs:{src:s.imgUrl.close},on:{click:function(t){s.showLesson=!1}}}),s._v(" "),s.thisLesson?i("div",{staticClass:"list-block"},[i("div",{staticClass:"img-block"},[i("img",{staticClass:"look list",attrs:{src:s.imgUrl.look},on:{click:function(t){s.goToLesson("look1")}}})]),s._v(" "),s.thisLesson?i("div",{staticClass:"img-block"},[i("img",{staticClass:"play list",attrs:{src:s.imgUrl.play},on:{click:function(t){s.goToLesson("play1")}}}),s._v(" "),s.thisLesson.watch_list.find(function(s){return 2===s.page_id})?s._e():i("div",{staticClass:"disable-block"},[i("img",{attrs:{src:s.imgUrl.clock}})])]):s._e(),s._v(" "),i("div",{staticClass:"img-block"},[i("img",{staticClass:"show list",attrs:{src:s.imgUrl.show},on:{click:function(t){s.goToLesson("show1")}}}),s._v(" "),s.thisLesson.watch_list.find(function(s){return 3===s.page_id})?s._e():i("div",{staticClass:"disable-block"},[i("img",{attrs:{src:s.imgUrl.clock}})])]),s._v(" "),i("div",{staticClass:"img-block"},[i("img",{staticClass:"jiayou list",attrs:{src:s.imgUrl.jiayou},on:{click:function(t){s.goToLesson("refueling1")}}}),s._v(" "),s.thisLesson.watch_list.find(function(s){return 4===s.page_id})?s._e():i("div",{staticClass:"disable-block"},[i("img",{attrs:{src:s.imgUrl.clock}})])])]):s._e()])]),s._v(" "),i("mt-popup",{model:{value:s.shuoming,callback:function(t){s.shuoming=t},expression:"shuoming"}},[i("div",{staticClass:"shuoming-block",style:{backgroundImage:"url("+s.imgUrl.smBg+")"}},[i("img",{staticClass:"close",attrs:{src:s.imgUrl.close},on:{click:function(t){s.shuoming=!1}}}),s._v(" "),i("div",{staticClass:"content"},[i("h1",[s._v("课程介绍:")]),s._v("\n 欢迎各位来到唱唱英语训练营,我们在每一天的课程中都准备了精彩的英语学习、唱动体验内容等着您哦,通过每日坚持学习与分享打卡收集星星,更可以在课程全部完成后用星星兑换神秘奖品哦!快来带着宝贝一起愉快的在玩耍中学习英语吧!\n "),i("h1",{staticClass:"se"},[s._v("规则介绍:")]),s._v("\n 1.地图中每一个浮动标志物(岛屿、树屋、房屋等)都对应着当天进行中的课程。\n "),i("br"),s._v("\n 2.地图中显示灰色的课程是因课程还未开放,请耐心等待,我们会根据课程进度依次开放。\n "),i("br"),s._v("\n 3.每一天的课程最多可以收集3颗星星。\n "),i("br"),s._v("\n 4.完成一天的课程(即爸妈看一看和宝贝玩一玩单元)就可获得一颗星星。\n "),i("br"),s._v("\n 5.填写每日宝贝成长秀并且提交后可获得一颗星星。 6.完成填写后根据页面提示分享打卡海报可获得一颗星星。\n "),i("br"),s._v("\n 7.完成地图中所有课程内容并且集齐所有星星后,请联系您的私人老师兑换什么奖品哦!\n ")])])]),s._v(" "),i("mt-popup",{model:{value:s.showChoose,callback:function(t){s.showChoose=t},expression:"showChoose"}},[i("div",{staticClass:"choose-block"},[i("mt-picker",{attrs:{slots:[{values:s.courseList,defaultIndex:s.indexOfLesson}],"value-key":"category_name"},on:{change:s.onValuesChange}}),s._v(" "),i("mt-button",{attrs:{type:"primary",size:"large",plain:""},on:{click:s.subLesson}},[s._v("确定")])],1)]),s._v(" "),i("mt-popup",{model:{value:s.teacherQ2,callback:function(t){s.teacherQ2=t},expression:"teacherQ2"}},[i("div",{staticClass:"teacher-block"},[i("img",{staticClass:"teacher-bg",attrs:{src:s.imgUrl2.teacherBg}}),s._v(" "),s.teacherDetail?i("img",{staticClass:"qr",attrs:{src:s.teacherDetail.qr}}):s._e(),s._v(" "),i("div",{staticClass:"content-text"},[i("div",{staticClass:"title-text"},[s._v("\n 请长按识别图中二维码添加老师\n ")]),s._v("\n 并截图发送领取神秘礼品哦\n ")]),s._v(" "),i("div",{staticClass:"closeBtn",on:{click:function(t){s.teacherQ2=!1}}})])])],1)},staticRenderFns:[]};var c=i("VU/8")(a,o,!1,function(s){i("ZJcI")},"data-v-3d8c1744",null);t.default=c.exports},ZJcI:function(s,t){}});
//# sourceMappingURL=8.8b2cab4467e9c5926b77.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([9],{oZrU:function(s,t){},w9eS:function(s,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("Jmy5"),i=e("CCn6"),a={name:"buySuccess",data:function(){return{img:o.h,orderNo:this.$route.query.out_trade_no,goods_id:0,money:0,goodsDetail:null}},mounted:function(){this.initPage()},methods:{initPage:function(){var s=this;Object(i.f)(this.orderNo).then(function(t){s.goods_id=t.goods_id,s.money=t.money,Object(i.c)(s.goods_id).then(function(t){t.desc=JSON.parse(t.desc),t.goods_desc=JSON.parse(t.goods_desc),t.share_desc=JSON.parse(t.share_desc),s.goodsDetail=t})})}}},n={render:function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",{staticClass:"buy-success"},[e("div",{staticClass:"banner"},[e("img",{attrs:{src:s.img.weChat}})]),s._v(" "),e("div",[s.goodsDetail?e("div",{staticClass:"shop-block"},[e("div",{staticClass:"shop"},[e("div",{staticClass:"img-block"},[e("img",{attrs:{src:s.goodsDetail.goods_desc.img[0].url}})]),s._v(" "),e("div",[e("div",{staticClass:"title"},[s._v("\n "+s._s(s.goodsDetail.name)+"\n ")]),s._v(" "),e("div",{staticClass:"content"},[s._v("\n "+s._s(s.goodsDetail.goods_desc.desc)+"\n ")]),s._v(" "),e("div",{staticClass:"price"},[s._v("\n 价格 ¥"+s._s(s.money/100)+"\n ")])])])]):s._e()]),s._v(" "),e("div",{staticClass:"button-block"},[e("mt-button",{attrs:{type:"danger",size:"large"}},[s._v("进入课程")])],1)])},staticRenderFns:[]};var d=e("VU/8")(a,n,!1,function(s){e("oZrU")},"data-v-3c714b1c",null);t.default=d.exports}});
//# sourceMappingURL=9.70e454eb28a9b969e553.js.map
\ No newline at end of file
webpackJsonp([8],{oZrU:function(s,t){},w9eS:function(s,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("Jmy5"),i=e("CCn6"),a={name:"buySuccess",data:function(){return{img:o.h,orderNo:this.$route.query.out_trade_no,goods_id:0,money:0,goodsDetail:null}},mounted:function(){this.initPage()},methods:{initPage:function(){var s=this;Object(i.f)(this.orderNo).then(function(t){s.goods_id=t.goods_id,s.money=t.money,Object(i.c)(s.goods_id).then(function(t){t.desc=JSON.parse(t.desc),t.goods_desc=JSON.parse(t.goods_desc),t.share_desc=JSON.parse(t.share_desc),s.goodsDetail=t})})}}},n={render:function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",{staticClass:"buy-success"},[e("div",{staticClass:"banner"},[e("img",{attrs:{src:s.img.weChat}})]),s._v(" "),e("div",[s.goodsDetail?e("div",{staticClass:"shop-block"},[e("div",{staticClass:"shop"},[e("div",{staticClass:"img-block"},[e("img",{attrs:{src:s.goodsDetail.goods_desc.img[0].url}})]),s._v(" "),e("div",[e("div",{staticClass:"title"},[s._v("\n "+s._s(s.goodsDetail.name)+"\n ")]),s._v(" "),e("div",{staticClass:"content"},[s._v("\n "+s._s(s.goodsDetail.goods_desc.desc)+"\n ")]),s._v(" "),e("div",{staticClass:"price"},[s._v("\n 价格 ¥"+s._s(s.money/100)+"\n ")])])])]):s._e()]),s._v(" "),e("div",{staticClass:"button-block"},[e("mt-button",{attrs:{type:"danger",size:"large"}},[s._v("进入课程")])],1)])},staticRenderFns:[]};var d=e("VU/8")(a,n,!1,function(s){e("oZrU")},"data-v-3c714b1c",null);t.default=d.exports}});
//# sourceMappingURL=8.ee6433f96f9f286807d2.js.map
\ No newline at end of file
webpackJsonp([9],{P3Wy:function(o,s,t){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=t("CCn6"),i={name:"myGoodsList",data:function(){return{goodsList:[]}},mounted:function(){this.initPage()},methods:{initPage:function(){var o=this;Object(n.k)().then(function(s){s.forEach(function(o){o.goods_info.desc=JSON.parse(o.goods_info.desc),o.goods_info.share_desc=JSON.parse(o.goods_info.share_desc),o.goods_info.goods_desc=JSON.parse(o.goods_info.goods_desc)}),o.goodsList=s})},toMap:function(o){this.$router.push({name:"map",query:{periods_id:o.periods_id,parent_category_id:o.periods_info.parent_category_id}})}}},e={render:function(){var o=this,s=o.$createElement,t=o._self._c||s;return t("div",{staticClass:"my-goods-list"},o._l(o.goodsList,function(s){return t("div",{key:s.id,staticClass:"card-block",on:{click:function(t){o.toMap(s)}}},[t("img",{staticClass:"banner",attrs:{src:s.goods_info.goods_desc.img[0].url}}),o._v(" "),t("div",{staticClass:"content"},[o._v("\n "+o._s(s.goods_info.name)+"\n "),t("div",{staticClass:"start-time"},[o._v("\n 开课时间:"+o._s(s.periods_info.start_at)+"\n ")])])])}))},staticRenderFns:[]};var a=t("VU/8")(i,e,!1,function(o){t("Q5mj")},"data-v-27a5f04b",null);s.default=a.exports},Q5mj:function(o,s){}});
//# sourceMappingURL=9.f81151a04a038c39fad4.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/myGoodsList.vue","webpack:///./src/components/myGoodsList.vue?bd63","webpack:///./src/components/myGoodsList.vue"],"names":["myGoodsList","name","data","goodsList","mounted","this","initPage","methods","_this","Object","api","then","res","forEach","i","goods_info","desc","JSON","parse","share_desc","goods_desc","toMap","$router","push","query","periods_id","parent_category_id","periods_info","components_myGoodsList","render","_vm","_h","$createElement","_c","_self","staticClass","_l","key","id","on","click","$event","attrs","src","img","url","_v","_s","start_at","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"qHAiBAA,GACAC,KAAA,cACAC,KAFA,WAGA,OACAC,eAGAC,QAPA,WAQAC,KAAAC,YAEAC,SACAD,SADA,WACA,IAAAE,EAAAH,KACMI,OAAAC,EAAA,EAAAD,GAANE,KAAA,SAAAC,GACAA,EAAAC,QAAA,SAAAC,GACAA,EAAAC,WAAAC,KAAAC,KAAAC,MAAAJ,EAAAC,WAAAC,MACAF,EAAAC,WAAAI,WAAAF,KAAAC,MAAAJ,EAAAC,WAAAI,YACAL,EAAAC,WAAAK,WAAAH,KAAAC,MAAAJ,EAAAC,WAAAK,cAEAZ,EAAAL,UAAAS,KAGAS,MAXA,SAWAnB,GACAG,KAAAiB,QAAAC,MACAtB,KAAA,MACAuB,OAEAC,WAAAvB,EAAAuB,WACAC,mBAAAxB,EAAAyB,aAAAD,yBCzCeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAzB,KAAa0B,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA4BL,EAAAM,GAAAN,EAAA,mBAAA5B,GAAuC,OAAA+B,EAAA,OAAiBI,IAAAnC,EAAAoC,GAAAH,YAAA,aAAAI,IAAyCC,MAAA,SAAAC,GAAyBX,EAAAT,MAAAnB,OAAkB+B,EAAA,OAAYE,YAAA,SAAAO,OAA4BC,IAAAzC,EAAAa,WAAAK,WAAAwB,IAAA,GAAAC,OAA6Cf,EAAAgB,GAAA,KAAAb,EAAA,OAAwBE,YAAA,YAAsBL,EAAAgB,GAAA,WAAAhB,EAAAiB,GAAA7C,EAAAa,WAAAd,MAAA,YAAAgC,EAAA,OAAuEE,YAAA,eAAyBL,EAAAgB,GAAA,kBAAAhB,EAAAiB,GAAA7C,EAAAyB,aAAAqB,UAAA,sBAEpeC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpD,EACA4B,GATF,EAVA,SAAAyB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/9.f81151a04a038c39fad4.js","sourcesContent":["<template>\n <div class=\"my-goods-list\">\n <div v-for=\"data in goodsList\" :key=\"data.id\" class=\"card-block\" @click=\"toMap(data)\">\n <img class=\"banner\" :src=\"data.goods_info.goods_desc.img[0].url\">\n <div class=\"content\">\n {{data.goods_info.name}}\n <div class=\"start-time\">\n 开课时间:{{data.periods_info.start_at}}\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n import {getUserLessonApi} from \"../service/api\";\n\n export default {\n name: \"myGoodsList\",\n data(){\n return {\n goodsList:[]\n }\n },\n mounted(){\n this.initPage()\n },\n methods:{\n initPage(){\n getUserLessonApi().then(res=>{\n res.forEach(i=>{\n i.goods_info.desc = JSON.parse(i.goods_info.desc);\n i.goods_info.share_desc = JSON.parse(i.goods_info.share_desc);\n i.goods_info.goods_desc = JSON.parse(i.goods_info.goods_desc)\n });\n this.goodsList = res\n })\n },\n toMap(data){\n this.$router.push({\n name:'map',\n query:\n {\n periods_id:data.periods_id,\n parent_category_id:data.periods_info.parent_category_id\n }\n })\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../util/public\";\n.my-goods-list{\n height: 100%;\n overflow: auto;\n padding: 20*@toVw 0;\n .card-block{\n width: 335* @toVw;\n box-shadow:0px 2px 4px 0px rgba(191,191,191,0.5);\n border-radius:8*@toVw;\n .banner{\n width: 100%;\n height: 236 * @toVw;\n border-radius:8*@toVw;\n }\n .content{\n font-size:20 * @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(51,51,51,1);\n padding: 8 * @toVw;\n line-height:28 * @toVw;\n .start-time{\n font-size:12 * @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(51,51,51,1);\n line-height:17 * @toVw;\n }\n }\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/myGoodsList.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"my-goods-list\"},_vm._l((_vm.goodsList),function(data){return _c('div',{key:data.id,staticClass:\"card-block\",on:{\"click\":function($event){_vm.toMap(data)}}},[_c('img',{staticClass:\"banner\",attrs:{\"src\":data.goods_info.goods_desc.img[0].url}}),_vm._v(\" \"),_c('div',{staticClass:\"content\"},[_vm._v(\"\\n \"+_vm._s(data.goods_info.name)+\"\\n \"),_c('div',{staticClass:\"start-time\"},[_vm._v(\"\\n 开课时间:\"+_vm._s(data.periods_info.start_at)+\"\\n \")])])])}))}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-27a5f04b\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/myGoodsList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-27a5f04b\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./myGoodsList.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./myGoodsList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./myGoodsList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-27a5f04b\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./myGoodsList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-27a5f04b\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/myGoodsList.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([13],{IcnI:function(e,t,n){"use strict";var a=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"}});a.default.use(o.a);t.a=new o.a.Store({state:{token:"",transitionName:"slide-left"},mutations:i,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)}}})},JEsc:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("7+uW"),o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:this.$store.state.transitionName}},[t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App"},o,!1,function(e){n("JEsc")},null,null).exports,r=n("YaEn"),c=n("IcnI"),l=n("Au9i"),s=n.n(l);n("d8/S");a.default.config.productionTip=!1,a.default.use(s.a),new a.default({el:"#app",router:r.a,store:c.a,components:{App:i},template:"<App/>"})},YaEn:function(e,t,n){"use strict";var a=n("7+uW"),o=n("IcnI"),i=function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),a=0;a<n.length;a++)t[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);return t},r=n("/ocq");a.default.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([n.e(0),n.e(3)]).then(function(){var t=[n("dAjm")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/myGoodsList",name:"myGoodsList",component:function(e){return Promise.all([n.e(0),n.e(10)]).then(function(){var t=[n("P3Wy")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(e){return Promise.all([n.e(0),n.e(6)]).then(function(){var t=[n("U/b5")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(e){return Promise.all([n.e(0),n.e(7)]).then(function(){var t=[n("R7Pr")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(e){return n.e(5).then(function(){var t=[n("sA+T")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:100}},{path:"/buyDetail",name:"buyDetail",component:function(e){return Promise.all([n.e(0),n.e(1)]).then(function(){var t=[n("bNYG")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,deep:10}},{path:"/buy",name:"buy",component:function(e){return Promise.all([n.e(0),n.e(4)]).then(function(){var t=[n("Y1ei")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:11}},{path:"/success",name:"success",component:function(e){return Promise.all([n.e(0),n.e(2)]).then(function(){var t=[n("IF8E")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(e){return Promise.all([n.e(0),n.e(9)]).then(function(){var t=[n("w9eS")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/map",name:"map",component:function(e){return Promise.all([n.e(0),n.e(8)]).then(function(){var t=[n("LM1A")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/lesson",name:"lesson",component:function(e){return Promise.all([n.e(0),n.e(11)]).then(function(){var t=[n("v9XT")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:4}}]});c.beforeEach(function(e,t,n){e.meta.deep<t.meta.deep?o.a.commit("transitionBack"):o.a.commit("transitionGo");var a=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if("author"===e.name)n();else if(window.location.href.indexOf("token")>-1){var r=i().token;o.a.dispatch("setToken",r),a()}else localStorage.getItem("cc_token")?(o.a.dispatch("setToken",localStorage.getItem("cc_token")),a()):e.meta.skip_login?a():n({name:"author",query:{retUrl:e.fullPath}})});t.a=c},"d8/S":function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
//# sourceMappingURL=app.7b67c32d476578be257f.js.map
\ No newline at end of file
webpackJsonp([13],{IcnI:function(e,t,n){"use strict";var a=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"}});a.default.use(o.a);t.a=new o.a.Store({state:{token:"",transitionName:"slide-left"},mutations:i,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)}}})},JEsc:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("7+uW"),o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:this.$store.state.transitionName}},[t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App"},o,!1,function(e){n("JEsc")},null,null).exports,r=n("YaEn"),c=n("IcnI"),l=n("Au9i"),s=n.n(l);n("d8/S");a.default.config.productionTip=!1,a.default.use(s.a),new a.default({el:"#app",router:r.a,store:c.a,components:{App:i},template:"<App/>"})},YaEn:function(e,t,n){"use strict";var a=n("7+uW"),o=n("IcnI"),i=function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),a=0;a<n.length;a++)t[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);return t},r=n("/ocq");a.default.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([n.e(0),n.e(3)]).then(function(){var t=[n("dAjm")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/myGoodsList",name:"myGoodsList",component:function(e){return Promise.all([n.e(0),n.e(9)]).then(function(){var t=[n("P3Wy")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(e){return Promise.all([n.e(0),n.e(6)]).then(function(){var t=[n("U/b5")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(e){return Promise.all([n.e(0),n.e(7)]).then(function(){var t=[n("R7Pr")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(e){return n.e(5).then(function(){var t=[n("sA+T")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:100}},{path:"/buyDetail",name:"buyDetail",component:function(e){return Promise.all([n.e(0),n.e(1)]).then(function(){var t=[n("bNYG")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,deep:10}},{path:"/buy",name:"buy",component:function(e){return Promise.all([n.e(0),n.e(4)]).then(function(){var t=[n("Y1ei")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:11}},{path:"/success",name:"success",component:function(e){return Promise.all([n.e(0),n.e(2)]).then(function(){var t=[n("IF8E")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(e){return Promise.all([n.e(0),n.e(8)]).then(function(){var t=[n("w9eS")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/map",name:"map",component:function(e){return Promise.all([n.e(0),n.e(10)]).then(function(){var t=[n("LM1A")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/lesson",name:"lesson",component:function(e){return Promise.all([n.e(0),n.e(11)]).then(function(){var t=[n("v9XT")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:4}}]});c.beforeEach(function(e,t,n){e.meta.deep<t.meta.deep?o.a.commit("transitionBack"):o.a.commit("transitionGo");var a=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if("author"===e.name)n();else if(window.location.href.indexOf("token")>-1){var r=i().token;o.a.dispatch("setToken",r),a()}else localStorage.getItem("cc_token")?(o.a.dispatch("setToken",localStorage.getItem("cc_token")),a()):e.meta.skip_login?a():n({name:"author",query:{retUrl:e.fullPath}})});t.a=c},"d8/S":function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
//# sourceMappingURL=app.eb546ee66610d23e371e.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,b=0,s=[];b<r.length;b++)i=r[b],t[i]&&s.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);s.length;)s.shift()();if(a)for(b=0;b<a.length;b++)u=o(o.s=a[b]);return u};var r={},t={14:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"a9a81f2ff0c0ba438a99",1:"b188248071a14ab6cce0",2:"5cb6e5538b9ab376d506",3:"2f9a424aac069fa2b04e",4:"d77a92e4c698d5c68b9d",5:"be089578e30afb4d2c31",6:"e552f7b95b3c64c7b891",7:"7d70d490904cca330eb3",8:"8b2cab4467e9c5926b77",9:"70e454eb28a9b969e553",10:"5ab7e28fe6f747fc9917",11:"d7b0fdee78a8cc379cae"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.32d0475c5d7f7d948242.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);s.length;)s.shift()();if(a)for(d=0;d<a.length;d++)u=o(o.s=a[d]);return u};var r={},t={14:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"a9a81f2ff0c0ba438a99",1:"b188248071a14ab6cce0",2:"5cb6e5538b9ab376d506",3:"bbe18e04f127158e2334",4:"b44cd289b1a74879c4ae",5:"be089578e30afb4d2c31",6:"e552f7b95b3c64c7b891",7:"7d70d490904cca330eb3",8:"ee6433f96f9f286807d2",9:"f81151a04a038c39fad4",10:"bec6220196ec6dfa1210",11:"d7b0fdee78a8cc379cae"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.e5659f83d3cff5f31d1d.js.map
\ No newline at end of file
......@@ -110,7 +110,9 @@
let json={
goods_id:Number(this.shopId)
};
if(this.groupDetail.valueOf())
if(this.groupDetail.goods_type === 2 && !this.type){
json.buy_type = 2
}
payApi(json).then(res=>{
let that = this;
this.orderNo = res.out_trade_no;
......
......@@ -154,6 +154,7 @@
}
.teacher-block{
position: relative;
width: 74.66666667vw;
background-color: rgba(0,0,0,0.7);
.teacher-bg{
width: 280*@toVw;
......
......@@ -261,6 +261,7 @@
.teacher-block{
position: relative;
width: 74.66666667vw;
background-color: rgba(0,0,0,0.7);
.teacher-bg{
width: 280*@toVw;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment