819

parent e0a2b6a2
...@@ -25,5 +25,6 @@ module.exports = merge(prodEnv, { ...@@ -25,5 +25,6 @@ module.exports = merge(prodEnv, {
BUY_URL:'"http://wechat-test.changchangenglish.com/#/buyDetail?"', BUY_URL:'"http://wechat-test.changchangenglish.com/#/buyDetail?"',
AUTHOR_UEL:`"https://wechat-test.changchangenglish.com/api/client/login?redirect_url=${ip}#/"`, AUTHOR_UEL:`"https://wechat-test.changchangenglish.com/api/client/login?redirect_url=${ip}#/"`,
REDIRECT_URL:`"${ip}"`, REDIRECT_URL:`"${ip}"`,
YB_URL:`"https://sit.tohours.com/salesplus/goodstart/goodStartIndex.action"`
}); });
...@@ -6,5 +6,6 @@ module.exports = { ...@@ -6,5 +6,6 @@ module.exports = {
MAX_FILESIZE:'1024*1024*10', MAX_FILESIZE:'1024*1024*10',
versionTime: '2019061315', versionTime: '2019061315',
BUY_URL:'"https://wechat.changchangenglish.com/#/buyDetail?"', BUY_URL:'"https://wechat.changchangenglish.com/#/buyDetail?"',
AUTHOR_UEL:'"https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"' AUTHOR_UEL:'"https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"',
YB_URL:'"https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action"'
}; };
...@@ -7,4 +7,5 @@ module.exports = { ...@@ -7,4 +7,5 @@ module.exports = {
BUY_URL:'"https://wechat-test.changchangenglish.com/#/buyDetail?"', BUY_URL:'"https://wechat-test.changchangenglish.com/#/buyDetail?"',
AUTHOR_UEL:'"https://wechat-test.changchangenglish.com/api/client/login?redirect_url=https://wechat-test.changchangenglish.com"', AUTHOR_UEL:'"https://wechat-test.changchangenglish.com/api/client/login?redirect_url=https://wechat-test.changchangenglish.com"',
versionTime: '2019061315', versionTime: '2019061315',
YB_URL:'"https://sit.tohours.com/salesplus/goodstart/goodStartIndex.action"'
}; };
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
position: fixed; position: fixed;
background: #f4f4f4; 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.fc328eea2d50f408cf0e.js></script><script type=text/javascript src=static/js/vendor.663f75af2b00b67ec3df.js></script><script type=text/javascript src=static/js/app.be75350c2a903971dc52.js></script></body></html> /* 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.84b200976bed7f950e83.js></script><script type=text/javascript src=static/js/vendor.0ef71eb4855840152163.js></script><script type=text/javascript src=static/js/app.cfc570d320e33b2f92b7.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([57],{"0RaN":function(e,n,t){var a=t("iOgL");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);t("rjj0")("0022f600",a,!1,{})},SnBc:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={name:"ybNav",data:function(){return{noUrl:noUrl}},mounted:function(){window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId}},o=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"noWechat-page"})};o._withStripped=!0;var r={render:o,staticRenderFns:[]},s=r;var i=!1;var c=t("VU/8")(a,s,!1,function(e){i||t("0RaN")},"data-v-0ca00e8b",null);c.options.__file="src/components/youbang/nav.vue";n.default=c.exports},iOgL:function(e,n,t){(e.exports=t("FZ+f")(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"nav.vue",sourceRoot:""}])}});
\ No newline at end of file
webpackJsonp([57],{"0RaN":function(t,e,o){var n=o("iOgL");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);o("rjj0")("0022f600",n,!1,{})},SnBc:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={name:"ybNav",data:function(){return{noUrl:noUrl}},mounted:function(){console.log("https://sit.tohours.com/salesplus/goodstart/goodStartIndex.action"),window.location.href="https://sit.tohours.com/salesplus/goodstart/goodStartIndex.action?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId}},s=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"noWechat-page"})};s._withStripped=!0;var a={render:s,staticRenderFns:[]},r=a;var i=!1;var c=o("VU/8")(n,r,!1,function(t){i||o("0RaN")},"data-v-0ca00e8b",null);c.options.__file="src/components/youbang/nav.vue";e.default=c.exports},iOgL:function(t,e,o){(t.exports=o("FZ+f")(!0)).push([t.i,"","",{version:3,sources:[],names:[],mappings:"",file:"nav.vue",sourceRoot:""}])}});
\ No newline at end of file
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],d[t]&&u.push(d[t][0]),d[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=f(f.s=n[i]);return o};var a={},d={60:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});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,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"8e4730509c56bcd8d6fa",1:"d24f6396d63e2bc5930e",2:"620a706ba15ed543a42c",3:"f316574bd8b83a5f0c80",4:"94e2f3b9baba457933c3",5:"b5ec33e6f4985d076756",6:"66603cf5d5759b3789ff",7:"66737a29e2c8720196b4",8:"8fe3981a0711e5f7be55",9:"94b054788f551435e7c9",10:"787c9ec05fcbc49d5254",11:"07d8416a524a18a11a94",12:"d1978e00cec0e17a0b33",13:"cc95ec7f6284caa85ee3",14:"50a2cb2a472ac9e39cbf",15:"efd95522e386ce3b8e32",16:"23b9483461299fe5935e",17:"19c30f59bd7daeb31fcf",18:"e4fab1bc8d5e5a3b59ce",19:"a9679bbd15c6c99695dd",20:"f5c3493971a6b24f2fe6",21:"39e2276099413d90e461",22:"f03ccd7cde0af220b590",23:"0a30342afd7d5d564bf3",24:"62f0cd5963b95494b554",25:"c2027dc25dbdf0b16a28",26:"d5d066930bd342221b62",27:"8d45a9f6d9d38e11bb2c",28:"de335182d23126954034",29:"d1a323f2a16ae157e3ac",30:"155f927287dd42e6325c",31:"8b54d5f641ce7f03d363",32:"94ddd814e9b03e928a6d",33:"ccfd7b3155e3bd335d4f",34:"711547a0547c30a7b297",35:"0abeca0b9f67a1740ea1",36:"3ceda9b062fcdff499d0",37:"43dfa0ea95bfaf76b095",38:"fe00fa09f39149ac5590",39:"1728d9e464604c4975d5",40:"4e8da523fd689ca99b90",41:"6846c948cc2c0e4ad4c7",42:"08223042fade5116d628",43:"ce90b1dd00dac09e4f48",44:"1ff16a73fffac9bc85b9",45:"a88a61aac9bc46402f20",46:"b0245efe48b82cacd135",47:"e8d26a3f687410e3ac75",48:"bb6233b7e3b05406f476",49:"a4eb1fd7cdd23a1966cf",50:"5f2077cfdd5d8d7563c3",51:"dd9597df505ecd936336",52:"6d53c81923b6a35cdded",53:"1450a91c82ec749a3eec",54:"d9dbc4fcb15204e4b418",55:"137151751abbce84668b",56:"2b56d022fc34cfb59614",57:"23e5894de17786a16993"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),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="",f.oe=function(e){throw console.error(e),e}}([]); !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],d[t]&&u.push(d[t][0]),d[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=f(f.s=n[i]);return o};var a={},d={60:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});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,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"8e4730509c56bcd8d6fa",1:"cf5bbbb09edcd7101643",2:"620a706ba15ed543a42c",3:"f316574bd8b83a5f0c80",4:"94e2f3b9baba457933c3",5:"b5ec33e6f4985d076756",6:"66603cf5d5759b3789ff",7:"00e493cb6a213156191e",8:"8fe3981a0711e5f7be55",9:"94b054788f551435e7c9",10:"787c9ec05fcbc49d5254",11:"f39556488179f91e2aa3",12:"d1978e00cec0e17a0b33",13:"cc95ec7f6284caa85ee3",14:"50a2cb2a472ac9e39cbf",15:"efd95522e386ce3b8e32",16:"23b9483461299fe5935e",17:"19c30f59bd7daeb31fcf",18:"e4fab1bc8d5e5a3b59ce",19:"a9679bbd15c6c99695dd",20:"f5c3493971a6b24f2fe6",21:"39e2276099413d90e461",22:"f03ccd7cde0af220b590",23:"0a30342afd7d5d564bf3",24:"62f0cd5963b95494b554",25:"c2027dc25dbdf0b16a28",26:"d5d066930bd342221b62",27:"8d45a9f6d9d38e11bb2c",28:"de335182d23126954034",29:"d1a323f2a16ae157e3ac",30:"155f927287dd42e6325c",31:"8b54d5f641ce7f03d363",32:"94ddd814e9b03e928a6d",33:"ccfd7b3155e3bd335d4f",34:"711547a0547c30a7b297",35:"0abeca0b9f67a1740ea1",36:"3ceda9b062fcdff499d0",37:"43dfa0ea95bfaf76b095",38:"fe00fa09f39149ac5590",39:"1728d9e464604c4975d5",40:"4e8da523fd689ca99b90",41:"6846c948cc2c0e4ad4c7",42:"08223042fade5116d628",43:"ce90b1dd00dac09e4f48",44:"1ff16a73fffac9bc85b9",45:"a88a61aac9bc46402f20",46:"b0245efe48b82cacd135",47:"e8d26a3f687410e3ac75",48:"bb6233b7e3b05406f476",49:"a4eb1fd7cdd23a1966cf",50:"5f2077cfdd5d8d7563c3",51:"dd9597df505ecd936336",52:"6d53c81923b6a35cdded",53:"1450a91c82ec749a3eec",54:"d9dbc4fcb15204e4b418",55:"137151751abbce84668b",56:"2b56d022fc34cfb59614",57:"86743664e77554867849"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),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="",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
v-show="!share_show && !popupVisible && !star"> v-show="!share_show && !popupVisible && !star">
<video <video
ref="videoDom" ref="videoDom"
id='myVideo'
:src="showObj.video[videoIndex].url" :src="showObj.video[videoIndex].url"
@click="activity" @click="activity"
@ended="videoEnd" @ended="videoEnd"
...@@ -232,13 +233,6 @@ export default { ...@@ -232,13 +233,6 @@ export default {
el.url = el.url.slice(0,el.url.indexOf('_'))+'_'+this.clarityType+el.url.slice(-4) el.url = el.url.slice(0,el.url.indexOf('_'))+'_'+this.clarityType+el.url.slice(-4)
console.log(el.url) console.log(el.url)
}) })
this.$refs.videoDom.load()
this.$refs.videoDom.addEventListener("loadedmetadata", function()
{
console.log(230)
// that.$refs.videoDom.currentTime=20
})
} else if (a == "720") { } else if (a == "720") {
this.clarityType = 720; this.clarityType = 720;
localStorage.setItem("clarityType", this.clarityType); localStorage.setItem("clarityType", this.clarityType);
...@@ -246,13 +240,6 @@ export default { ...@@ -246,13 +240,6 @@ export default {
el.url = el.url.slice(0,el.url.indexOf('_'))+'_'+this.clarityType+el.url.slice(-4) el.url = el.url.slice(0,el.url.indexOf('_'))+'_'+this.clarityType+el.url.slice(-4)
console.log(el.url) console.log(el.url)
}) })
this.$refs.videoDom.load()
// debugger
this.$refs.videoDom.addEventListener("loadedmetadata", function()
{
console.log(230)
// that.$refs.videoDom.currentTime=20
})
} else { } else {
this.clarityType = 540; this.clarityType = 540;
localStorage.setItem("clarityType", this.clarityType); localStorage.setItem("clarityType", this.clarityType);
...@@ -260,12 +247,6 @@ export default { ...@@ -260,12 +247,6 @@ export default {
el.url = el.url.slice(0,el.url.indexOf('_'))+'_'+this.clarityType+el.url.slice(-4) el.url = el.url.slice(0,el.url.indexOf('_'))+'_'+this.clarityType+el.url.slice(-4)
console.log(el.url) console.log(el.url)
}) })
this.$refs.videoDom.load()
this.$refs.videoDom.addEventListener("loadedmetadata", function()
{
console.log(230)
// that.$refs.videoDom.currentTime=20
})
} }
this.secClarity = false; this.secClarity = false;
...@@ -448,10 +429,20 @@ export default { ...@@ -448,10 +429,20 @@ export default {
videoPlay() { videoPlay() {
// 神策埋点 点击操作 // 神策埋点 点击操作
// if(this.currentTime){ // if(this.currentTime){
// this.$refs.videoDom.currentTime = this.currentTime
// this.$refs.videoDom.play()
// }
// }
// this.$refs.videoDom.addEventListener("loadedmetadata", ()=>
// {
// console.log(230)
// this.$refs.videoDom.play()
// this.$refs.videoDom.currentTime = 300
// })
// setTimeout(() => {
// this.$refs.videoDom.play()
// this.$refs.videoDom.currentTime = 300
// }, 300);
// document.getElementById('myVideo').play()
// document.getElementById('myVideo').currentTime=300
this.$sa.track("watchClick", { this.$sa.track("watchClick", {
dayModule: JSON.parse( dayModule: JSON.parse(
localStorage.getItem("lessonDetail") localStorage.getItem("lessonDetail")
......
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
}else if(res.res==2||res.res==4){ }else if(res.res==2||res.res==4){
this.$router.push({name:'ybPaySuccess',query:this.query}) this.$router.push({name:'ybPaySuccess',query:this.query})
}else{ }else{
window.location.href=`https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}` window.location.href=`${process.env.YB_URL}?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}`
} }
}) })
sessionStorage.setItem('clickTag','') sessionStorage.setItem('clickTag','')
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}else if(res.res==2||res.res==4){ }else if(res.res==2||res.res==4){
this.$router.push({name:'ybPaySuccess',query:this.query}) this.$router.push({name:'ybPaySuccess',query:this.query})
}else{ }else{
window.location.href=`https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}` window.location.href=`${process.env.YB_URL}?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}`
} }
}) })
}, },
......
...@@ -14,13 +14,12 @@ ...@@ -14,13 +14,12 @@
} }
}, },
mounted() { mounted() {
window.location.href=`https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}` window.location.href=`${process.env.YB_URL}?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}`
}, },
} }
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.noWechat-page{ .noWechat-page{
} }
......
...@@ -352,7 +352,7 @@ export default { ...@@ -352,7 +352,7 @@ export default {
}else if(res.res==2||res.res==4){ }else if(res.res==2||res.res==4){
this.$router.push({name:'ybPaySuccess',query:this.$route.query}) this.$router.push({name:'ybPaySuccess',query:this.$route.query})
}else{ }else{
window.location.href=`https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}` window.location.href=`${process.env.YB_URL}?parentId=${this.$route.query.parentId}&agentId=${this.$route.query.agentId}`
} }
}) })
// getUserAdressApi().then(res=>{ // getUserAdressApi().then(res=>{
......
...@@ -37,9 +37,9 @@ Vue.component('scroll', scroll); ...@@ -37,9 +37,9 @@ Vue.component('scroll', scroll);
// Vue.prototype.$throw = (error)=> errorHandler(error,this); // Vue.prototype.$throw = (error)=> errorHandler(error,this);
/* eslint-disable no-new */ /* eslint-disable no-new */
// Vue.prototype.testAttr = 'testAttr' // Vue.prototype.testAttr = 'testAttr'
if (process.env.NODE_ENV != 'production') { // if (process.env.NODE_ENV != 'production') {
new VConsole(); // new VConsole();
} // }
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
next() next()
......
...@@ -509,6 +509,7 @@ const router = new Router({ ...@@ -509,6 +509,7 @@ const router = new Router({
}); });
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
// console.log(process.env)
// 神策路由埋点 // 神策路由埋点
Vue.nextTick(() => { Vue.nextTick(() => {
sa.quick("autoTrackSinglePage"); sa.quick("autoTrackSinglePage");
......
...@@ -175,6 +175,7 @@ export function fetch(url, params = {}) { ...@@ -175,6 +175,7 @@ export function fetch(url, params = {}) {
}) })
.then(response => { .then(response => {
if (response.data.code === 200) { if (response.data.code === 200) {
console.log(process.env)
resolve(response.data.data); resolve(response.data.data);
} else if (response.data.code === 501) { } else if (response.data.code === 501) {
console.log(process.env.AUTHOR_UEL) console.log(process.env.AUTHOR_UEL)
......
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