Commit 0bc5d4a0 authored by wangwei's avatar wangwei

打包

parent e09cffa5
......@@ -7,6 +7,7 @@ module.exports = merge(prodEnv, {
API_URL: '"/"',
MAX_FILESIZE:'1024*1024*10',
IMAGE_URL_HEAD:'"http://cdn.singsingenglish.com/"',
BUY_URL:'"http://wechat.test.singsingenglish.com/#/buyDetail?"',
AUTHOR_UEL:'"api/client/login?redirect_url=http://192.168.31.217:8085/#"',
REDIRECT_URL:'"http://localhost:8085/"',
});
......@@ -4,5 +4,6 @@ module.exports = {
IMAGE_URL_HEAD:'"http://cdn.singsingenglish.com/"',
API_URL: '"/"',
MAX_FILESIZE:'1024*1024*10',
BUY_URL:'"http://wechat.test.singsingenglish.com/#/buyDetail?"',
AUTHOR_UEL:'"http://wechat.test.singsingenglish.com/api/client/login"'
}
};
......@@ -7,5 +7,6 @@ module.exports = merge(prodEnv, {
IMAGE_URL_HEAD:'"http://cdn.singsingenglish.com/"',
API_URL: '"/"',
MAX_FILESIZE:'1024*1024*10',
BUY_URL:'"http://wechat.test.singsingenglish.com/#/buyDetail?"',
AUTHOR_UEL:'"http://wechat.test.singsingenglish.com/api/client/login"'
});
<!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.6be853231ef266fb8e162d6e4c8a27da.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.7e0a915b5ab5b032dc18.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.95af905d5448695777bb.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.e93e653300382fa628aed8a8c318787e.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.f450c075eac4df57ddbf.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.95af905d5448695777bb.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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.j)().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.204d801e500590b6a656.js.map
\ No newline at end of file
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
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
webpackJsonp([5],{"9Izc":function(s,t){},LM1A:function(s,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("Jmy5"),o=i("CCn6"),e={data:function(){return{periods_id:this.$route.query.periods_id,parent_category_id:Number(this.$route.query.parent_category_id),imgUrl:n.c,lessonList:[],courseList:[],lesson:{},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={};0===this.parent_category_id?t={}:(Object(o.b)(this.periods_id).then(function(t){s.courseList=t}),t={category_id:this.parent_category_id}),Object(o.e)(this.periods_id,t).then(function(t){s.lessonList=t.list,s.$nextTick(function(){document.getElementById("nowLesson").scrollIntoView({behavior:"smooth",start:"center"})})})},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})}}},a={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,n){return i("div",{class:"island-block land"+(n+1),attrs:{id:n===s.lessonList.length-1?"nowLesson":""}},[i("div",{class:{today:n===s.lessonList.length-1},on:{click:function(i){s.showDia(t)}}},[n!==s.lessonList.length-1?i("img",{staticClass:"land",attrs:{src:s.imgUrl.isLandAct}}):s._e(),s._v(" "),n===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[n]}}),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}}),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)])],1)},staticRenderFns:[]};var r=i("VU/8")(e,a,!1,function(s){i("9Izc")},"data-v-c8180458",null);t.default=r.exports}});
//# sourceMappingURL=5.188fe732677ff0a7a34a.js.map
\ No newline at end of file
//# sourceMappingURL=5.f06ead289cc2d0d88560.js.map
\ No newline at end of file
webpackJsonp([7],{"U/b5":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("2oJL"),s=i("Jmy5"),n=i("CCn6"),r={name:"mine",components:{bottomTab:a.a},data:function(){return{image:s.d,userDetail:{}}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(n.i)().then(function(e){t.userDetail=e})}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mine"},[i("div",{staticClass:"head",style:{backgroundImage:"url("+t.image.head_bg+")"}},[i("img",{staticClass:"header-icon",attrs:{src:t.userDetail.avatar}}),t._v(" "),i("p",{staticClass:"name"},[t._v(t._s(t.userDetail.nickname))]),t._v(" "),i("p",{staticClass:"id"},[t._v("ID:"+t._s(t.userDetail.user_id))])]),t._v(" "),i("div",{staticClass:"list"},[i("mt-cell",{attrs:{title:"订单",to:"/order","is-link":""}},[i("img",{attrs:{slot:"icon",src:t.image.order,width:"24",height:"24"},slot:"icon"})]),t._v(" "),i("mt-cell",{attrs:{title:"Q&A",to:"//github.com","is-link":""}},[i("img",{attrs:{slot:"icon",src:t.image.qa,width:"24",height:"24"},slot:"icon"})])],1),t._v(" "),i("bottom-tab")],1)},staticRenderFns:[]};var c=i("VU/8")(r,o,!1,function(t){i("eM6A")},"data-v-7678b790",null);e.default=c.exports},eM6A:function(t,e){}});
//# sourceMappingURL=7.2a39e91a450692b7e80e.js.map
\ No newline at end of file
webpackJsonp([7],{"U/b5":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("2oJL"),s=i("Jmy5"),n=i("CCn6"),r={name:"mine",components:{bottomTab:a.a},data:function(){return{image:s.d,userDetail:{}}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(n.j)().then(function(e){t.userDetail=e})}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mine"},[i("div",{staticClass:"head",style:{backgroundImage:"url("+t.image.head_bg+")"}},[i("img",{staticClass:"header-icon",attrs:{src:t.userDetail.avatar}}),t._v(" "),i("p",{staticClass:"name"},[t._v(t._s(t.userDetail.nickname))]),t._v(" "),i("p",{staticClass:"id"},[t._v("ID:"+t._s(t.userDetail.user_id))])]),t._v(" "),i("div",{staticClass:"list"},[i("mt-cell",{attrs:{title:"订单",to:"/order","is-link":""}},[i("img",{attrs:{slot:"icon",src:t.image.order,width:"24",height:"24"},slot:"icon"})]),t._v(" "),i("mt-cell",{attrs:{title:"Q&A",to:"//github.com","is-link":""}},[i("img",{attrs:{slot:"icon",src:t.image.qa,width:"24",height:"24"},slot:"icon"})])],1),t._v(" "),i("bottom-tab")],1)},staticRenderFns:[]};var c=i("VU/8")(r,o,!1,function(t){i("eM6A")},"data-v-7678b790",null);e.default=c.exports},eM6A:function(t,e){}});
//# sourceMappingURL=7.0da957804d84cc2574b9.js.map
\ No newline at end of file
webpackJsonp([8],{Byao:function(s,t){},R7Pr:function(s,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=e("CCn6"),i={0:"待付款",1:"付款成功",2:"付款失败",3:"退款成功"},o={name:"order",data:function(){return{orderList:[]}},filters:{orderType:function(s){return i[s]}},mounted:function(){this.initPage()},methods:{initPage:function(){var s=this;Object(a.g)().then(function(t){t.list.forEach(function(s){s.goods_desc&&(s.goods_desc=JSON.parse(s.goods_desc))}),s.orderList=t.list})}}},n={render:function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",s._l(s.orderList,function(t){return e("div",{staticClass:"list"},[e("div",{staticClass:"head"},[t.goods_desc?e("div",{staticClass:"bg-img",style:{backgroundImage:"url("+t.goods_desc.img[0].url+")"}}):s._e(),s._v(" "),e("div",{staticClass:"content"},[e("div",{staticClass:"title"},[s._v(s._s(t.goods_name))]),s._v(" "),t.goods_desc?e("div",{staticClass:"desc"},[s._v(s._s(t.goods_desc.desc))]):s._e(),s._v(" "),e("div",{staticClass:"time"},[s._v("付款时间:"+s._s(t.pay_at))])])]),s._v(" "),e("div",{staticClass:"footer"},[e("span",{staticClass:"payMoney"},[s._v("实付:"+s._s(t.money/100))]),s._v(" "),e("span",{class:{red:1===t.status}},[s._v(s._s(s._f("orderType")(t.status)))])])])}))},staticRenderFns:[]};var d=e("VU/8")(o,n,!1,function(s){e("Byao")},"data-v-48c29c50",null);t.default=d.exports}});
//# sourceMappingURL=8.89e1356cc863a3cc288b.js.map
\ No newline at end of file
//# sourceMappingURL=8.2dd8ca10241babe7736c.js.map
\ No newline at end of file
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.d369a5d878fc29ed57fa.js.map
\ No newline at end of file
//# sourceMappingURL=9.70e454eb28a9b969e553.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){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 a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[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 a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"3750ec2a6e992e5c4cfa",1:"6a61431559437f2202ee",2:"807c9721c07a3b97031f",3:"d53d748b13504d5d35a6",4:"fe5b5f144b7149286839",5:"188fe732677ff0a7a34a",6:"4531b127c50d8b5bcca3",7:"2a39e91a450692b7e80e",8:"89e1356cc863a3cc288b",9:"d369a5d878fc29ed57fa",10:"204d801e500590b6a656",11:"0779baabfd7789cb9b77"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),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.7e0a915b5ab5b032dc18.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:"7961d6089def918c438e",2:"bdaacb8b740f2c299428",3:"2f9a424aac069fa2b04e",4:"9c3a4a3ec2efd31e8b83",5:"f06ead289cc2d0d88560",6:"4531b127c50d8b5bcca3",7:"0da957804d84cc2574b9",8:"2dd8ca10241babe7736c",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.f450c075eac4df57ddbf.js.map
\ No newline at end of file
src/assets/record.png

27.3 KB | W: | H:

src/assets/record.png

18.4 KB | W: | H:

src/assets/record.png
src/assets/record.png
src/assets/record.png
src/assets/record.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/teacherBG.png

61.2 KB | W: | H:

src/assets/teacherBG.png

51.3 KB | W: | H:

src/assets/teacherBG.png
src/assets/teacherBG.png
src/assets/teacherBG.png
src/assets/teacherBG.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -23,7 +23,7 @@
<div class="main-detail">
<div class="tab-content">
<div :class="{'tab-btn':true,active:tabType}" @click="tabType=true">图文详情</div>
<div :class="{'tab-btn':true,active:!tabType}" @click="tabType=false">Q&A</div>
<div :class="{'tab-btn':true,active:!tabType}" @click="tabType=false">购买须知</div>
</div>
<div v-if="tabType" class="detail">
<div v-html="groupDetail.desc.detail"></div>
......@@ -128,9 +128,9 @@
methods:{
// 分享
onShare: function(type) {
let URL = `${process.env.API_URL2}/#/groupbuy?groupId=${this.groupId}&source=${this.source}`;
let URL = `${process.env.BUY_URL}?shopId=${this.shopId}&groupId=${this.groupId}&source=${this.source}`;
if(type === 1 ){
URL = `${process.env.API_URL2}/#/groupbuy?shopId=${this.shopId}&source=${this.source}`
URL = `${process.env.BUY_URL}?shopId=${this.shopId}&source=${this.source}`
}
this.enableShare({
product_title: this.groupDetail.share_info.share_title,
......@@ -282,6 +282,9 @@
}
.qa-block{
padding: 20/7.5vw 0 toVw(150) 0;
img,video{
max-width: 100%;
}
.qa-content{
margin: toVw(10) 0;
.qa-q{
......@@ -296,6 +299,9 @@
}
.detail{
padding: 20/7.5vw 0 150/7.5vw 0;
img,video{
max-width: 100%;
}
}
}
footer{
......
......@@ -8,7 +8,7 @@
</swiper>
</div>
<div class="btn-block">
<div class="btn">
<div class="btn" @click="teacherQ2 = true">
<img :src="imgUrl.record"/>
</div>
<div class="btn">
......@@ -47,6 +47,17 @@
<mt-popup v-model="teacherQ2">
<div class="teacher-block">
<img :src="imgUrl.teacherBg" class="teacher-bg"/>
<img :src="teacherDetail.qr" class="qr" v-if="teacherDetail">
<img :src="imgUrl.qr" class="qr" v-if="!teacherDetail">
<div class="content-text">
<div class="title" v-if="teacherDetail">
请长按识别图中二维码添加老师
</div>
<div class="title" v-if="!teacherDetail">
请长按识别图中二维码关注公众号
</div>
以便我们能及时为您提供更好的学习体验
</div>
<div class="closeBtn" @click="teacherQ2 = false"></div>
</div>
</mt-popup>
......@@ -57,7 +68,7 @@
<script>
import 'swiper/dist/css/swiper.css'
import { swiper, swiperSlide } from 'vue-awesome-swiper'
import {getBannerListApi,getUserLessonApi} from "../service/api";
import {getBannerListApi,getUserLessonApi,getTeacherApi} from "../service/api";
import {IndexImage} from "../util/imgUrl";
import bottomTab from './public/bottomTab';
import { Toast } from 'mint-ui';
......@@ -71,7 +82,8 @@
data(){
return {
bannerList:[],
teacherQ2:true,
teacherQ2:false,
teacherDetail:null,
imgUrl: IndexImage,
swiperOption: {
pagination: {
......@@ -96,6 +108,10 @@
i.goods_info.goods_desc = JSON.parse(i.goods_info.goods_desc)
});
this.lessonList = res
});
getTeacherApi().then(res=>{
this.teacherDetail = res;
this.teacherQ2 = true
})
},
toGoodsList(){
......@@ -138,9 +154,35 @@
}
.teacher-block{
position: relative;
background-color: rgba(0,0,0,0.7);
.teacher-bg{
width: 280*@toVw;
}
.qr{
width: 138*@toVw;
height: 138*@toVw;
position: absolute;
top:65 * @toVw;
left: 70 * @toVw;
}
.content-text{
width: 100%;
text-align: center;
position: absolute;
top: 315 * @toVw;
font-size:12 * @toVw;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
line-height:23px;
.title{
color: #333;
font-family:PingFang-SC-Medium;
font-weight:500;
margin-bottom: 5 * @toVw;
font-size: 17*@toVw;
}
}
.closeBtn{
position: absolute;
width: 30*@toVw;
......
......@@ -82,9 +82,14 @@ const getOrderListUrl = `${_baseUrl}api/client/order/list`;
export const getOrderListApi = function (json) {
return Vue.prototype.$fetch(getOrderListUrl,json)
};
//用户看课统计
// 用户看课统计
const getUserWatchUrl = `${_baseUrl}api/client/user/watch/report`;
export const getUserWatchApi = function () {
return Vue.prototype.$fetch(getUserWatchUrl)
};
// 获取老师
const getTeacherDetailUrl = `${_baseUrl}api/client/me/teacher`;
export const getTeacherApi = function () {
return Vue.prototype.$fetch(getTeacherDetailUrl)
};
......@@ -5,6 +5,7 @@ import indexBtn4 from '../assets/more.png'
import indexTeacherBg from '../assets/teacherBG.png'
import indexMore from '../assets/moreText.png'
import indexNoMore from '../assets/noMoreLesson.png'
import indexWeChatQr from '../assets/weChatCode.png'
import mapBg from '../assets/map/bg.png'
import clock from '../assets/map/clock.png'
......@@ -194,6 +195,7 @@ export const IndexImage={
money:indexBtn2,
listen:indexBtn3,
more:indexBtn4,
qr:indexWeChatQr,
indexMore:indexMore,
teacherBg:indexTeacherBg,
noMore:indexNoMore
......
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