528

parent 4778fc6d
...@@ -6,4 +6,4 @@ ...@@ -6,4 +6,4 @@
overflow: hidden; overflow: hidden;
position: fixed; position: fixed;
background: #f4f4f4; 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 type=text/javascript src=static/js/manifest.7b12876143334d6575e7.js></script><script type=text/javascript src=static/js/vendor.08bb4c1de1fdf5bf85a2.js></script><script type=text/javascript src=static/js/app.3d7039d8386d54da66a9.js></script></body></html> }</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 type=text/javascript src=static/js/manifest.2d38ade03b61c5c111fa.js></script><script type=text/javascript src=static/js/vendor.08bb4c1de1fdf5bf85a2.js></script><script type=text/javascript src=static/js/app.7e6f4260a69f0a149a9d.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.
webpackJsonp([27],{"6IIy":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("CCn6"),s=t("/Bxx"),a=t.n(s),r={name:"shareConfig",data:function(){return{desc:"赠你1元领取价值398元课程特权,和我一起快乐启蒙英语吧",shareUrl:a.a,title:"我家宝宝正在【唱唱启蒙英语】挑战童谣,已坚持1天",link:window.location.href.split("#")[0],shareVisible:!1}},methods:{enableShare:function(n){Object(i.H)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(e){wx.config({debug:!1,appId:e.appId,timestamp:parseInt(e.timestamp),nonceStr:e.nonceStr,signature:e.signature,jsApiList:e.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:n.product_title,desc:n.desc,link:n.shareUrl,imgUrl:n.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:n.product_title,desc:n.desc,link:n.shareUrl,imgUrl:n.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})},sharePage:function(){this.enableShare({product_title:this.title,desc:this.desc,shareIcon:"https://cdn.singsingenglish.com/logo/logo.jpg",shareUrl:this.link}),this.shareVisible=!0}}},l=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("mt-popup",{staticClass:"refer-share",staticStyle:{background:"transparent"},attrs:{position:"top"},model:{value:n.shareVisible,callback:function(e){n.shareVisible=e},expression:"shareVisible"}},[t("img",{staticStyle:{width:"80vw"},attrs:{src:n.shareUrl}})]),n._v(" "),t("div",{staticStyle:{padding:"10px"}},[t("mt-field",{attrs:{label:"分享标题",type:"textarea",placeholder:"请输入分享标题",rows:"4"},model:{value:n.title,callback:function(e){n.title=e},expression:"title"}}),n._v(" "),t("mt-field",{attrs:{label:"分享链接",type:"textarea",placeholder:"请输入分享链接",rows:"4"},model:{value:n.link,callback:function(e){n.link=e},expression:"link"}}),n._v(" "),t("mt-field",{attrs:{label:"分享描述",type:"textarea",placeholder:"请输入分享描述",rows:"4"},model:{value:n.desc,callback:function(e){n.desc=e},expression:"desc"}}),n._v(" "),t("div",{staticStyle:{width:"calc(100vw - 20px)",margin:"0"}},[t("mt-button",{attrs:{type:"primary",size:"large"},on:{click:function(e){n.sharePage()}}},[n._v("分享")])],1)],1)],1)};l._withStripped=!0;var o={render:l,staticRenderFns:[]},c=o;var p=!1;var d=t("VU/8")(r,c,!1,function(n){p||t("oiC4")},"data-v-fe968cbe",null);d.options.__file="src/components/shareConfig.vue";e.default=d.exports},oiC4:function(n,e,t){var i=t("xc6X");"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);t("rjj0")("1a2c0be4",i,!1,{})},xc6X:function(n,e,t){(n.exports=t("FZ+f")(!0)).push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","",{version:3,sources:[],names:[],mappings:"",file:"shareConfig.vue",sourceRoot:""}])}}); webpackJsonp([27],{"6IIy":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("CCn6"),s=t("/Bxx"),a=t.n(s),r={name:"shareConfig",data:function(){return{desc:"赠你1元领取价值398元课程特权,和我一起快乐启蒙英语吧",shareUrl:a.a,title:"我家宝宝正在【唱唱启蒙英语】挑战童谣,已坚持1天",link:window.location.href.split("#")[0],shareVisible:!1}},methods:{enableShare:function(n){Object(i.J)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(e){wx.config({debug:!1,appId:e.appId,timestamp:parseInt(e.timestamp),nonceStr:e.nonceStr,signature:e.signature,jsApiList:e.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:n.product_title,desc:n.desc,link:n.shareUrl,imgUrl:n.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:n.product_title,desc:n.desc,link:n.shareUrl,imgUrl:n.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})},sharePage:function(){this.enableShare({product_title:this.title,desc:this.desc,shareIcon:"https://cdn.singsingenglish.com/logo/logo.jpg",shareUrl:this.link}),this.shareVisible=!0}}},l=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("mt-popup",{staticClass:"refer-share",staticStyle:{background:"transparent"},attrs:{position:"top"},model:{value:n.shareVisible,callback:function(e){n.shareVisible=e},expression:"shareVisible"}},[t("img",{staticStyle:{width:"80vw"},attrs:{src:n.shareUrl}})]),n._v(" "),t("div",{staticStyle:{padding:"10px"}},[t("mt-field",{attrs:{label:"分享标题",type:"textarea",placeholder:"请输入分享标题",rows:"4"},model:{value:n.title,callback:function(e){n.title=e},expression:"title"}}),n._v(" "),t("mt-field",{attrs:{label:"分享链接",type:"textarea",placeholder:"请输入分享链接",rows:"4"},model:{value:n.link,callback:function(e){n.link=e},expression:"link"}}),n._v(" "),t("mt-field",{attrs:{label:"分享描述",type:"textarea",placeholder:"请输入分享描述",rows:"4"},model:{value:n.desc,callback:function(e){n.desc=e},expression:"desc"}}),n._v(" "),t("div",{staticStyle:{width:"calc(100vw - 20px)",margin:"0"}},[t("mt-button",{attrs:{type:"primary",size:"large"},on:{click:function(e){n.sharePage()}}},[n._v("分享")])],1)],1)],1)};l._withStripped=!0;var o={render:l,staticRenderFns:[]},c=o;var p=!1;var d=t("VU/8")(r,c,!1,function(n){p||t("oiC4")},"data-v-fe968cbe",null);d.options.__file="src/components/shareConfig.vue";e.default=d.exports},oiC4:function(n,e,t){var i=t("xc6X");"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);t("rjj0")("1a2c0be4",i,!1,{})},xc6X:function(n,e,t){(n.exports=t("FZ+f")(!0)).push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","",{version:3,sources:[],names:[],mappings:"",file:"shareConfig.vue",sourceRoot:""}])}});
\ No newline at end of file \ No newline at end of file
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,t,r){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],f[d]&&u.push(f[d][0]),f[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=n(n.s=r[i]);return b};var a={},f={37:0};function n(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,n),f.l=!0,f.exports}n.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,n){c=f[e]=[a,n]});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,n.nc&&r.setAttribute("nonce",n.nc),r.src=n.p+"static/js/"+e+"."+{0:"7227f8aff90cfa4b3699",1:"670ba2046b9510c75b87",2:"57099b20c06249ddcc92",3:"9ca7fe0c5073f8dc2af9",4:"4f4aede36d6c1fa1f22f",5:"485e406d50cdf8fc041c",6:"10ae80040680b6cfc193",7:"afb61e36d4a5379344bf",8:"243a313ed4046213bb23",9:"eba6722d2cb9aa6f8aa5",10:"37204fff3dd422732e40",11:"978d60fae22cf1c47551",12:"cb84c6e578b42795f43c",13:"04965f3ef596fbdbee30",14:"82202f9af89c66e4d4f2",15:"522d2aeadaa6bb97d383",16:"1ef414ecd4e3f7bfd385",17:"7004e6775fbc728b1d25",18:"e9f53d207704da651e48",19:"ac32a49a3977ce0cc643",20:"b8bb5e9b14ad9dfc8fad",21:"cb2b97fc714bdcd2f07a",22:"964c993a7356bcfa01e6",23:"d282f34e1b28f8ce11fd",24:"fbe3f466a29f24d00c64",25:"d429bc5ba83c224ab63e",26:"2138774693d718f2b177",27:"10a0bec8970d3e10e5ea",28:"d3c1b4f0d34d6dc70a99",29:"5eb22c35c02f79a3e2cc",30:"1a675b9e47ee56e51498",31:"9168fa3c29a048ed4427",32:"e2baac97c2f4a3ba23fe",33:"3193786c3e35538f2e0e",34:"144961bc4682313b909e"}[e]+".js";var o=setTimeout(d,12e4);function d(){r.onerror=r.onload=null,clearTimeout(o);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=d,t.appendChild(r),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="https://static-cdn.changchangenglish.com/new-sing/",n.oe=function(e){throw e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,r){for(var d,o,b,i=0,u=[];i<a.length;i++)o=a[i],f[o]&&u.push(f[o][0]),f[o]=0;for(d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d]);for(c&&c(a,t,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=n(n.s=r[i]);return b};var a={},f={37:0};function n(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,n),f.l=!0,f.exports}n.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,n){c=f[e]=[a,n]});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,n.nc&&r.setAttribute("nonce",n.nc),r.src=n.p+"static/js/"+e+"."+{0:"6dba0be53195bd75be3a",1:"6ff8440f9771231994b2",2:"d95310ee57d57b494d34",3:"a56b1a5c2cc8d110d7f8",4:"de10c4a8095bd0f70d8c",5:"797457be5cbcb553a009",6:"73ec98cd123abe948ff9",7:"f0b51ad3e69e61510fb0",8:"8a48f588f55c505ace5c",9:"b4834867d78c73a11422",10:"c5c5f03364911f9506aa",11:"fcf17f1ca0a8587a7b14",12:"31f9cfd4a7de3fdc03b8",13:"370318c3932538876cc0",14:"8925ae8a9b91e846801f",15:"6dc965f957595f755035",16:"0aaed0b1919402be0f1e",17:"5b978dea0f37585c3144",18:"7f42e29a417a80839d61",19:"76f2193dfe60037ffaef",20:"e79312d82116eb961807",21:"c0dcbc48688fe7d4492b",22:"5711cb64898166468a42",23:"0208ceb92037bb32744b",24:"98d4c624a7d26c602c5c",25:"d4b67067b70fa013a9b2",26:"0dcd222d813e24c1c38a",27:"e1627b0fe6ee1281331b",28:"74ad25d2862435f1ed7b",29:"5cbdfdcf0859e7be0f3e",30:"67fa6fd41cad092b53e4",31:"a7c72259135a1a3ccf2d",32:"17e2d490f4d6ad5991f6",33:"2bd21632d6a1f40bb2fc",34:"8b89d32c134f24882103"}[e]+".js";var d=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(d);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=o,t.appendChild(r),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="",n.oe=function(e){throw e}}([]);
\ No newline at end of file \ 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.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
padding: auto; padding: auto;
} }
.child-view { .child-view {
position: relative; /* position: relative; */
min-height: 100vh; min-height: 100vh;
width: 100%; width: 100%;
transition: all .5s; transition: all .5s;
......
...@@ -55,7 +55,7 @@ import lydialog from "../../assets/activity/lydialog.png"; ...@@ -55,7 +55,7 @@ import lydialog from "../../assets/activity/lydialog.png";
import imgLight from "../../assets/activity/light@2x.png"; import imgLight from "../../assets/activity/light@2x.png";
import imgLight2 from "../../assets/activity/light2@2x.png"; import imgLight2 from "../../assets/activity/light2@2x.png";
import { getUserIntegralApi, getUserIntegralListApi,getCourseInfoApi } from "../../service/api"; import { getCourseInfoApi,getLuckDrawApi,getLuckDrawStatusApi } from "../../service/api";
import { Notify,Popup} from "vant"; import { Notify,Popup} from "vant";
export default { export default {
name: "index", name: "index",
...@@ -102,12 +102,24 @@ export default { ...@@ -102,12 +102,24 @@ export default {
this.userCourse = res this.userCourse = res
localStorage.setItem('userCourse',JSON.stringify(this.userCourse)); localStorage.setItem('userCourse',JSON.stringify(this.userCourse));
}) })
getLuckDrawStatusApi().then(res =>{
console.log(res)
if(res.times==2){
this.pointStatus = 1
}else if(res.times==1){
this.pointStatus = 4
}else{
this.pointStatus = 3
}
})
console.log(JSON.parse(localStorage.getItem('userCourse'))) console.log(JSON.parse(localStorage.getItem('userCourse')))
this.userCourse = JSON.parse(localStorage.getItem('userCourse')) this.userCourse = JSON.parse(localStorage.getItem('userCourse'))
}, },
begin(){ begin(){
this.playFlag = true this.playFlag = true
let that = this let that = this
getLuckDrawApi().then(res=>{
})
this.pointStatus = '2' this.pointStatus = '2'
let lightBegin = setInterval(() => { let lightBegin = setInterval(() => {
this.light = !this.light this.light = !this.light
...@@ -125,6 +137,8 @@ export default { ...@@ -125,6 +137,8 @@ export default {
secBegin(){ secBegin(){
this.playFlag3 = true this.playFlag3 = true
let that = this let that = this
getLuckDrawApi().then(res=>{
})
this.pointStatus = '2' this.pointStatus = '2'
let lightBegin = setInterval(() => { let lightBegin = setInterval(() => {
this.light = !this.light this.light = !this.light
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<script> <script>
import { Toast } from 'vant'; import { Toast } from 'vant';
// import { Toast } from 'vant';
import { sendMobileCodeApi,bindMobileApi,getUserDetailApi } from "../../service/api"; import { sendMobileCodeApi,bindMobileApi,getUserDetailApi } from "../../service/api";
export default { export default {
......
This diff is collapsed.
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
imgUrl:shareTime, imgUrl:shareTime,
imgList:[], imgList:[],
dataURL:'', dataURL:'',
count:11 count:0
} }
}, },
created(){ created(){
......
This diff is collapsed.
...@@ -13,7 +13,7 @@ axios.defaults.baseURL =''; ...@@ -13,7 +13,7 @@ axios.defaults.baseURL ='';
axios.interceptors.request.use( axios.interceptors.request.use(
config => { config => {
// 获取token // 获取token
let versiontime = '201905272050' let versiontime = '201905281100'
const token = localStorage.getItem('cc_token'); const token = localStorage.getItem('cc_token');
// 设置参数格式 // 设置参数格式
if(!config.headers['Content-Type']){ if(!config.headers['Content-Type']){
......
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