820

parent 0bcf44f8
......@@ -11,4 +11,4 @@
position: fixed;
background: #f4f4f4;
}
/* html{font-size: 1px;} */</style><link href=static/css/app.f983055a19b69eb54137ee36031e8a72.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=static/js/manifest.6ddb31518706a6459c01.js></script><script type=text/javascript src=static/js/vendor.0ef71eb4855840152163.js></script><script type=text/javascript src=static/js/app.3f50962f1191b92c6777.js></script></body></html>
\ No newline at end of file
/* html{font-size: 1px;} */</style><link href=static/css/app.f983055a19b69eb54137ee36031e8a72.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=static/js/manifest.a850d2ea40e867de0dab.js></script><script type=text/javascript src=static/js/vendor.663f75af2b00b67ec3df.js></script><script type=text/javascript src=static/js/app.8f6560625186e520f106.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.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={60:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"f15287bdc3553004b56c",1:"cf30d69971e269b7564d",2:"9859eaa581afb98936e4",3:"9f02fc1faf0a1fbf95af",4:"cab924a809fda91479c3",5:"9c282fc7510b39d27016",6:"0783a600305203da8d1b",7:"faa4c6076af35d87cf33",8:"10026a3a42f21209e723",9:"c6fd2f0aa09bfa7e2342",10:"7fd5c57dd574c8f736c8",11:"de0e66901f19e1147d1f",12:"29d4e254331b68a40b6e",13:"b4fe7f99d2c2ed6a372e",14:"36115e920818c86f1f21",15:"03f4aba03ed8fc6cb881",16:"28ce44bb5996a6283eb1",17:"f483afd7e285e0f47456",18:"78d8cd25830c6e391e27",19:"d4cd5cc9481615a7deb7",20:"f10edb28d5d5149b6606",21:"fd833b8ab6cb1e0d074f",22:"3bbd94d9569706546e39",23:"d74b186d816de689cb6b",24:"d6614767b1493b95d094",25:"ceadc65421bc71eec057",26:"1e8c70cb8b1bc09ed077",27:"41fd66120a1f44be6279",28:"b300398f39cd3b6efc82",29:"f56477a0f8659c3f9943",30:"ef9e470af0670ffe8fae",31:"f8f06072e53e94f2b7a3",32:"9a6364487916f90948ea",33:"b9628f9a7e83162ce819",34:"4e8fd0562eaa034deb78",35:"6d85cff097fbe3ab12fa",36:"b37b71e15fc1d6e42880",37:"39ab4bb9b0425dbbe349",38:"b5e81f01bd1453d77842",39:"5805d0872cdc1217f1c8",40:"9abf5eaa78c46883449b",41:"63969b68dc8dbea25db8",42:"c571e11e11799b8acde6",43:"8d744d3e143104327f95",44:"e54753c85ec6ef057133",45:"a88a61aac9bc46402f20",46:"b0245efe48b82cacd135",47:"e8d26a3f687410e3ac75",48:"e1417499063ead731057",49:"ba70d6a6a0488ba7c4e5",50:"b87c57cc314916bd718a",51:"6f99c6600cc15d488b98",52:"87b6c855b349f9345c21",53:"96f2b76fdcda7331c584",54:"11bcd503a7b76683fac4",55:"7bbc6a8c4065c465d21c",56:"2b56d022fc34cfb59614",57:"8125146976f37440ecad"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={60:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"f15287bdc3553004b56c",1:"7200342ead45acf70b10",2:"9859eaa581afb98936e4",3:"9f02fc1faf0a1fbf95af",4:"cab924a809fda91479c3",5:"9c282fc7510b39d27016",6:"0783a600305203da8d1b",7:"faa4c6076af35d87cf33",8:"10026a3a42f21209e723",9:"c6fd2f0aa09bfa7e2342",10:"7fd5c57dd574c8f736c8",11:"de0e66901f19e1147d1f",12:"29d4e254331b68a40b6e",13:"b4fe7f99d2c2ed6a372e",14:"36115e920818c86f1f21",15:"03f4aba03ed8fc6cb881",16:"28ce44bb5996a6283eb1",17:"2cb36daa06d87cdaeaa6",18:"78d8cd25830c6e391e27",19:"d4cd5cc9481615a7deb7",20:"f10edb28d5d5149b6606",21:"fd833b8ab6cb1e0d074f",22:"3bbd94d9569706546e39",23:"d74b186d816de689cb6b",24:"d6614767b1493b95d094",25:"ceadc65421bc71eec057",26:"1e8c70cb8b1bc09ed077",27:"41fd66120a1f44be6279",28:"b300398f39cd3b6efc82",29:"f56477a0f8659c3f9943",30:"ef9e470af0670ffe8fae",31:"f8f06072e53e94f2b7a3",32:"9a6364487916f90948ea",33:"b9628f9a7e83162ce819",34:"4e8fd0562eaa034deb78",35:"6d85cff097fbe3ab12fa",36:"b37b71e15fc1d6e42880",37:"39ab4bb9b0425dbbe349",38:"b5e81f01bd1453d77842",39:"5805d0872cdc1217f1c8",40:"9abf5eaa78c46883449b",41:"63969b68dc8dbea25db8",42:"c571e11e11799b8acde6",43:"8d744d3e143104327f95",44:"e54753c85ec6ef057133",45:"a88a61aac9bc46402f20",46:"b0245efe48b82cacd135",47:"e8d26a3f687410e3ac75",48:"e1417499063ead731057",49:"ba70d6a6a0488ba7c4e5",50:"b87c57cc314916bd718a",51:"6f99c6600cc15d488b98",52:"87b6c855b349f9345c21",53:"96f2b76fdcda7331c584",54:"11bcd503a7b76683fac4",55:"7bbc6a8c4065c465d21c",56:"2b56d022fc34cfb59614",57:"8125146976f37440ecad"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
This diff is collapsed.
<!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.38b8dba02d432e02e51fd3b30b5fb9a6.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.a537fa7b7b13bc3a5a2d.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.62b6184c3d9a97e3d8a8.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.670ea4f39e78546ad873.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.1b7a2bb74f4d41b5b54dfb0a7f192180.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.5ba0d6db07adf3b583a7.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.62b6184c3d9a97e3d8a8.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.670ea4f39e78546ad873.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.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,b){for(var t,r,o,i=0,u=[];i<a.length;i++)r=a[i],f[r]&&u.push(f[r][0]),f[r]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,b);u.length;)u.shift()();if(b)for(i=0;i<b.length;i++)o=d(d.s=b[i]);return o};var a={},f={60:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var n=document.getElementsByTagName("head")[0],b=document.createElement("script");b.type="text/javascript",b.charset="utf-8",b.async=!0,b.timeout=12e4,d.nc&&b.setAttribute("nonce",d.nc),b.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"0a5ec9618d67d9573786",1:"3187fda4fd3197e3f816",2:"391921c3d012840affff",3:"5ce60356ec1cd6115b6d",4:"fa483f3a24ad08fddad8",5:"63ba0c1e627b0803a8ea",6:"8a4193465bad6d6d1340",7:"33aebbcd64f7df02c795",8:"b653e12dc3bc11c1fcde",9:"3c17d22ab1522fe50821",10:"8a3369a690dca0b8616e",11:"e5b204cc7c3bf40c70be",12:"3a18433270bdbbfde4a9",13:"7f90d6de0ab3aadc1bc5",14:"c055ea962a3f38b2e3e3",15:"d6744cb0fd18c67e5878",16:"f5b6bc5d70776c64ebcb",17:"3fd8b6fecf64b68e3e9a",18:"403f92770fbc890a2e32",19:"6475abce6e24311a6267",20:"34e42602f2f32d26ccad",21:"8d2da6123a7d9c724acf",22:"046553d3ec5ac18a9651",23:"efb4dd36c4c6246c24cf",24:"cf21fe492b42ee4187af",25:"feb41a8be1ec6401b57a",26:"50a8092c6403f7a0e80e",27:"9774b6bab12229f8d4c2",28:"a84d09e9f6668c2ec178",29:"cb0143778a4e653483e0",30:"760723f522b0ce0dd54b",31:"d88788b9a8e2a6d2a8ce",32:"94fc3fe67cc9aa97dcde",33:"7b62a8966c10bb6cc9df",34:"ae1b7b7c70d74a2b1a25",35:"d870ea71acacce8f96a5",36:"4c66e5fb62c44f64cbd7",37:"734c5037d7948bf3ede4",38:"ee781713ca0537663a7f",39:"a67519cec0671b744057",40:"55f3ff6bbd055e9197a3",41:"2829c8789fddc2f2e89a",42:"40143c4c90108da09c10",43:"a84f47d536897500898f",44:"31b8f2864fdf429633bc",45:"e17dd4c13ba8aa6c5555",46:"c9929c4465d58f2af226",47:"3b0fc01f0aa8d9403866",48:"ae259ee3edb763df10d2",49:"167a56a992f8e77b2de0",50:"5d904dabc5c8e469d4e1",51:"8742c1010dbf9aae0ad0",52:"4a0705ff66cf844a76f4",53:"4cd1f4f7d8a7051f1b8c",54:"b6db04476a22e4c4ef7b",55:"04176e2718bdc74f2683",56:"b19b363cba70ae9c1424",57:"54039a5376041df54e8a"}[e]+".js";var t=setTimeout(r,12e4);function r(){b.onerror=b.onload=null,clearTimeout(t);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return b.onerror=b.onload=r,n.appendChild(b),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="https://static-cdn.changchangenglish.com/new-sing/",d.oe=function(e){throw e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var t,r,o,i=0,u=[];i<a.length;i++)r=a[i],f[r]&&u.push(f[r][0]),f[r]=0;for(t in b)Object.prototype.hasOwnProperty.call(b,t)&&(e[t]=b[t]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={60:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"0a5ec9618d67d9573786",1:"12dc025684db89f993be",2:"391921c3d012840affff",3:"5ce60356ec1cd6115b6d",4:"fa483f3a24ad08fddad8",5:"63ba0c1e627b0803a8ea",6:"8a4193465bad6d6d1340",7:"632c1814f88543b9bc7e",8:"b653e12dc3bc11c1fcde",9:"3c17d22ab1522fe50821",10:"8a3369a690dca0b8616e",11:"e5b204cc7c3bf40c70be",12:"3a18433270bdbbfde4a9",13:"7f90d6de0ab3aadc1bc5",14:"c055ea962a3f38b2e3e3",15:"d6744cb0fd18c67e5878",16:"f5b6bc5d70776c64ebcb",17:"3fd8b6fecf64b68e3e9a",18:"403f92770fbc890a2e32",19:"6475abce6e24311a6267",20:"34e42602f2f32d26ccad",21:"8d2da6123a7d9c724acf",22:"046553d3ec5ac18a9651",23:"efb4dd36c4c6246c24cf",24:"cf21fe492b42ee4187af",25:"feb41a8be1ec6401b57a",26:"50a8092c6403f7a0e80e",27:"9774b6bab12229f8d4c2",28:"a84d09e9f6668c2ec178",29:"cb0143778a4e653483e0",30:"760723f522b0ce0dd54b",31:"d88788b9a8e2a6d2a8ce",32:"94fc3fe67cc9aa97dcde",33:"7b62a8966c10bb6cc9df",34:"ae1b7b7c70d74a2b1a25",35:"d870ea71acacce8f96a5",36:"4c66e5fb62c44f64cbd7",37:"734c5037d7948bf3ede4",38:"ee781713ca0537663a7f",39:"a67519cec0671b744057",40:"55f3ff6bbd055e9197a3",41:"2829c8789fddc2f2e89a",42:"40143c4c90108da09c10",43:"a84f47d536897500898f",44:"31b8f2864fdf429633bc",45:"e17dd4c13ba8aa6c5555",46:"c9929c4465d58f2af226",47:"3b0fc01f0aa8d9403866",48:"ae259ee3edb763df10d2",49:"167a56a992f8e77b2de0",50:"5d904dabc5c8e469d4e1",51:"8742c1010dbf9aae0ad0",52:"4a0705ff66cf844a76f4",53:"4cd1f4f7d8a7051f1b8c",54:"b6db04476a22e4c4ef7b",55:"04176e2718bdc74f2683",56:"b19b363cba70ae9c1424",57:"54039a5376041df54e8a"}[e]+".js";var t=setTimeout(r,12e4);function r(){n.onerror=n.onload=null,clearTimeout(t);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=r,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="https://static-cdn.changchangenglish.com/new-sing/",d.oe=function(e){throw e}}([]);
\ No newline at end of file
......@@ -352,9 +352,7 @@ export default {
};
},
created() {
// console.log('查看系统首页')
// debugger
// console.log(this.imgUrl)
this.initPage();
Toast.loading({
mask: true,
......@@ -364,7 +362,6 @@ export default {
mounted() {
// window.scrollTo(0,0);
let that = this
// localStorageFn.set('liuyi',true)
this.unlook = localStorage.getItem('unlook');
if(document.body.clientWidth>700){
that.orientationchange=true
......@@ -417,7 +414,6 @@ export default {
)
},
goMed(index){
// console.log(ss)
this.$sa.quick('trackHeatMap',this.$refs.meditem[index])
// debugger
this.showObj.audioIndex = index;
......@@ -426,7 +422,6 @@ export default {
},
goLink(link,word){
if(word=='qm'){
// console.log(this.$refs.qmitem)
this.$sa.quick('trackHeatMap',this.$refs.qmitem)
if(this.userCourse.is_free_course==1){
window.location.href = 'https://wx840a79781fa6f66d.h5.xiaoe-tech.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjo4LCJyZXNvdXJjZV9pZCI6IiIsInByb2R1Y3RfaWQiOiJwXzVjYjQyMDgzYTA2NDNfMXF0OUFGbnoiLCJhcHBfaWQiOiJhcHBhTlFMZmt0SDM3MTcifQ'
......@@ -470,7 +465,6 @@ export default {
// debugger
let that = this
getCourseInfoApi().then(res =>{
// console.log(res.teacher_alias.substr(0,1),'459')
//是否分配老师
if(res.teacher_alias){
if(res.teacher_alias.substr(0,1)!=1){
......@@ -482,7 +476,6 @@ export default {
this.userCourse = res
localStorage.setItem('userCourse',JSON.stringify(this.userCourse));
let is_view_course = "没有课程";
// console.log(ss)
if (res.start_periods_course_type) {
if(res.start_periods_course_type==0){
is_view_course = "正式课";
......@@ -573,7 +566,7 @@ export default {
this.divShow = false;
let dataURL = canvas.toDataURL("image/jpg",1.0);
this.canvasData = dataURL
}).catch(res=>{alert(res);console.log()});
}).catch(res=>{});
}
})
window.addEventListener('orientationchange',function(){
......@@ -590,7 +583,7 @@ export default {
that.divShow = false;
let dataURL = canvas.toDataURL("image/jpg",1.0);
that.canvasData = dataURL
}).catch(res=>{alert(res);console.log()});
}).catch(res=>{});
})
},300)
},false);
......@@ -627,7 +620,6 @@ export default {
let that = this
let arr = []
res.list.forEach(el => {
console.log()
if(el.buy_type==2&&el.status==1){
if(!sessionStorage.getItem('orderShadow')){
this.pt = true
......@@ -641,9 +633,7 @@ export default {
}
}
});
console.log(arr)
this.orderList = arr
// console.log(arr)
})
},
dateParse(dateString) {
......
......@@ -337,9 +337,6 @@
var d = new Date();
d.setHours(d.getHours() + 24); //有效期24小时
document.cookie = 'myad=1;expires='+d.toGMTString();//设置cookie
//================
/*自己弹窗代码*/
console.log(22)
this.adVisible = true
},
onSelect(item){
......@@ -352,7 +349,6 @@
});
}else{
this.secActions = item
console.log(item)
// debugger
this.shopType=item.course_type
// console.log(this.shopType)
......@@ -457,8 +453,6 @@
}else if(index>this.swiper.activeIndex+2&&index!=this.unitList.length-1){
this.swiper.slideTo(this.swiper.activeIndex+1,800,false)
}
console.log(this.swiper.activeIndex)
console.log(index)
// 神策埋点 选择主题
this.themeName=data.category_name.toString()
this.$sa.track('selectCategory',{
......@@ -520,7 +514,6 @@
getUnitList(){
// 获取主题
getCourseListApi(this.secActions.id).then(res=>{
console.log(res)
// debugger
this.unitList = [];
res.forEach(i=>{
......@@ -575,17 +568,13 @@
}
}
});
// debugger
// console.log(this.parent_category_id)
this.swiper.slideTo(index, 800, false);
this.swiper2.slideTo(index2, 800, false)
console.log(525)
})
})
},
// 获取课程
getLessonList(data){
console.log(this.parent_category_id)
// debugger
getLessonListApi(this.secActions.id+'/v2',{category_id:this.parent_category_id}).then(res=>{
if(this.course_id !== res.periods_info.course_id){
......@@ -621,7 +610,6 @@
res.list[i].dayText = 'DAY '+list.length;
this.hpLessonList.push(res.list[i])
}
// console.log(this.lessonList)
if(!data){
// debugger
this.$nextTick(()=>{
......@@ -646,9 +634,6 @@
this.showDia(data,index)
}
}else if(this.$route.query.back_id){
// debugger
// this.parent_category_id = this.$route.query.back_id
// this.unitList
setTimeout(() => {
let dom = document.getElementsByClassName('cid'+this.$route.query.back_id);
if(dom.length>0&& dom[0].style.display !== 'none'){
......@@ -658,7 +643,6 @@
}else{
setTimeout(() => {
let moneyDom = document.getElementsByClassName('money');
// console.log(moneyDom[0].offsetParent.offsetTop)
// debugger
if(moneyDom.length>0 && moneyDom[0].offsetLeft !== 0){
this.scroll_to(moneyDom[0].offsetParent.offsetTop)
......@@ -703,7 +687,6 @@
if(this.$route.query.item){
this.secActions = this.$route.query.item
}else{
console.log(this.userCourse.start_periods_id)
if(this.userCourse.start_periods_id!=null&&this.userCourse.start_periods_id==0){
this.secActions = this.userCourse.periods_list[0]
}else if(this.userCourse.start_periods_id!=null&&el.id==this.userCourse.start_periods_id){
......@@ -727,7 +710,6 @@
}
})
// 加载课程
// console.log(this.shopType)
// console.log(this.secActions)
this.shopType = this.secActions.course_type
if(this.secActions.is_start_course){
......
......@@ -160,7 +160,7 @@ export default {
}
}
}).then(res => {
console.log(res);
// console.log(res);
}).catch(error => {
console.log(JSON.stringify(error));
});
......@@ -180,7 +180,7 @@ export default {
});
localStorage.clear();
Toast("清除成功");
console.log(process.env.API_URL);
// console.log(process.env.API_URL);
window.location = process.env.AUTHOR_UEL + "&refresh=1";
},
toStar() {
......
......@@ -224,7 +224,6 @@ export default {
},
methods: {
ImagePreviewF(index){
console.log(this.showObj.audio[index].image)
ImagePreview({
images: [
this.showObj.audio[index].image,
......@@ -795,13 +794,10 @@ export default {
setTimeout(() => {
if (this.$store.state.lookStatus == 0) {
this.audioPoint = audioGood;
console.log('good')
} else if (this.$store.state.lookStatus == 1) {
this.audioPoint = audioGreat;
console.log('good2')
} else {
this.audioPoint = audioPerfect;
console.log('good3')
}
this.$refs.audioDom.load()
setTimeout(()=>{
......
......@@ -54,7 +54,6 @@ export default {
name: "index",
data() {
let query;
console.log(this.$store.state.classQuery.periods_id);
if (this.$store.state.classQuery.periods_id) {
query = this.$store.state.classQuery;
} else {
......@@ -207,7 +206,6 @@ export default {
let lessonDetail = JSON.parse(localStorage.getItem("lessonDetail"));
let nowTime = Date.parse(new Date());
let lookTime = (nowTime - lessonDetail.nowTime) / 1000;
console.log(this.lesson);
this.$sa.track("watchClick", {
buttonName: "返回课程列表",
partName:
......@@ -251,7 +249,7 @@ export default {
parent_category_id: this.parent_category_id,
back_id: this.category_id
};
console.log(query);
// console.log(query);
// debugger
this.$router.push({ name: "map", query: query });
});
......@@ -271,7 +269,6 @@ export default {
page_id: this.page_id,
stay_time: lookTime
};
console.log(lookTime);
subUserLessonApi(
this.elementId,
this.category_id,
......@@ -430,7 +427,6 @@ export default {
mask: true,
message: ""
});
console.log(this.$route.query);
this.parent_category_id = this.$route.query.parent_category_id;
this.course_type = this.$route.query.course_type;
this.countTimeFn()
......@@ -455,7 +451,6 @@ export default {
} else if (this.minute <= 12) {
this.percent = 91 + Math.floor(39 * Math.random()) / 10;
} else {
console.log(Math.floor(39 * Math.random()));
this.percent = 96 + Math.floor(39 * Math.random()) / 10;
}
Toast.clear();
......@@ -470,10 +465,8 @@ export default {
process.env.API_URL +
"#/shareGoods?info=" +
encodeURIComponent(JSON.stringify(obj));
console.log(URL);
this.onShare(URL);
// this.onShare(URL);
console.log(this.lesson);
this.nowShow = 1;
document.title = `${this.lesson.domTitle}`;
this.nowLesson = {
......
This diff is collapsed.
......@@ -40,11 +40,9 @@ export default {
if(userCourse2){
this.userCourse2 = userCourse2
}
console.log(this.userCourse2)
},
methods: {
toUrl(data) {
// console.log(this.$route.name)
// debugger
if (data == "map") {
this.$sa.track("buttonClick", {
......@@ -53,8 +51,6 @@ export default {
buttonType: "切换按钮",
buttonName: "切换到上课"
});
console.log(this.userCourse2)
if(this.ownDetail.family_user!=1){
if(this.userCourse2.start_periods_id!=null&&this.userCourse2.start_periods_course_type!=null){
// debugger
......
......@@ -28,15 +28,15 @@ Vue.prototype.$sa.quick('autoTrack')
Vue.use(VueClipboard);
Vue.use(Popup).use(Lazyload).use(Button).use(Dialog).use(Toast);
Vue.component('scroll', scroll);
// const errorHandler = (error, vm)=>{
// console.error('抛出全局异常');
// console.error(vm);
// console.error(error);
// }
// Vue.config.errorHandler = errorHandler;
// Vue.prototype.$throw = (error)=> errorHandler(error,this);
/* eslint-disable no-new */
// Vue.prototype.testAttr = 'testAttr'
const errorHandler = (error, vm)=>{
console.error(error);
console.error(vm.$route.name);
}
Vue.config.errorHandler = errorHandler;
Vue.prototype.$throw = (error)=> errorHandler(error,this);
// if (process.env.NODE_ENV != 'production') {
// new VConsole();
// }
......@@ -44,7 +44,6 @@ Vue.component('scroll', scroll);
router.beforeEach((to, from, next) => {
next()
// chrome
console.log(document.body.hasOwnProperty('scrollTop'))
if (document.body.scrollTop !== null) {
document.body.scrollTop = 0
}
......
......@@ -126,7 +126,7 @@ export const getOrderListApi = function (json) {
// 用户看课统计
const getUserWatchUrl = `${_baseUrl}api/client/user/watch/report`;
export const getUserWatchApi = function (json) {
console.log(json,129)
// console.log(json,129)
return Vue.prototype.$fetch(getUserWatchUrl,json)
};
// 获取老师
......@@ -144,7 +144,6 @@ const getStatusWechatUrl = `${_baseUrl}api/client/bill/wechat/status`;
export const getStatusWechatApi = function (json) {
return Vue.prototype.$fetch(getStatusWechatUrl, json)
};
// 用户可用优惠券
const getCouponListUrl = `${_baseUrl}api/client/user/coupon/list`;
export const getCouponListApi = function (id) {
......
......@@ -44,14 +44,13 @@ axios.interceptors.request.use(
}
json.sing = "singsingenglish21000";
if (common.getUrlParam().chang_test_user_id) {
console.log(common.getUrlParam())
// json.chang_test_user_id = common.getUrlParam().chang_test_user_id
// json.special_token = 'changchangenglish'
}
if (process.env.NODE_ENV === 'development') {
config.params.special_token = "changchangenglish";
}
console.log(json)
// console.log(json)
config.params.param_token = md5(JSON.stringify(json));
config.params.v = versiontime;
} else if (config.url !== '/api/admin/login') {
......@@ -70,14 +69,13 @@ axios.interceptors.request.use(
}
json2.sing = "singsingenglish21000";
if (common.getUrlParam().chang_test_user_id) {
console.log(common.getUrlParam())
// json2.chang_test_user_id = common.getUrlParam().chang_test_user_id
// json2.special_token = 'changchangenglish'
}
if (process.env.NODE_ENV === 'development') {
config.data.special_token = "changchangenglish";
}
console.log(json2)
// console.log(json2)
config.data.param_token = md5(JSON.stringify(json2));
config.data.v = versiontime
}
......@@ -175,10 +173,8 @@ export function fetch(url, params = {}) {
})
.then(response => {
if (response.data.code === 200) {
console.log(process.env)
resolve(response.data.data);
} else if (response.data.code === 501) {
console.log(process.env.AUTHOR_UEL)
reject(response.data);
let query = { retUrl: window.location.href.split('#')[1] };
localStorage.setItem('retUrl', window.location.href.split('#')[1]);
......@@ -187,7 +183,6 @@ export function fetch(url, params = {}) {
} else if (response.data.code === 503) {
reject(response.data);
} else if (response.data.code === 506) {
console.log(process.env.AUTHOR_UEL)
reject(response.data);
let query = { retUrl: window.location.href.split('#')[1] };
localStorage.setItem('retUrl', window.location.href.split('#')[1]);
......
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