722

parent 14ab7243
...@@ -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.91d2eea1dfca80994de99748f577fac4.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.b67bf711cbf81befc914.js></script><script type=text/javascript src=static/js/vendor.5c7b919633d1497d7060.js></script><script type=text/javascript src=static/js/app.5b0430989a55f2536a5f.js></script></body></html> /* html{font-size: 1px;} */</style><link href=static/css/app.91d2eea1dfca80994de99748f577fac4.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.738c111b2fb82eee5c3b.js></script><script type=text/javascript src=static/js/vendor.1cb0a9dbfa5e691b83cc.js></script><script type=text/javascript src=static/js/app.aa52cafa868efddebec7.js></script></body></html>
\ No newline at end of file \ 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 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 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,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={53: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:"5db0a59f5869142e6dba",1:"1edd7c0874f94b4666fc",2:"07cceb1e803acf6db9f2",3:"a6968b5fb0477d186995",4:"b5fb8c2534ef54f8ac6b",5:"5255e63afe0aef34e090",6:"fd2048a132ac01c66f31",7:"660f5bdb4edd1edd55e7",8:"b8b60fb161ff88d940c0",9:"a3092942937d4a6fb955",10:"62eb72d70f3b59cf3c98",11:"56704f369e5e93ae737a",12:"f750ccc398ac178765e3",13:"7ed678425e44945ce745",14:"4559bb8bd2da436a3ccc",15:"2bcb85969996bd9917d6",16:"6db5aed33759e934b493",17:"1d617465fc18be58106c",18:"3ee67936b4ffcb5aeced",19:"2cf5a5c7c395f367c281",20:"7ebfa8f4c91914e77fef",21:"e7f7eb9f774000cc83ca",22:"eaac7e701de1edf25c4e",23:"34774c7556175ec5edc1",24:"f3601dcd673958fc32ef",25:"711b1b7b0cf8be4407e3",26:"270271a59d37b4a77b0d",27:"16245875ab7f8c9ff27c",28:"1ccb5029fd0e4b1eb927",29:"1d38dfc535d5ff073768",30:"b63461282cfdd6308fad",31:"1d9b056cab58aa69addc",32:"bdc2d69db6de72eb8cb4",33:"91b52bbd55ab4d68b33b",34:"d2f9223bfa87c95e97fa",35:"dd99e86c7c5f93e912b3",36:"b08e05deb2fbd68b8a28",37:"bac71fac563b85eb584f",38:"da07c37615cde43eb3a2",39:"3146301b90e1787c32df",40:"2e3059f5ceb70cf15062",41:"6693c5a72351ecb693a6",42:"3362d132290ca513f321",43:"0bd3aa57e4ab944faf10",44:"85969d2a9d7b8e916636",45:"83d29d45291dbaa688af",46:"ea3e7515c164b9660fc4",47:"dbfc6756aae12a3c237c",48:"c4054d308fdb4adf56a1",49:"7ce73a974766e3941637",50:"3c0ca06ebc16fb9d77c9"}[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}}([]); !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={53: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:"5db0a59f5869142e6dba",1:"f367b1c3546f0fb55df1",2:"07cceb1e803acf6db9f2",3:"a6968b5fb0477d186995",4:"85f78c5ca8ccaf4dd8eb",5:"5255e63afe0aef34e090",6:"fd2048a132ac01c66f31",7:"660f5bdb4edd1edd55e7",8:"b8b60fb161ff88d940c0",9:"a3092942937d4a6fb955",10:"62eb72d70f3b59cf3c98",11:"17d157f148499d1af3ae",12:"f750ccc398ac178765e3",13:"7ed678425e44945ce745",14:"4559bb8bd2da436a3ccc",15:"2bcb85969996bd9917d6",16:"6db5aed33759e934b493",17:"1d617465fc18be58106c",18:"7bda668617d9405cd4c0",19:"2cf5a5c7c395f367c281",20:"7ebfa8f4c91914e77fef",21:"e7f7eb9f774000cc83ca",22:"eaac7e701de1edf25c4e",23:"34774c7556175ec5edc1",24:"f3601dcd673958fc32ef",25:"711b1b7b0cf8be4407e3",26:"270271a59d37b4a77b0d",27:"16245875ab7f8c9ff27c",28:"1ccb5029fd0e4b1eb927",29:"1d38dfc535d5ff073768",30:"b63461282cfdd6308fad",31:"1d9b056cab58aa69addc",32:"bdc2d69db6de72eb8cb4",33:"9a918d15bbc523e46f51",34:"d2f9223bfa87c95e97fa",35:"dd99e86c7c5f93e912b3",36:"b08e05deb2fbd68b8a28",37:"bac71fac563b85eb584f",38:"da07c37615cde43eb3a2",39:"3146301b90e1787c32df",40:"2e3059f5ceb70cf15062",41:"6693c5a72351ecb693a6",42:"3362d132290ca513f321",43:"0bd3aa57e4ab944faf10",44:"85969d2a9d7b8e916636",45:"83d29d45291dbaa688af",46:"ea3e7515c164b9660fc4",47:"dbfc6756aae12a3c237c",48:"c4054d308fdb4adf56a1",49:"7ce73a974766e3941637",50:"3c0ca06ebc16fb9d77c9"}[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 \ No newline at end of file
...@@ -199,7 +199,7 @@ import {sendMobileCodeApi,getUserDetailApi,bindMobileApi,getGoodsDetailApi} from ...@@ -199,7 +199,7 @@ import {sendMobileCodeApi,getUserDetailApi,bindMobileApi,getGoodsDetailApi} from
line-height:47*@toVw; line-height:47*@toVw;
text-indent: 10*@toVw; text-indent: 10*@toVw;
border: 1*@toVw solid #cccccc; border: 1*@toVw solid #cccccc;
margin-bottom: 26 * @toVw; margin-bottom: 18 * @toVw;
position: relative; position: relative;
.img{ .img{
position: absolute; position: absolute;
......
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
<span class="title">启蒙小课堂</span> <span class="title">启蒙小课堂</span>
<span class="tip">名师手把手,爸妈小帮手</span> <span class="tip">名师手把手,爸妈小帮手</span>
<a v-if="userCourse.is_free_course==0" href="https://wx840a79781fa6f66d.h5.xiaoe-tech.com" class="more qm">更多 <i class="iconfont icon-youjiantou"></i> </a> <a v-if="userCourse.is_free_course==0" href="https://wx840a79781fa6f66d.h5.xiaoe-tech.com" class="more qm">更多 <i class="iconfont icon-youjiantou"></i> </a>
<a v-if="userCourse.is_free_course==1" href="https://wx840a79781fa6f66d.h5.xiaoe-tech.com" class="more qm">更多 <i class="iconfont icon-youjiantou"></i> </a> <a v-if="userCourse.is_free_course==1" href="https://wx840a79781fa6f66d.h5.xiaoe-tech.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjo4LCJyZXNvdXJjZV9pZCI6IiIsInByb2R1Y3RfaWQiOiJwXzVjYjQyMDgzYTA2NDNfMXF0OUFGbnoiLCJhcHBfaWQiOiJhcHBhTlFMZmt0SDM3MTcifQ" class="more qm">更多 <i class="iconfont icon-youjiantou"></i> </a>
</div> </div>
<div class="content"> <div class="content">
<div class="contentItem qm" ref="qmitem" v-for="item in qmList" @click="goLink(item.link,'qm')"> <div class="contentItem qm" ref="qmitem" v-for="item in qmList" @click="goLink(item.link,'qm')">
...@@ -408,7 +408,7 @@ export default { ...@@ -408,7 +408,7 @@ export default {
// console.log(this.$refs.qmitem) // console.log(this.$refs.qmitem)
this.$sa.quick('trackHeatMap',this.$refs.qmitem) this.$sa.quick('trackHeatMap',this.$refs.qmitem)
if(this.userCourse.is_free_course==1){ if(this.userCourse.is_free_course==1){
window.location.href = 'https://appaNQLfktH3717.h5.xiaoeknow.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjo4LCJyZXNvdXJjZV9pZCI6IiIsInByb2R1Y3RfaWQiOiJwXzVjYjQyMDgzYTA2NDNfMXF0OUFGbnoiLCJhcHBfaWQiOiJhcHBhTlFMZmt0SDM3MTcifQ' window.location.href = 'https://wx840a79781fa6f66d.h5.xiaoe-tech.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjo4LCJyZXNvdXJjZV9pZCI6IiIsInByb2R1Y3RfaWQiOiJwXzVjYjQyMDgzYTA2NDNfMXF0OUFGbnoiLCJhcHBfaWQiOiJhcHBhTlFMZmt0SDM3MTcifQ'
}else{ }else{
window.location.href = link window.location.href = link
} }
...@@ -688,7 +688,7 @@ export default { ...@@ -688,7 +688,7 @@ export default {
toHear(){ toHear(){
this.$sa.quick('trackHeatMap',this.$refs.med) this.$sa.quick('trackHeatMap',this.$refs.med)
// debugger // debugger
if(this.bannerData.active_start_at){ if(this.userCourse.is_free_course==1){
window.location.href='https://appaNQLfktH3717.h5.xiaoeknow.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjo4LCJyZXNvdXJjZV9pZCI6IiIsInByb2R1Y3RfaWQiOiJwXzVjYjQyMDgzYTA2NDNfMXF0OUFGbnoiLCJhcHBfaWQiOiJhcHBhTlFMZmt0SDM3MTcifQ' window.location.href='https://appaNQLfktH3717.h5.xiaoeknow.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjo4LCJyZXNvdXJjZV9pZCI6IiIsInByb2R1Y3RfaWQiOiJwXzVjYjQyMDgzYTA2NDNfMXF0OUFGbnoiLCJhcHBfaWQiOiJhcHBhTlFMZmt0SDM3MTcifQ'
}else{ }else{
this.$router.push({ name: "med" }); this.$router.push({ name: "med" });
......
...@@ -51,26 +51,26 @@ import audioPage from '../collection/audio' ...@@ -51,26 +51,26 @@ import audioPage from '../collection/audio'
this.getBannerListApi(); this.getBannerListApi();
}, },
methods:{ methods:{
getBannerListApi() { getBannerListApi() {
let json = { let json = {
limit: 999, limit: 999,
page: 1 page: 1
}; };
bannerListApi(2,json).then(res=>{ bannerListApi(2,json).then(res=>{
this.medList = res.list this.medList = res.list
this.showObj.audio = res.list this.showObj.audio = res.list
}) })
}, },
goMed(index){ goMed(index){
this.showObj.audioIndex = index; this.showObj.audioIndex = index;
this.showObj.show = true this.showObj.show = true
this.$refs.audioPage.onPlay() this.$refs.audioPage.onPlay()
this.$sa.quick('trackHeatMap',this.$refs.item) this.$sa.quick('trackHeatMap',this.$refs.item)
}, },
toOut(){ toOut(){
this.$sa.quick('trackHeatMap',this.$refs.btn) this.$sa.quick('trackHeatMap',this.$refs.btn)
window.location.href="https://wx840a79781fa6f66d.h5.xiaoe-tech.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjoiIiwicmVzb3VyY2VfaWQiOiIiLCJwcm9kdWN0X2lkIjoicF81YmExZTc4YTcxODAyX0w4QXZxcGZpIiwiYXBwX2lkIjoiYXBwYU5RTGZrdEgzNzE3In0" window.location.href="https://wx840a79781fa6f66d.h5.xiaoe-tech.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjoiIiwicmVzb3VyY2VfaWQiOiIiLCJwcm9kdWN0X2lkIjoicF81YmExZTc4YTcxODAyX0w4QXZxcGZpIiwiYXBwX2lkIjoiYXBwYU5RTGZrdEgzNzE3In0"
} }
} }
} }
</script> </script>
......
...@@ -431,6 +431,8 @@ ...@@ -431,6 +431,8 @@
lessonData.goodsID=this.goodsID; lessonData.goodsID=this.goodsID;
lessonData.classID=this.classID; lessonData.classID=this.classID;
lessonData.nowTime = Date.parse(new Date()); lessonData.nowTime = Date.parse(new Date());
lessonData.course_title =this.secActions.course_title
// console.log(lessonData)
localStorage.setItem('lessonDetail',JSON.stringify(lessonData)); localStorage.setItem('lessonDetail',JSON.stringify(lessonData));
// console.log(query) // console.log(query)
// debugger // debugger
......
...@@ -56,20 +56,22 @@ ...@@ -56,20 +56,22 @@
</div> </div>
</div> </div>
<div class="share_close" @click="$emit('closeShare')">×</div> <div class="share_close" @click="$emit('closeShare')">×</div>
<div class="tips" v-if="shareVisible" @click="shareVisible=false"> <div class="tips" v-if="shareVisible" >
<div class="closeBox" @click="shareVisible=false"></div>
<img :src="share_tips" /> <img :src="share_tips" />
<!-- <div class="pannel"> <div class="pannel">
<div class="pannel-container"> <div class="pannel-container">
<div class="pannel-header"> <div class="pannel-header">
<img src="../../assets/icon_copy.png" alt /> <img src="../../assets/icon_copy.png" alt />
<p>已为您复制分享文案,可直接粘贴啦!</p> <p>已为您复制分享文案,可直接粘贴啦!</p>
</div> </div>
<div class="pannel-main">我是XX,我正在参加唱唱启蒙英语我是XX,我正在参加唱唱启蒙英语</div> <div class="pannel-main">{{textContent}}</div>
<div class="pannel-footer"> <div class="pannel-footer">
<span @click="changeText"><img :src="icon_change" alt=""> 换一换</span> <span @click="changeText">
<img :src="icon_change" alt=""> 换一换</span>
</div> </div>
</div> </div>
</div> --> </div>
</div> </div>
</div> </div>
</template> </template>
...@@ -122,7 +124,8 @@ export default { ...@@ -122,7 +124,8 @@ export default {
saveTime:'', saveTime:'',
lastTime:'', lastTime:'',
icon_change:icon_change, icon_change:icon_change,
textIndex:1 textIndex:1,
textContent:''
}; };
}, },
props: ["contentData"], props: ["contentData"],
...@@ -142,10 +145,23 @@ export default { ...@@ -142,10 +145,23 @@ export default {
console.log(this.lesson.nowTime); console.log(this.lesson.nowTime);
}, },
methods: { methods: {
onCopy(){
Toast('复制成功')
},
changeText(){ changeText(){
if(this.textIndex==1){ if(this.textIndex==1){
this.textContent = `我是${this.userDetail.nickname},我家宝宝正在唱唱启蒙英语学习,已坚持${this.watchDetail.total_day}天啦,宝宝的英语一天比一天有进步了,成就感满满,继续坚持~`
this.textIndex = 2
}else if (this.textIndex==2) {
this.textContent = `陪宝宝在唱唱启蒙英语学习的第${this.watchDetail.total_day}天,宝宝又学会了一首新童谣${this.lesson.title},每天都有新收获,坚持就是胜利,练就英语小神童`
this.textIndex = 3
}else{
this.textContent = `我是${this.userDetail.nickname},我正在参加唱唱启蒙英语【${this.lesson.course_title}】打卡活动,打卡第${this.watchDetail.total_day}天,我坚持,我最棒!`
this.textIndex = 1
} }
this.$copyText(this.textContent).then(e=>{
Toast('复制成功')
})
}, },
showShare() { showShare() {
this.shareVisible = true; this.shareVisible = true;
...@@ -179,6 +195,9 @@ export default { ...@@ -179,6 +195,9 @@ export default {
partName: this.contentData.partName, partName: this.contentData.partName,
elementID: this.$route.query.elementId.toString() elementID: this.$route.query.elementId.toString()
}); });
this.$copyText(this.textContent).then(e=>{
Toast('复制成功')
})
}, },
initPage() { initPage() {
this.watchDetail = this.$store.state.watchDetail; this.watchDetail = this.$store.state.watchDetail;
...@@ -242,6 +261,7 @@ export default { ...@@ -242,6 +261,7 @@ export default {
}); });
} }
); );
this.textContent = `我是${this.userDetail.nickname},我正在参加唱唱启蒙英语【${this.lesson.course_title}】打卡活动,打卡第${this.watchDetail.total_day}天,我坚持,我最棒!`
// console.log(this.contentData) // console.log(this.contentData)
// debugger // debugger
}, },
...@@ -804,12 +824,20 @@ export default { ...@@ -804,12 +824,20 @@ export default {
img { img {
width: 80%; width: 80%;
} }
.closeBox{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
} }
.pannel { .pannel {
width: 616 * @tocurrentvw; width: 616 * @tocurrentvw;
height: 380 * @tocurrentvw; height: 380 * @tocurrentvw;
border-radius: 16 * @tocurrentvw; border-radius: 16 * @tocurrentvw;
position: fixed; position: fixed;
z-index: 2;
bottom: 180 * @tocurrentvw; bottom: 180 * @tocurrentvw;
left: 67 * @tocurrentvw; left: 67 * @tocurrentvw;
border: 2 * @tocurrentvw dashed #fff; border: 2 * @tocurrentvw dashed #fff;
......
This diff is collapsed.
...@@ -40,9 +40,9 @@ Vue.component('scroll', scroll); ...@@ -40,9 +40,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 */
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()
......
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