529

parent 04e5d2e5
...@@ -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.afd78780e01c0aeef050.js></script><script type=text/javascript src=static/js/vendor.08bb4c1de1fdf5bf85a2.js></script><script type=text/javascript src=static/js/app.f78bebe7c61fc4c48778.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.77c345b4015c363e13ca.js></script><script type=text/javascript src=static/js/vendor.08bb4c1de1fdf5bf85a2.js></script><script type=text/javascript src=static/js/app.f78bebe7c61fc4c48778.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 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 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:"b8d329232924c52f21f9",1:"2af48a38a0a5ba4de8d7",2:"320fe507d344efb0c388",3:"fb9eacc4cab1241045b3",4:"498fdae1cf375720d0fd",5:"665e1536f07d3a98174d",6:"ef4d55f7f57d0d2bb9a9",7:"f1db37c6902f5aa481c6",8:"5187bf197a10f6c6b3e5",9:"e9c88acab2565bf7629c",10:"fd3d73f3ae4cf823f641",11:"824d4ca021e7d0fc13e1",12:"40360dcce0a769c5019c",13:"a49a6fe121412551f160",14:"a0a3bf1f6c6d07ebc4bd",15:"707d58743fc9a74249e6",16:"122a88228eaf23a73c64",17:"9498402cbdfb14710ef2",18:"9d8477aa7d6551b11988",19:"a53f15dde25f2e809c64",20:"efc022c1cddf26b4e76e",21:"b5fbe416a6ed0a351765",22:"5711cb64898166468a42",23:"c4f7239d893424072548",24:"74105ee90759eb3a1c0c",25:"710a83363e346f356722",26:"0dcd222d813e24c1c38a",27:"adcf10f7b58e924a2943",28:"06b0ca68e1b4e7a0be92",29:"5cbdfdcf0859e7be0f3e",30:"089b631d6b1ef3203f55",31:"5add3cb58a0305fc7b52",32:"b5826e79a4bff96ab34e",33:"d9c1dd5f78efa0809ec7",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}}([]); !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:"b8d329232924c52f21f9",1:"2af48a38a0a5ba4de8d7",2:"320fe507d344efb0c388",3:"fb9eacc4cab1241045b3",4:"498fdae1cf375720d0fd",5:"665e1536f07d3a98174d",6:"9e6e8baf26d0d174d1e1",7:"f1db37c6902f5aa481c6",8:"7e892d51e7f0ecc38875",9:"e9c88acab2565bf7629c",10:"fd3d73f3ae4cf823f641",11:"824d4ca021e7d0fc13e1",12:"40360dcce0a769c5019c",13:"a49a6fe121412551f160",14:"a0a3bf1f6c6d07ebc4bd",15:"707d58743fc9a74249e6",16:"122a88228eaf23a73c64",17:"9498402cbdfb14710ef2",18:"9d8477aa7d6551b11988",19:"6e02aba0dfc5ee490daf",20:"efc022c1cddf26b4e76e",21:"b5fbe416a6ed0a351765",22:"5711cb64898166468a42",23:"c4f7239d893424072548",24:"74105ee90759eb3a1c0c",25:"710a83363e346f356722",26:"0dcd222d813e24c1c38a",27:"adcf10f7b58e924a2943",28:"06b0ca68e1b4e7a0be92",29:"5cbdfdcf0859e7be0f3e",30:"089b631d6b1ef3203f55",31:"5add3cb58a0305fc7b52",32:"b5826e79a4bff96ab34e",33:"d9c1dd5f78efa0809ec7",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
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<div v-if="pointStatus==3" class="price"> <div v-if="pointStatus==3" class="price">
<span>30</span> <span>30</span>
</div> </div>
<div @click="goDetail" ref="toShopD" class="btn">立即使用</div> <div @click="goDetail" ref="toShopD" class="btn toShopD">立即使用</div>
</div> </div>
</van-popup> </van-popup>
</div> </div>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<div class="top"> <div class="top">
<div class="left"> <div class="left">
<p>课程代金券</p> <p>课程代金券</p>
<p class="date">{{couponInfo.deadline_at}}失效</p> <p class="date">{{couponInfo.deadline_at}}失效</p>
</div> </div>
<div class="btn"> <div class="btn">
立即使用 立即使用
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<div class="top"> <div class="top">
<div class="left"> <div class="left">
<p>课程代金券</p> <p>课程代金券</p>
<p class="date">{{couponInfo.deadline_at}}失效</p> <p class="date">{{couponInfo.deadline_at}}失效</p>
</div> </div>
<div class="btn"> <div class="btn">
立即使用 立即使用
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
<p>儿童节感恩回馈!</p> <p>儿童节感恩回馈!</p>
<p>给宝贝送专属心意好礼! </p> <p>给宝贝送专属心意好礼! </p>
</div> </div>
<div @click="toActivity" ref="toActivity" class="btn">立即参与</div> <div @click="toActivity" ref="toActivity" class="btn toActivity">立即参与</div>
</div> </div>
</van-popup> </van-popup>
<audio-page ref="audioPage" v-if="showObj.audio.length>0" sc="1" v-show="showObj.show" :showObj="showObj"/> <audio-page ref="audioPage" v-if="showObj.audio.length>0" sc="1" v-show="showObj.show" :showObj="showObj"/>
...@@ -336,6 +336,7 @@ export default { ...@@ -336,6 +336,7 @@ export default {
mounted() { mounted() {
window.scrollTo(0,0); window.scrollTo(0,0);
let that = this let that = this
cookie.delete('liuyi')
this.unlook = localStorage.getItem('unlook'); this.unlook = localStorage.getItem('unlook');
// console.log(this.pt) // console.log(this.pt)
// console.log(document.body.clientWidth) // console.log(document.body.clientWidth)
...@@ -460,6 +461,7 @@ export default { ...@@ -460,6 +461,7 @@ export default {
getCouponListApi().then(res =>{ getCouponListApi().then(res =>{
if(res.length){ if(res.length){
this.couponInfo = res[0] this.couponInfo = res[0]
this.$sa.track("view61index", {});
if(this.pt){ if(this.pt){
// chrome // chrome
document.body.scrollTop = 150 document.body.scrollTop = 150
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
<p>儿童节感恩回馈!</p> <p>儿童节感恩回馈!</p>
<p>给宝贝送专属心意好礼!</p> <p>给宝贝送专属心意好礼!</p>
</div> </div>
<div @click="toActivity" ref="toActivity" class="btn">立即参与</div> <div @click="toActivity" ref="toActivity" class="btn toActivity">立即参与</div>
</div> </div>
</van-popup> </van-popup>
<div @click="liuyiBtn" v-if="userCourse.goods_id!=null&&userCourse.goods_id>0&&liuyuActivity" ref="liuyiBtn" class="liuyiBtn"> <div @click="liuyiBtn" v-if="userCourse.goods_id!=null&&userCourse.goods_id>0&&liuyuActivity" ref="liuyiBtn" class="liuyiBtn">
...@@ -508,11 +508,14 @@ export default { ...@@ -508,11 +508,14 @@ export default {
this.couponInfo = res; this.couponInfo = res;
this.couponInfo.goods_desc = JSON.parse(res.goods_desc); this.couponInfo.goods_desc = JSON.parse(res.goods_desc);
// console.log(res) // console.log(res)
if (!res.coupon_list.length &&Date.parse(new Date()) < Date.parse(new Date("2019-6-4 00:00:00"))) { if (!res.coupon_list.length &&Date.parse(new Date()) < Date.parse(new Date("2019-6-4 00:00:00"))){
console.log(cookie.get("liuyi")); console.log(cookie.get("liuyi"));
if (!cookie.get("liuyi")) { if (!cookie.get("liuyi")) {
this.liuyucoolie = true; this.liuyucoolie = true;
cookie.set("liuyi", 1, 1); cookie.set("liuyi", 1, 1);
this.$sa.track("view61window", {
s_view_course: is_view_course
});
} }
} }
if (this.couponInfo.coupon_list.length) { if (this.couponInfo.coupon_list.length) {
......
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