Commit 39b34b81 authored by IvyXia123's avatar IvyXia123

时间提交

parent 10e86db0
......@@ -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.2ea88c3db197667cb69b.js></script><script type=text/javascript src=static/js/vendor.5af9774cd57a16d7dc8b.js></script><script type=text/javascript src=static/js/app.52c001f8faf9c2d1f473.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.a07f1b0cadb2ff7c8a3d.js></script><script type=text/javascript src=static/js/vendor.a3374454891a5901b407.js></script><script type=text/javascript src=static/js/app.362a344cd239802ceab9.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 diff is collapsed.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[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(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={68:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,n.crossOrigin="anonymous",d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"a9817ac0f287bed19f27",1:"db8f2ee01e58fb54fe08",2:"f4684d385f8b929377d3",3:"9e47ac3f475bc517b2d7",4:"d61e8321cc6581566e82",5:"89f183e40dfe8f5c5f1b",6:"5903a38420a57db205f4",7:"f0d7dc1b118b12372592",8:"ea29c16a3ca17b205ae1",9:"b2dec04b21bca849cbd6",10:"590de6ab6ba2c209a332",11:"0690d0eea2f74de45949",12:"71eefcae7467f3ce1180",13:"c626bf8da9ede0643634",14:"b90c3e41cd7a24d9b389",15:"5c5d88fb5ec26d04de5f",16:"6e43a4de6f6545d61e58",17:"f11dd4f0fc64cbe7f533",18:"f5bd07ad210ce3ac9eb2",19:"cdeb91c501d771282234",20:"5b22648157403717f723",21:"7158c55aed93d37762e1",22:"eaa14ae4546c1bb3c807",23:"6027e15d466465201cf5",24:"66115b335ef36e664560",25:"22e831618bd66856e27d",26:"babb823702b848ad728f",27:"8ee0be7fbb0fb087db54",28:"f8707528ba155add897c",29:"da4acbdde708ddbf8f6d",30:"c5615725ba88f4867095",31:"496a4f1feee35020b28e",32:"2559035f05e9a3a46f2f",33:"878f5218f2aefb698901",34:"990e75db132893a4cf89",35:"75badc923916cb2468a7",36:"a00c1af74ae22b0d4627",37:"9da1120933b9fd219c59",38:"efd3f13d3ec2ef2f1150",39:"92c9c958af886df761cb",40:"ff3778361e9c6e46fe3d",41:"586e834d1629adc1c0ba",42:"8e40154cf06ec387d937",43:"979d8e834a625c70b55a",44:"c0945a273a703ad0015c",45:"aa8930a43076de0f45d3",46:"629ac5e48cc4495c9a83",47:"8f7cb2383de6183d7d3e",48:"a0f24071ee52a1d66406",49:"cbac7d2480666adc3d62",50:"2a8ca9d1bd716ed37c2e",51:"88c54be9226e52266869",52:"73c099f5daace9561d9a",53:"6203720a199b023ef0a0",54:"6b792ec4a32901312c88",55:"a464b25f551442449920",56:"8845249be04a11188470",57:"1ac4abd38c6519ea6589",58:"19369ad7725909e684dc",59:"85887c56ce5cacb4a36e",60:"7fd436f0072dc84af450",61:"05f88aff250970f5ea26",62:"9a678fbce95456875829",63:"557e137c7b8fe2ac6cd8",64:"e4be81d2cf4d0f5576e5",65:"b743a3660298e39b9df2"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[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(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={68:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,n.crossOrigin="anonymous",d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"a9817ac0f287bed19f27",1:"db8f2ee01e58fb54fe08",2:"fde299ddf378262bfd5a",3:"9e47ac3f475bc517b2d7",4:"d61e8321cc6581566e82",5:"89f183e40dfe8f5c5f1b",6:"5903a38420a57db205f4",7:"f0d7dc1b118b12372592",8:"ea29c16a3ca17b205ae1",9:"b2dec04b21bca849cbd6",10:"590de6ab6ba2c209a332",11:"0690d0eea2f74de45949",12:"71eefcae7467f3ce1180",13:"c626bf8da9ede0643634",14:"b90c3e41cd7a24d9b389",15:"5c5d88fb5ec26d04de5f",16:"6e43a4de6f6545d61e58",17:"f11dd4f0fc64cbe7f533",18:"f5bd07ad210ce3ac9eb2",19:"cdeb91c501d771282234",20:"5b22648157403717f723",21:"7158c55aed93d37762e1",22:"eaa14ae4546c1bb3c807",23:"6027e15d466465201cf5",24:"66115b335ef36e664560",25:"22e831618bd66856e27d",26:"babb823702b848ad728f",27:"8ee0be7fbb0fb087db54",28:"3c78ec52e20ab1b1a6b3",29:"da4acbdde708ddbf8f6d",30:"c5615725ba88f4867095",31:"496a4f1feee35020b28e",32:"2559035f05e9a3a46f2f",33:"878f5218f2aefb698901",34:"990e75db132893a4cf89",35:"75badc923916cb2468a7",36:"a00c1af74ae22b0d4627",37:"9da1120933b9fd219c59",38:"efd3f13d3ec2ef2f1150",39:"92c9c958af886df761cb",40:"ff3778361e9c6e46fe3d",41:"586e834d1629adc1c0ba",42:"8e40154cf06ec387d937",43:"979d8e834a625c70b55a",44:"c0945a273a703ad0015c",45:"aa8930a43076de0f45d3",46:"629ac5e48cc4495c9a83",47:"8f7cb2383de6183d7d3e",48:"a0f24071ee52a1d66406",49:"cbac7d2480666adc3d62",50:"2a8ca9d1bd716ed37c2e",51:"88c54be9226e52266869",52:"73c099f5daace9561d9a",53:"6203720a199b023ef0a0",54:"6b792ec4a32901312c88",55:"a464b25f551442449920",56:"8845249be04a11188470",57:"1ac4abd38c6519ea6589",58:"19369ad7725909e684dc",59:"85887c56ce5cacb4a36e",60:"7fd436f0072dc84af450",61:"05f88aff250970f5ea26",62:"9a678fbce95456875829",63:"557e137c7b8fe2ac6cd8",64:"e4be81d2cf4d0f5576e5",65:"b743a3660298e39b9df2"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -132,8 +132,11 @@
if(this.imageNum !== 0 && this.imageNum2 !== 0 && this.imageNum3 !== 0) {
if(this.myHtmlCode.length > 15 && this.myHtmlCode.length < 100) {
// 提交评价页面
postUserGrowthAddApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id, data).then(res => {
this.subUserLessonFn(classQuery.elementId, classQuery.category_id, classQuery.periods_id, 7)
let elementId = this.$route.query.element_id ? this.$route.query.element_id : classQuery.elementId,
categoryId = this.$route.query.category_id ? this.$route.query.category_id : classQuery.category_id,
periodsId = this.$route.query.periods_id ? this.$route.query.periods_id : classQuery.periods_id
postUserGrowthAddApi(elementId, categoryId, periodsId, data).then(res => {
this.subUserLessonFn(elementId, categoryId, periodsId, 7)
// 删除缓存
localStorage.removeItem("cache");
// 展示网页生成图片
......@@ -208,7 +211,10 @@
}
}else {
// 从接口获取
const getUserGrowthRecordData = await getUserGrowthRecordApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id);
let elementId = this.$route.query.element_id ? this.$route.query.element_id : classQuery.elementId,
categoryId = this.$route.query.category_id ? this.$route.query.category_id : classQuery.category_id,
periodsId = this.$route.query.periods_id ? this.$route.query.periods_id : classQuery.periods_id
const getUserGrowthRecordData = await getUserGrowthRecordApi(elementId, categoryId, periodsId);
if(getUserGrowthRecordData.length !== 0) {
this.imageNum = getUserGrowthRecordData.interest;
this.imageNum2 = getUserGrowthRecordData.concent;
......
......@@ -263,7 +263,9 @@
getReturnCashApi(periodsId, newCash).then(res => {
this.returnCashData = res;
// 倒计时
let overTime = new Date(res.over_time).getTime();
let overTimeSplit = res.over_time.split(' ')[0],
overTimeTimer = overTimeSplit.split('-')[0] + '/' + overTimeSplit.split('-')[1] + '/' + overTimeSplit.split('-')[2] + ' ' + res.over_time.split(' ')[1]
let overTime = new Date(overTimeTimer).getTime();
setInterval(() => { this.restTime(overTime) }, 1000);
// 完成率
this.secondRate = res.second_rate;
......@@ -364,7 +366,8 @@
}else {
// 用户看课统计
getUserWatchApi({ category_id: dataObj.id }).then(res => {
this.$router.push({path: '/evaluate', query: res})
let data = Object.assign({}, res, { periods_id: this.modelData.periods_id, category_id: this.modelData.id, element_id: this.modelData.ele_id })
this.$router.push({path: '/evaluate', query: data})
});
}
}else if(dataObj.status === 3) {
......
......@@ -54,9 +54,9 @@ Vue.config.errorHandler = errorHandler;
Vue.prototype.$throw = (error)=> errorHandler(error,this);
Vue.prototype.$common = common
//VConsole关闭屏蔽代码
if (process.env.NODE_ENV != 'production') {
new VConsole();
}
// if (process.env.NODE_ENV != 'production') {
// new VConsole();
// }
router.beforeEach((to, from, next) => {
next()
......
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