5.16

parent 2bc55c69
......@@ -6,4 +6,4 @@
overflow: hidden;
position: fixed;
background: #f4f4f4;
}</style><link href=static/css/app.a33637a3392be2fde512aa6031b6e4df.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=static/vconsole/vconsole.min.js></script><script type=text/javascript src=static/js/manifest.83ac37d38dd79a225d4d.js></script><script type=text/javascript src=static/js/vendor.971a89734ef51957abe6.js></script><script type=text/javascript src=static/js/app.436f01e1569fecfb6bca.js></script></body></html>
\ No newline at end of file
}</style><link href=static/css/app.a33637a3392be2fde512aa6031b6e4df.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=static/vconsole/vconsole.min.js></script><script type=text/javascript src=static/js/manifest.11454eaf300d130cd388.js></script><script type=text/javascript src=static/js/vendor.971a89734ef51957abe6.js></script><script type=text/javascript src=static/js/app.436f01e1569fecfb6bca.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 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.
This diff is collapsed.
This diff is collapsed.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(n,c,f){for(var o,d,b,i=0,u=[];i<n.length;i++)d=n[i],r[d]&&u.push(r[d][0]),r[d]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);for(a&&a(n,c,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=t(t.s=f[i]);return b};var n={},r={34:0};function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var a=r[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var n=new Promise(function(n,t){a=r[e]=[n,t]});a[2]=n;var c=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,t.nc&&f.setAttribute("nonce",t.nc),f.src=t.p+"static/js/"+e+"."+{0:"c3215ea3d0f4b9203928",1:"5a0be3efce58c866fb3d",2:"88eb6979ee991170dd43",3:"49b5451bf0ef02f66b49",4:"973d1cc7b086ea345be4",5:"09e142b4a9093fd2d98c",6:"4f50e65a3d2aa57d0d0f",7:"87ff08b6e1c01eba6114",8:"96e00676211b990557c0",9:"9c6596cb1371f67d909c",10:"827fb93ad16992519742",11:"b2db1db9ac9ab09a90ef",12:"20990e7a965aa0c5c0b4",13:"956b095c0a0e2fe38264",14:"d478ab3287fedb08f004",15:"998182336d150a64c64f",16:"94c57d9b4532d295fd17",17:"205c3c21ebcb4df60d2b",18:"1953d2930aae0ad3e34e",19:"9ce5c5235725211384e3",20:"768213446401f107d3dd",21:"81b8f5f4ff3a42b5e563",22:"18aa9096fdaa1b39e26d",23:"abd000c2d42590325658",24:"7d513d80b42dc2d2f825",25:"189a4ab5e51684f6c908",26:"f688ad0a42f7f2456842",27:"990bec66a2b0a8e0f57a",28:"30feeb113b054e94eca0",29:"7747cb8246f34a64535b",30:"257bb9ef506fd78ee8c4",31:"f6611d39d1dda1664e79"}[e]+".js";var o=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(o);var a=r[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return f.onerror=f.onload=d,c.appendChild(f),n},t.m=e,t.c=n,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(n,c,o){for(var f,d,b,i=0,u=[];i<n.length;i++)d=n[i],r[d]&&u.push(r[d][0]),r[d]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(a&&a(n,c,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=t(t.s=o[i]);return b};var n={},r={34:0};function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var a=r[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var n=new Promise(function(n,t){a=r[e]=[n,t]});a[2]=n;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"c3215ea3d0f4b9203928",1:"b140e42554fbe0469e9a",2:"88eb6979ee991170dd43",3:"49b5451bf0ef02f66b49",4:"973d1cc7b086ea345be4",5:"09e142b4a9093fd2d98c",6:"73b674d514da9a1cdaeb",7:"75e6c06eb09e98ab3b3f",8:"96e00676211b990557c0",9:"9c6596cb1371f67d909c",10:"827fb93ad16992519742",11:"b2db1db9ac9ab09a90ef",12:"20990e7a965aa0c5c0b4",13:"956b095c0a0e2fe38264",14:"d478ab3287fedb08f004",15:"998182336d150a64c64f",16:"94c57d9b4532d295fd17",17:"205c3c21ebcb4df60d2b",18:"1953d2930aae0ad3e34e",19:"9ce5c5235725211384e3",20:"768213446401f107d3dd",21:"81b8f5f4ff3a42b5e563",22:"18aa9096fdaa1b39e26d",23:"abd000c2d42590325658",24:"7d513d80b42dc2d2f825",25:"189a4ab5e51684f6c908",26:"f688ad0a42f7f2456842",27:"990bec66a2b0a8e0f57a",28:"30feeb113b054e94eca0",29:"7747cb8246f34a64535b",30:"608a1dae11cbb595d1fb",31:"f6611d39d1dda1664e79"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var a=r[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return o.onerror=o.onload=d,c.appendChild(o),n},t.m=e,t.c=n,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t.oe=function(e){throw console.error(e),e}}([]);
\ 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"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style>*{
-webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.88a742dbfc44c7fc9a5325e4c520517c.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></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.6525c16653d4c099a271.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.46262833f7fc058ac130.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.2c06975d853b5fa6545b.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.49f63115b647dd67753128ff3c159ea1.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></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.3a5fec6e8f8fd6fd8f7b.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.46262833f7fc058ac130.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.2c06975d853b5fa6545b.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,r){for(var o,d,i,b=0,u=[];b<a.length;b++)d=a[b],n[d]&&u.push(n[d][0]),n[d]=0;for(o in f)Object.prototype.hasOwnProperty.call(f,o)&&(e[o]=f[o]);for(c&&c(a,f,r);u.length;)u.shift()();if(r)for(b=0;b<r.length;b++)i=t(t.s=r[b]);return i};var a={},n={34:0};function t(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,t){c=n[e]=[a,t]});c[2]=a;var f=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,t.nc&&r.setAttribute("nonce",t.nc),r.src=t.p+"static/js/"+e+"."+{0:"56715f58455ac5fcfa98",1:"60dd78a6deb8e703e088",2:"d912e90da56ffe83e816",3:"2a2c2fd7e681a2d82028",4:"732353acd050116b32af",5:"2ea3ace6766ce4ed29fd",6:"446853d53bc8fc6d204a",7:"6e7c1baf55c785685808",8:"479f0949904abb083c39",9:"6c0f6a0dabf60a307c3d",10:"ac78c9d65ffd5c0f1a4c",11:"4638c140153ee40c01f4",12:"a01d02655b0b1dca002f",13:"ac1a8883104e709ce1ec",14:"7d765aa763eae4f9b99e",15:"1eb6cc7d23dfe5f3e91f",16:"eacc590d6a7abb7c650b",17:"f8f84cfa4b191f48271d",18:"27810984a2ab79690cc9",19:"3e06c7e9646ebe26de4a",20:"af95c97c8a8c2c1421b3",21:"3f31027b2bc9b31c23ef",22:"a3728b7411c5e89aef21",23:"9f60147a0140625d3e93",24:"f8c8d8245371c429836a",25:"7ec0eebf2bc062261cf7",26:"7666b30658fa47c11856",27:"3f17efe9421b9d53694c",28:"71f6faa1429340461c22",29:"bfe10f6244a3cba92976",30:"839cdd8894c4f43fb1ec",31:"41dd1fbe5e60f242080e"}[e]+".js";var o=setTimeout(d,12e4);function d(){r.onerror=r.onload=null,clearTimeout(o);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return r.onerror=r.onload=d,f.appendChild(r),a},t.m=e,t.c=a,t.d=function(e,c,a){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},t.p="https://static-cdn.changchangenglish.com/new-sing/",t.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,r){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(c&&c(a,t,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=f(f.s=r[i]);return b};var a={},n={34:0};function f(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,f),n.l=!0,n.exports}f.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=n[e]=[a,f]});c[2]=a;var t=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,f.nc&&r.setAttribute("nonce",f.nc),r.src=f.p+"static/js/"+e+"."+{0:"56715f58455ac5fcfa98",1:"cb393c7cb3d7500d71f8",2:"d912e90da56ffe83e816",3:"2a2c2fd7e681a2d82028",4:"732353acd050116b32af",5:"859de000bac7afea17d2",6:"d729f6a76069d102b946",7:"6e7c1baf55c785685808",8:"479f0949904abb083c39",9:"6c0f6a0dabf60a307c3d",10:"ac78c9d65ffd5c0f1a4c",11:"4638c140153ee40c01f4",12:"a01d02655b0b1dca002f",13:"ac1a8883104e709ce1ec",14:"7d765aa763eae4f9b99e",15:"1eb6cc7d23dfe5f3e91f",16:"eacc590d6a7abb7c650b",17:"f8f84cfa4b191f48271d",18:"27810984a2ab79690cc9",19:"3e06c7e9646ebe26de4a",20:"af95c97c8a8c2c1421b3",21:"3f31027b2bc9b31c23ef",22:"a3728b7411c5e89aef21",23:"9f60147a0140625d3e93",24:"f8c8d8245371c429836a",25:"7ec0eebf2bc062261cf7",26:"7666b30658fa47c11856",27:"3f17efe9421b9d53694c",28:"71f6faa1429340461c22",29:"bfe10f6244a3cba92976",30:"d82ee2245340bffb9c35",31:"41dd1fbe5e60f242080e"}[e]+".js";var o=setTimeout(d,12e4);function d(){r.onerror=r.onload=null,clearTimeout(o);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return r.onerror=r.onload=d,t.appendChild(r),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="https://static-cdn.changchangenglish.com/new-sing/",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -75,8 +75,8 @@
<span class="btn">去邀请</span>
</div>
</div>
<div class="shadow" v-if="pt"></div>
<div class="imgbox" v-if="pt">
<div class="shadow" v-if="pt&&orderList.length"></div>
<div class="imgbox" v-if="pt&&orderList.length">
<div class="text">
快去邀请好友完成拼团吧~
</div>
......@@ -370,23 +370,23 @@ export default {
}
}
})
// getOrderListApi().then(res=>{
// // debugger
// let that = this
// let arr = []
// res.list.forEach(el => {
// if(el.buy_type==2&&el.status==1){
// el.goods_desc= JSON.parse(el.goods_desc)
// arr.push(el)
// let Interval = setInterval(function () {
// that.countTime = commom.leftTimer(new Date(el.group_info.deadline.replace(/-/g, '/')),Interval)
// }, 1000)
// }
// });
// this.orderList = arr
// console.log(arr)
// sessionStorage.getItem("pt")
// })
getOrderListApi().then(res=>{
// debugger
let that = this
let arr = []
res.list.forEach(el => {
if(el.buy_type==2&&el.status==1){
el.goods_desc= JSON.parse(el.goods_desc)
arr.push(el)
let Interval = setInterval(function () {
that.countTime = commom.leftTimer(new Date(el.group_info.deadline.replace(/-/g, '/')),Interval)
}, 1000)
}
});
this.orderList = arr
console.log(arr)
sessionStorage.getItem("pt")
})
},
dateParse(dateString) {
let SEPARATOR_BAR = "-";
......
......@@ -476,7 +476,7 @@
// setClassQuery
// this.$store
this.$store.dispatch('setClassQuery',query)
// sessionStorage.setItem('classQuery',JSON.stringify(query))
sessionStorage.setItem('classQuery',JSON.stringify(query))
this.popupVisible=true;
this.push_time = data.push_time;
// 神策埋点 选择课时
......
......@@ -573,7 +573,7 @@ export default {
parent_category_id:this.parent_category_id,
};
this.$store.dispatch('setClassQuery',query)
// sessionStorage.setItem('classQuery',JSON.stringify(query))
sessionStorage.setItem('classQuery',JSON.stringify(query))
// 神策埋点 选择课时
this.$sa.track("selectElement", {
elementID: data.ele_id.toString(),
......
......@@ -525,6 +525,7 @@
finishStudy(){
this.sendConsole('完成今日学习');
let lessonDetail = JSON.parse(localStorage.getItem('lessonDetail'));
let query = JSON.parse(sessionStorage.getItem('classQuery'))
let nowTime = Date.parse(new Date());
let lookTime = (nowTime- lessonDetail.nowTime)/1000;
let json = {
......@@ -534,7 +535,7 @@
};
getUserWatchApi().then(res=>{
this.$store.dispatch('setWatchDetail',res)
subUserLessonApi(this.$store.state.classQuery.elementId,this.$store.state.classQuery.category_id,this.$store.state.classQuery.periods_id,json).then(res=>{
subUserLessonApi(query.elementId,query.category_id,query.periods_id,json).then(res=>{
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
......
......@@ -44,7 +44,15 @@
export default {
name: "index",
data(){
let query = this.$route.query;
let query
console.log(this.$store.state.classQuery.periods_id)
if(this.$store.state.classQuery.periods_id){
query = this.$store.state.classQuery
}else{
// debugger
query = JSON.parse(sessionStorage.getItem('classQuery'))
}
// debugger
return {
backUrl:backUrl,
periods_id:query.periods_id,
......@@ -102,7 +110,7 @@
page_id:6,
stay_time:0,
};
subUserLessonApi(that.$store.state.classQuery.elementId,that.$store.state.classQuery.category_id,that.$store.state.classQuery.periods_id,json).then(res=>{
subUserLessonApi(that.elementId,that.category_id,that.periods_id,json).then(res=>{
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
......@@ -127,7 +135,7 @@
page_id:6,
stay_time:0,
};
subUserLessonApi(that.$store.state.classQuery.elementId,that.$store.state.classQuery.category_id,that.$store.state.classQuery.periods_id,json).then(res=>{
subUserLessonApi(that.elementId,that.category_id,that.periods_id,json).then(res=>{
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
......@@ -170,15 +178,15 @@
page_id:this.page_id,
stay_time:lookTime,
};
subUserLessonApi(this.$store.state.classQuery.elementId,this.$store.state.classQuery.category_id,this.$store.state.classQuery.periods_id,json).then(res=>{
subUserLessonApi(this.elementId,this.category_id,this.periods_id,json).then(res=>{
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
localStorage.setItem('lessonDetail',JSON.stringify(lessonDetail));
let query={
periods_id:this.$route.query.periods_id,
course_type:this.$route.query.course_type,
parent_category_id:this.$route.query.parent_category_id,
periods_id:this.periods_id,
course_type:this.course_type,
parent_category_id:this.parent_category_id,
back_id:this.category_id
};
this.$router.push({name:'map',query:query})
......@@ -199,7 +207,7 @@
stay_time:lookTime,
};
console.log(lookTime)
subUserLessonApi(this.$store.state.classQuery.elementId,this.$store.state.classQuery.category_id,this.$store.state.classQuery.periods_id,json).then(res=>{
subUserLessonApi(this.elementId,this.category_id,this.periods_id,json).then(res=>{
Toast.clear()
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
......@@ -328,7 +336,7 @@
};
let lessonDetail = JSON.parse(localStorage.getItem('lessonDetail'));
let nowTime = Date.parse(new Date());
subUserLessonApi(this.$store.state.classQuery.elementId,this.$store.state.classQuery.category_id,this.$store.state.classQuery.periods_id,json).then(res=>{
subUserLessonApi(this.elementId,this.category_id,this.periods_id,json).then(res=>{
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
......
......@@ -108,6 +108,7 @@
this.share_show=false
},
finishStudy(){
let query = JSON.parse(sessionStorage.getItem('classQuery'))
this.sendConsole('完成今日学习');
let lessonDetail = JSON.parse(localStorage.getItem('lessonDetail'));
let nowTime = Date.parse(new Date());
......@@ -119,7 +120,7 @@
};
getUserWatchApi().then(res=>{
this.$store.dispatch('setWatchDetail',res)
subUserLessonApi(this.$store.state.classQuery.elementId,this.$store.state.classQuery.category_id,this.$store.state.classQuery.periods_id,json).then(res=>{
subUserLessonApi(query.elementId,query.category_id,query.periods_id,json).then(res=>{
lessonDetail.total_watch_time = res.total_watch_time;
lessonDetail.nowTime = nowTime;
lessonDetail.star_num = res.total_star_num;
......
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