Commit 38f6aa5b authored by wangwei's avatar wangwei

购买 埋点修改

parent 40b11828
<!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>.mint-toast{
z-index: 10001 !important;
}</style><link href=static/css/app.9f631d4069047acf4ee994f5d9f958c3.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.9d2c9ca2c88e88965254.js></script><script type=text/javascript src=static/js/vendor.f7071ab144d47917b1ae.js></script><script type=text/javascript src=static/js/app.9ddef99860affb704a4f.js></script></body></html>
\ No newline at end of file
}</style><link href=static/css/app.9f631d4069047acf4ee994f5d9f958c3.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.91f9156908a576399c3d.js></script><script type=text/javascript src=static/js/vendor.f7071ab144d47917b1ae.js></script><script type=text/javascript src=static/js/app.9ddef99860affb704a4f.js></script></body></html>
\ 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 n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var d,f,b,i=0,u=[];i<r.length;i++)f=r[i],t[f]&&u.push(t[f][0]),t[f]=0;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&(e[d]=a[d]);for(n&&n(r,a,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=c(c.s=o[i]);return b};var r={},t={27:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"dd7a4a4d6f66f918b161",1:"b2eb1ec9d8299221df56",2:"fa22829657cbd48b57a2",3:"472102569d5fbabfb1de",4:"a2682c6e31a37fe605de",5:"a37b9ee5517eca783c3e",6:"07a4435c809c25d52449",7:"e043269665108f9e9ccf",8:"96249bf4f90b6f353038",9:"44c210d2092c3697c18d",10:"298db4fd1170dce93029",11:"d1805b183f4d4f3442ae",12:"b11997c15c7db06080fa",13:"6d70586cdd12c8eeaed6",14:"1148391e7d226d6066c6",15:"0ba19a6db1bf129f5208",16:"51999ddf6c7a6d54de89",17:"df3e2da1a421c147caa2",18:"01e443c19e4b3a3b7a9e",19:"dc2614b3ca5a489beffa",20:"dcf6fb4d43664f468070",21:"611f6b0e632e903d111b",22:"fd1d479796f391b122b0",23:"5339ec0eda272fc1180d",24:"63c6299b0fb80ca9398d"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=f,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.9d2c9ca2c88e88965254.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var d,f,i,u=0,b=[];u<r.length;u++)f=r[u],t[f]&&b.push(t[f][0]),t[f]=0;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&(e[d]=a[d]);for(n&&n(r,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=c(c.s=o[u]);return i};var r={},t={27:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"dd7a4a4d6f66f918b161",1:"b2eb1ec9d8299221df56",2:"fa22829657cbd48b57a2",3:"472102569d5fbabfb1de",4:"a2682c6e31a37fe605de",5:"a37b9ee5517eca783c3e",6:"07a4435c809c25d52449",7:"e043269665108f9e9ccf",8:"7d44fad1680950d15a64",9:"44c210d2092c3697c18d",10:"298db4fd1170dce93029",11:"d1805b183f4d4f3442ae",12:"b11997c15c7db06080fa",13:"6d70586cdd12c8eeaed6",14:"1148391e7d226d6066c6",15:"0ba19a6db1bf129f5208",16:"51999ddf6c7a6d54de89",17:"df3e2da1a421c147caa2",18:"01e443c19e4b3a3b7a9e",19:"dc2614b3ca5a489beffa",20:"dcf6fb4d43664f468070",21:"611f6b0e632e903d111b",22:"fd1d479796f391b122b0",23:"5339ec0eda272fc1180d",24:"63c6299b0fb80ca9398d"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=f,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.91f9156908a576399c3d.js.map
\ No newline at end of file
......@@ -3,4 +3,4 @@
}
.mint-toast{
z-index: 10001 !important;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.582ebee76a5d6d49cf76917a4003cbf9.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.6e63d041644edb57bdb9.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.5aef421a70d4d5e6a4f6.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.4787380ace3bda0eb536.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.41aabc7cf1589b4875903ffe45867952.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.9432a8c66b7499d258d9.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.5aef421a70d4d5e6a4f6.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.4787380ace3bda0eb536.js></script></body></html>
\ No newline at end of file
webpackJsonp([8],{"/EOP":function(e,t){},"54Ry":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i("mvHQ"),s=i.n(o),a=i("rYr/"),n=i.n(a),l=i("LyMh"),c=i.n(l),r=i("CCn6"),d={name:"shareGoods",components:{loginPage:i("WIsT").a},data:function(){return{shareGoodsBg:n.a,title_share_goods:c.a,userDetail:null,bindMobile:{show:!1,mobile:"",img_code:"",verify_code:""},shopId:null,goodsDetail:null,lastTime:localStorage.getItem("lastTimeShare")?JSON.parse(localStorage.getItem("lastTimeShare")):{day:0,hour:8,min:0,second:0}}},methods:{lastTimeOut:function(){0===this.lastTime.second?(this.lastTime.second=59,0===this.lastTime.min?(this.lastTime.min=59,0===this.lastTime.hour?this.lastTime.hour=8:this.lastTime.hour--):this.lastTime.min--):this.lastTime.second--,localStorage.setItem("lastTimeShare",s()(this.lastTime))},initPage:function(){var e=this;this.$sa.track("ViewInvitation",{salesID:this.$route.query.userID}),Object(r.s)(this.$route.query.userID).then(function(t){t.user_info.avatar=t.user_info.avatar.replace("http://","https://"),e.userDetail=t}),Object(r.u)().then(function(t){e.shopId=t[0].value,Object(r.h)(e.shopId).then(function(t){t.desc=JSON.parse(t.desc),t.goods_desc=JSON.parse(t.goods_desc),e.goodsDetail=t})})},goToBuyPage:function(){window.location.href="https://wechat.changchangenglish.com/#/buy?shopId="+this.shopId+"&invite_code=CC-UDK-"+this.$route.query.userID},toBuy:function(e){1===e?this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名1"}):this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名2"}),JSON.parse(localStorage.getItem("userDesc")).mobile&&""!==JSON.parse(localStorage.getItem("userDesc")).mobile?this.goToBuyPage():(this.bindMobile.show=!0,this.$sa.track("ViewRegisterpage",{}))}},mounted:function(){var e=this;this.initPage(),setInterval(function(){e.lastTimeOut()},1e3),window.onscroll=function(){var t=document.documentElement.scrollTop||document.body.scrollTop;e.$refs.btn_block&&(e.$refs.btn_block.style.opacity=t>500?1:0)}}},b={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.userDetail?i("div",{staticClass:"share-good-head",style:{backgroundImage:"url('"+e.shareGoodsBg+"')"}},[i("img",{staticClass:"head",attrs:{src:e.userDetail.user_info.avatar}}),e._v(" "),i("div",{staticClass:"title",style:{backgroundImage:"url('"+e.title_share_goods+"')"}},[e._v("\n "+e._s(e.userDetail.user_info.nickname)+"\n ")]),e._v(" "),i("div",{staticClass:"day"},[e._v("\n "+e._s(e.userDetail.total_day)+"\n "),i("span",[e._v("\n Days\n ")])]),e._v(" "),i("div",{staticClass:"iknow",on:{click:function(t){e.toBuy(1)}}})]):e._e(),e._v(" "),e.goodsDetail?i("div",{staticClass:"good-content"},[i("div",{staticClass:"content",domProps:{innerHTML:e._s(e.goodsDetail.desc.detail)}}),e._v(" "),i("div",{ref:"btn_block",staticClass:"btn-block"},[i("div",{staticClass:"lastTime"},[e._v("\n 优惠倒计时 "+e._s(e.lastTime.day)+" 天 "+e._s(e.lastTime.hour)+" 时 "+e._s(e.lastTime.min)+" 分 "+e._s(e.lastTime.second)+" 秒\n ")]),e._v(" "),i("div",{staticClass:"btn",on:{click:function(t){e.toBuy(2)}}},[e._v("\n 正在疯抢 · 超值VIP课程\n ")])])]):e._e(),e._v(" "),e.goodsDetail?i("login-page",{attrs:{"bind-mobile":e.bindMobile,groupDetail:e.goodsDetail},on:{goToBuyPage:e.goToBuyPage}}):e._e()],1)},staticRenderFns:[]};var u=i("VU/8")(d,b,!1,function(e){i("ksLx"),i("/EOP")},"data-v-20429374",null);t.default=u.exports},LyMh:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAABsBAMAAAALV69cAAAAIVBMVEVHcEwAYkwFl3cFlnYFi2wFl3cFl3cFmHcAYUwGl3cDgWVH8oeMAAAACXRSTlMA/sJIJ+KQaa8h3je6AAACZElEQVR42u2cPUsDQRCGFz0/UooWJlUgUUh3ChbpoiCaLqgp0omNXJdChHQK/oDcp2y6lOZX6iYEIniTmxSy8+69/cE+zM7szOzcKpUr7/VkoCUovXvuqA203dJyFPl8QE8S4A8i34oXWpbu2XtUSxN3n16LI3xgErbEEUbom5S7TbcEEtZZhF2BhAmLcCSQ8JNFGAgkzMBDKTeYDgQSpiXhL2mJKglLwpLQasKbp77GU//0ZQl4rlHVWABeaVw1DeCeRtZQaJLNSsexTWiMuANO2FNtcMJYZDXPq/wDcMKsJAQgxPdD/FjaBSdMVAWccCzyhoKjugN56TY4oS+z+VtcqQv1IfhxYS4VsQvEnhN9GgVNKPa+lxNoFHTunYidLCmes0mdDmJkNFLHEoppObyA64ix4BEvjhsiO6IveT6I44a4jhiLnrXkuCGuI/rCRy8Kpt3IoSYSPk5atLCQOxK8XqtDw5jHRewUIf4uxSfEj6X45yF8ToPaFB46VFvg14fwNT5+nwa/19aGJYyVIz1v/HsL/LunLjBh4sgdsEaWG//MYA8n1p2YiQqgCTPlwGyip7HVUbvghI8OzHlXwAnHDvxREoATZsDlryuEKfiBbwg1uhwgzN+l4exLCMRkViV2aX6kmRzMtdHzrv8mb7HIfFtE1Hk4Nd8eK7v1bhZZo04LIqcJzceHlhOemUVWqZyGyrzNx2+WE+6bRZKZN9XxDq13w4UjEiY0Xe+RpmLNkbJdl1ScmU+cUEacWm9CY8QabULyFaXwQ9mvW2KTNte9hNVQElRg/X+/ZrbyGpjlItf/DUICuUSCELZjAAAAAElFTkSuQmCC"},WIsT:function(e,t,i){"use strict";var o=i("mvHQ"),s=i.n(o),a=i("Au9i"),n=i("CCn6"),l={name:"login",props:["bindMobile","groupDetail"],data:function(){return{time:0,payFlag:!0}},methods:{onBindMobile:function(){var e=this;if(this.$sa.track("clickSignUp",{}),this.payFlag){if(this.payFlag=!1,""===this.bindMobile.verify_code||!this.bindMobile.verify_code)return Object(a.Toast)("请填写手机验证码"),!1;var t={verify_code:this.bindMobile.verify_code};if(!this.bindMobile.mobile.match(/^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/))return Object(a.Toast)("请正确填写手机号"),!1;t.mobile=this.bindMobile.mobile,Object(n.c)(t).then(function(t){Object(n.A)().then(function(t){localStorage.setItem("userDesc",s()(t)),e.payFlag=!0,e.$emit("goToBuyPage")}).catch(function(t){e.refImgCode(),e.payFlag=!0})}).catch(function(t){e.refImgCode(),e.payFlag=!0})}},refImgCode:function(){this.$refs.imgCode.src="/api/public/img/verify?flag="+Math.random()},timeO:function(){var e=this;this.time>0&&(this.time--,setTimeout(function(){e.timeO()},1e3))},sendMobileCode:function(){var e=this;if(""===this.bindMobile.img_code||!this.bindMobile.img_code)return Object(a.Toast)({message:"请填写图形验证码"}),!1;var t={img_code:this.bindMobile.img_code};if(!this.bindMobile.mobile.match(/^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/))return Object(a.Toast)("请正确填写手机号"),!1;t.mobile=this.bindMobile.mobile,this.time=30,this.timeO(),this.$sa.track("clickSendcode",{}),Object(n.I)(t).then(function(t){"操作成功"===t?Object(a.Toast)("验证码已发送"):(e.time=0,e.refImgCode(),Object(a.Toast)(t))}).catch(function(t){e.refImgCode()})}}},c={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("mt-popup",{staticClass:"bindMobile-block",attrs:{position:"bottom"},model:{value:e.bindMobile.show,callback:function(t){e.$set(e.bindMobile,"show",t)},expression:"bindMobile.show"}},[i("div",{staticClass:"bindMobile-main"},[i("img",{staticClass:"header",attrs:{src:e.groupDetail.goods_desc.img[0].url}}),e._v(" "),i("div",{staticClass:"title"},[e._v("\n "+e._s(e.groupDetail.name)+"\n "),i("br"),e._v(" "),0!==e.bindMobile.flag?i("span",{staticStyle:{color:"red","font-weight":"normal"}},[e._v("¥"+e._s((e.groupDetail.current_price/100).toFixed(2)))]):e._e(),e._v(" "),0===e.bindMobile.flag?i("span",{staticStyle:{color:"red","font-weight":"normal"}},[e._v("¥"+e._s((e.groupDetail.original_price/100).toFixed(2)))]):e._e()]),e._v(" "),i("mt-field",{staticStyle:{"font-size":"14px"},attrs:{label:"手机号",placeholder:"请输入手机号"},model:{value:e.bindMobile.mobile,callback:function(t){e.$set(e.bindMobile,"mobile",t)},expression:"bindMobile.mobile"}}),e._v(" "),i("mt-field",{attrs:{label:"图片验证",placeholder:"请输入验证码"},model:{value:e.bindMobile.img_code,callback:function(t){e.$set(e.bindMobile,"img_code",t)},expression:"bindMobile.img_code"}},[i("img",{ref:"imgCode",staticClass:"right-btn",staticStyle:{width:"35vw","margin-left":"5px"},attrs:{src:"/api/public/img/verify"},on:{click:e.refImgCode}})]),e._v(" "),i("mt-field",{attrs:{label:"短信验证",placeholder:"短信验证码",attr:{maxlength:6}},model:{value:e.bindMobile.verify_code,callback:function(t){e.$set(e.bindMobile,"verify_code",t)},expression:"bindMobile.verify_code"}},[0===e.time?i("button",{staticClass:"codeMsg right-btn",on:{click:e.sendMobileCode}},[e._v("发送验证码")]):e._e(),e._v(" "),e.time>0?i("button",{staticClass:"codeMsg disabled right-btn"},[e._v(e._s(e.time)+"s后重新发送")]):e._e()]),e._v(" "),i("mt-button",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{type:"danger"},on:{click:e.onBindMobile}},[e._v("下一步")])],1)])},staticRenderFns:[]};var r=i("VU/8")(l,c,!1,function(e){i("m/UN")},"data-v-4b2ea84d",null);t.a=r.exports},ksLx:function(e,t){},"m/UN":function(e,t){},"rYr/":function(e,t,i){e.exports=i.p+"static/img/shareGoodsBg3.ab32fc9.png"}});
//# sourceMappingURL=8.6ddb234d0d98e5b4570a.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([8],{"54Ry":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i("mvHQ"),s=i.n(o),a=i("rYr/"),n=i.n(a),l=i("LyMh"),c=i.n(l),r=i("CCn6"),d={name:"shareGoods",components:{loginPage:i("WIsT").a},data:function(){return{shareGoodsBg:n.a,title_share_goods:c.a,userDetail:null,bindMobile:{show:!1,mobile:"",img_code:"",verify_code:""},shopId:null,goodsDetail:null,lastTime:localStorage.getItem("lastTimeShare")?JSON.parse(localStorage.getItem("lastTimeShare")):{day:0,hour:8,min:0,second:0}}},methods:{lastTimeOut:function(){0===this.lastTime.second?(this.lastTime.second=59,0===this.lastTime.min?(this.lastTime.min=59,0===this.lastTime.hour?this.lastTime.hour=8:this.lastTime.hour--):this.lastTime.min--):this.lastTime.second--,localStorage.setItem("lastTimeShare",s()(this.lastTime))},initPage:function(){var e=this;this.$sa.track("ViewInvitation",{salesID:this.$route.query.userID}),Object(r.s)(this.$route.query.userID).then(function(t){t.user_info.avatar=t.user_info.avatar.replace("http://","https://"),e.userDetail=t}),Object(r.u)().then(function(t){e.shopId=t[0].value,Object(r.h)(e.shopId).then(function(t){t.desc=JSON.parse(t.desc),t.goods_desc=JSON.parse(t.goods_desc),e.goodsDetail=t})})},goToBuyPage:function(){window.location.href="https://wechat.changchangenglish.com/#/buy?shopId="+this.shopId+"&invite_code=CC-UDK-"+this.$route.query.userID},toBuy:function(e){1===e?this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名1"}):this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名2"}),JSON.parse(localStorage.getItem("userDesc")).mobile&&""!==JSON.parse(localStorage.getItem("userDesc")).mobile?this.goToBuyPage():this.bindMobile.show=!0}},mounted:function(){var e=this;this.initPage(),setInterval(function(){e.lastTimeOut()},1e3),window.onscroll=function(){var t=document.documentElement.scrollTop||document.body.scrollTop;e.$refs.btn_block&&(e.$refs.btn_block.style.opacity=t>500?1:0)}}},b={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.userDetail?i("div",{staticClass:"share-good-head",style:{backgroundImage:"url('"+e.shareGoodsBg+"')"}},[i("img",{staticClass:"head",attrs:{src:e.userDetail.user_info.avatar}}),e._v(" "),i("div",{staticClass:"title",style:{backgroundImage:"url('"+e.title_share_goods+"')"}},[e._v("\n "+e._s(e.userDetail.user_info.nickname)+"\n ")]),e._v(" "),i("div",{staticClass:"day"},[e._v("\n "+e._s(e.userDetail.total_day)+"\n "),i("span",[e._v("\n Days\n ")])]),e._v(" "),i("div",{staticClass:"iknow",on:{click:function(t){e.toBuy(1)}}})]):e._e(),e._v(" "),e.goodsDetail?i("div",{staticClass:"good-content"},[i("div",{staticClass:"content",domProps:{innerHTML:e._s(e.goodsDetail.desc.detail)}}),e._v(" "),i("div",{ref:"btn_block",staticClass:"btn-block"},[i("div",{staticClass:"lastTime"},[e._v("\n 优惠倒计时 "+e._s(e.lastTime.day)+" 天 "+e._s(e.lastTime.hour)+" 时 "+e._s(e.lastTime.min)+" 分 "+e._s(e.lastTime.second)+" 秒\n ")]),e._v(" "),i("div",{staticClass:"btn",on:{click:function(t){e.toBuy(2)}}},[e._v("\n 正在疯抢 · 超值VIP课程\n ")])])]):e._e(),e._v(" "),e.goodsDetail?i("login-page",{attrs:{"bind-mobile":e.bindMobile,groupDetail:e.goodsDetail},on:{goToBuyPage:e.goToBuyPage}}):e._e()],1)},staticRenderFns:[]};var u=i("VU/8")(d,b,!1,function(e){i("u93U"),i("MBFh")},"data-v-27eb4f5e",null);t.default=u.exports},LyMh:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAABsBAMAAAALV69cAAAAIVBMVEVHcEwAYkwFl3cFlnYFi2wFl3cFl3cFmHcAYUwGl3cDgWVH8oeMAAAACXRSTlMA/sJIJ+KQaa8h3je6AAACZElEQVR42u2cPUsDQRCGFz0/UooWJlUgUUh3ChbpoiCaLqgp0omNXJdChHQK/oDcp2y6lOZX6iYEIniTmxSy8+69/cE+zM7szOzcKpUr7/VkoCUovXvuqA203dJyFPl8QE8S4A8i34oXWpbu2XtUSxN3n16LI3xgErbEEUbom5S7TbcEEtZZhF2BhAmLcCSQ8JNFGAgkzMBDKTeYDgQSpiXhL2mJKglLwpLQasKbp77GU//0ZQl4rlHVWABeaVw1DeCeRtZQaJLNSsexTWiMuANO2FNtcMJYZDXPq/wDcMKsJAQgxPdD/FjaBSdMVAWccCzyhoKjugN56TY4oS+z+VtcqQv1IfhxYS4VsQvEnhN9GgVNKPa+lxNoFHTunYidLCmes0mdDmJkNFLHEoppObyA64ix4BEvjhsiO6IveT6I44a4jhiLnrXkuCGuI/rCRy8Kpt3IoSYSPk5atLCQOxK8XqtDw5jHRewUIf4uxSfEj6X45yF8ToPaFB46VFvg14fwNT5+nwa/19aGJYyVIz1v/HsL/LunLjBh4sgdsEaWG//MYA8n1p2YiQqgCTPlwGyip7HVUbvghI8OzHlXwAnHDvxREoATZsDlryuEKfiBbwg1uhwgzN+l4exLCMRkViV2aX6kmRzMtdHzrv8mb7HIfFtE1Hk4Nd8eK7v1bhZZo04LIqcJzceHlhOemUVWqZyGyrzNx2+WE+6bRZKZN9XxDq13w4UjEiY0Xe+RpmLNkbJdl1ScmU+cUEacWm9CY8QabULyFaXwQ9mvW2KTNte9hNVQElRg/X+/ZrbyGpjlItf/DUICuUSCELZjAAAAAElFTkSuQmCC"},MBFh:function(e,t){},WIsT:function(e,t,i){"use strict";var o=i("mvHQ"),s=i.n(o),a=i("Au9i"),n=i("CCn6"),l={name:"login",props:["bindMobile","groupDetail"],data:function(){return{time:0,payFlag:!0}},methods:{onBindMobile:function(){var e=this;if(this.$sa.track("clickSignUp",{}),this.payFlag){if(this.payFlag=!1,""===this.bindMobile.verify_code||!this.bindMobile.verify_code)return Object(a.Toast)("请填写手机验证码"),!1;var t={verify_code:this.bindMobile.verify_code};if(!this.bindMobile.mobile.match(/^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/))return Object(a.Toast)("请正确填写手机号"),!1;t.mobile=this.bindMobile.mobile,Object(n.c)(t).then(function(t){Object(n.A)().then(function(t){localStorage.setItem("userDesc",s()(t)),e.payFlag=!0,e.$emit("goToBuyPage")}).catch(function(t){e.refImgCode(),e.payFlag=!0})}).catch(function(t){e.refImgCode(),e.payFlag=!0})}},refImgCode:function(){this.$refs.imgCode.src="/api/public/img/verify?flag="+Math.random()},timeO:function(){var e=this;this.time>0&&(this.time--,setTimeout(function(){e.timeO()},1e3))},sendMobileCode:function(){var e=this;if(""===this.bindMobile.img_code||!this.bindMobile.img_code)return Object(a.Toast)({message:"请填写图形验证码"}),!1;var t={img_code:this.bindMobile.img_code};if(!this.bindMobile.mobile.match(/^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/))return Object(a.Toast)("请正确填写手机号"),!1;t.mobile=this.bindMobile.mobile,this.time=30,this.timeO(),this.$sa.track("clickSendcode",{}),Object(n.I)(t).then(function(t){"操作成功"===t?Object(a.Toast)("验证码已发送"):(e.time=0,e.refImgCode(),Object(a.Toast)(t))}).catch(function(t){e.refImgCode()})}}},c={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("mt-popup",{staticClass:"bindMobile-block",attrs:{position:"bottom"},model:{value:e.bindMobile.show,callback:function(t){e.$set(e.bindMobile,"show",t)},expression:"bindMobile.show"}},[i("div",{staticClass:"bindMobile-main"},[i("img",{staticClass:"header",attrs:{src:e.groupDetail.goods_desc.img[0].url}}),e._v(" "),i("div",{staticClass:"title"},[e._v("\n "+e._s(e.groupDetail.name)+"\n "),i("br"),e._v(" "),0!==e.bindMobile.flag?i("span",{staticStyle:{color:"red","font-weight":"normal"}},[e._v("¥"+e._s((e.groupDetail.current_price/100).toFixed(2)))]):e._e(),e._v(" "),0===e.bindMobile.flag?i("span",{staticStyle:{color:"red","font-weight":"normal"}},[e._v("¥"+e._s((e.groupDetail.original_price/100).toFixed(2)))]):e._e()]),e._v(" "),i("mt-field",{staticStyle:{"font-size":"14px"},attrs:{label:"手机号",placeholder:"请输入手机号"},model:{value:e.bindMobile.mobile,callback:function(t){e.$set(e.bindMobile,"mobile",t)},expression:"bindMobile.mobile"}}),e._v(" "),i("mt-field",{attrs:{label:"图片验证",placeholder:"请输入验证码"},model:{value:e.bindMobile.img_code,callback:function(t){e.$set(e.bindMobile,"img_code",t)},expression:"bindMobile.img_code"}},[i("img",{ref:"imgCode",staticClass:"right-btn",staticStyle:{width:"35vw","margin-left":"5px"},attrs:{src:"/api/public/img/verify"},on:{click:e.refImgCode}})]),e._v(" "),i("mt-field",{attrs:{label:"短信验证",placeholder:"短信验证码",attr:{maxlength:6}},model:{value:e.bindMobile.verify_code,callback:function(t){e.$set(e.bindMobile,"verify_code",t)},expression:"bindMobile.verify_code"}},[0===e.time?i("button",{staticClass:"codeMsg right-btn",on:{click:e.sendMobileCode}},[e._v("发送验证码")]):e._e(),e._v(" "),e.time>0?i("button",{staticClass:"codeMsg disabled right-btn"},[e._v(e._s(e.time)+"s后重新发送")]):e._e()]),e._v(" "),i("mt-button",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{type:"danger"},on:{click:e.onBindMobile}},[e._v("下一步")])],1)])},staticRenderFns:[]};var r=i("VU/8")(l,c,!1,function(e){i("m/UN")},"data-v-4b2ea84d",null);t.a=r.exports},"m/UN":function(e,t){},"rYr/":function(e,t,i){e.exports=i.p+"static/img/shareGoodsBg3.ab32fc9.png"},u93U:function(e,t){}});
//# sourceMappingURL=8.b3b4e49fdc1c5f37208d.js.map
\ No newline at end of file
This diff is collapsed.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(t,c,f){for(var o,b,d,i=0,u=[];i<t.length;i++)b=t[i],a[b]&&u.push(a[b][0]),a[b]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);for(n&&n(t,c,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)d=r(r.s=f[i]);return d};var t={},a={27:0};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.e=function(e){var n=a[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var t=new Promise(function(t,r){n=a[e]=[t,r]});n[2]=t;var c=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,r.nc&&f.setAttribute("nonce",r.nc),f.src=r.p+"static/js/"+e+"."+{0:"f8138779f472b8734556",1:"cf562118bfb069350b6b",2:"b00d3826b27a25730b77",3:"62cab40a31552f3523a2",4:"77aa4c620f571772432a",5:"0fe20001f4dfd6979b47",6:"f37232f6527a12167c2b",7:"d801752a8da94f3df13b",8:"b3b4e49fdc1c5f37208d",9:"b38772a637a0b835d57a",10:"7307df4ba935b7ae9d94",11:"8852ceb181dcc22eb2db",12:"312ac70f2edb38ac136f",13:"00f18aad5b6fd69d0b5a",14:"b3d17f7be63f79b48c70",15:"94dc83a555c61ee39c27",16:"ae624f5327002aaffb2d",17:"0f1571bcdfa699669f5f",18:"618aa416fb9be1dc4752",19:"f231c5215d3f27cf6a43",20:"5bd8b3930bb29ff93018",21:"594f13c961c63e11bd51",22:"9c5678caf56dde402e32",23:"8b4367681705baf3bf9a",24:"75c87a7642286e8e2a8b"}[e]+".js";var o=setTimeout(b,12e4);function b(){f.onerror=f.onload=null,clearTimeout(o);var n=a[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return f.onerror=f.onload=b,c.appendChild(f),t},r.m=e,r.c=t,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="https://static-cdn.changchangenglish.com/new-sing/",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.6e63d041644edb57bdb9.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(a,c,f){for(var o,b,d,i=0,u=[];i<a.length;i++)b=a[i],t[b]&&u.push(t[b][0]),t[b]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);for(n&&n(a,c,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)d=r(r.s=f[i]);return d};var a={},t={27:0};function r(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var a=new Promise(function(a,r){n=t[e]=[a,r]});n[2]=a;var c=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,r.nc&&f.setAttribute("nonce",r.nc),f.src=r.p+"static/js/"+e+"."+{0:"f8138779f472b8734556",1:"cf562118bfb069350b6b",2:"b00d3826b27a25730b77",3:"62cab40a31552f3523a2",4:"77aa4c620f571772432a",5:"0fe20001f4dfd6979b47",6:"f37232f6527a12167c2b",7:"d801752a8da94f3df13b",8:"6ddb234d0d98e5b4570a",9:"b38772a637a0b835d57a",10:"7307df4ba935b7ae9d94",11:"8852ceb181dcc22eb2db",12:"312ac70f2edb38ac136f",13:"00f18aad5b6fd69d0b5a",14:"b3d17f7be63f79b48c70",15:"94dc83a555c61ee39c27",16:"ae624f5327002aaffb2d",17:"0f1571bcdfa699669f5f",18:"618aa416fb9be1dc4752",19:"f231c5215d3f27cf6a43",20:"5bd8b3930bb29ff93018",21:"594f13c961c63e11bd51",22:"9c5678caf56dde402e32",23:"8b4367681705baf3bf9a",24:"75c87a7642286e8e2a8b"}[e]+".js";var o=setTimeout(b,12e4);function b(){f.onerror=f.onload=null,clearTimeout(o);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=b,c.appendChild(f),a},r.m=e,r.c=a,r.d=function(e,n,a){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="https://static-cdn.changchangenglish.com/new-sing/",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.9432a8c66b7499d258d9.js.map
\ No newline at end of file
......@@ -112,7 +112,8 @@
});
}
if(!JSON.parse(localStorage.getItem('userDesc')).mobile|| JSON.parse(localStorage.getItem('userDesc')).mobile === ''){
this.bindMobile.show = true
this.bindMobile.show = true;
this.$sa.track('ViewRegisterpage',{});
}else{
this.goToBuyPage();
}
......
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