Commit 70b49654 authored by liwei's avatar liwei

liwei

parents cc4d87fb ebff66f0
...@@ -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.f9235bbce4fb4b63f74c.js></script><script type=text/javascript src=static/js/vendor.018a8de532d1d57fb226.js></script><script type=text/javascript src=static/js/app.ed82796814140957723c.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.9713f03f6e99be1851fb.js></script><script type=text/javascript src=static/js/vendor.a46051d06c394744be78.js></script><script type=text/javascript src=static/js/app.97353bbe6dee2c9beabe.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.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,n,r){for(var t,d,o,i=0,u=[];i<f.length;i++)d=f[i],a[d]&&u.push(a[d][0]),a[d]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(f,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=b(b.s=r[i]);return o};var f={},a={49:0};function b(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,b),a.l=!0,a.exports}b.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,b){c=a[e]=[f,b]});c[2]=f;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,b.nc&&r.setAttribute("nonce",b.nc),r.src=b.p+"static/js/"+e+"."+{0:"4abe9745786f805c643d",1:"4d5af33875f881fbf170",2:"5c7330fd3d0725ef74b7",3:"95c778ffc94c516ed93c",4:"512dbfc54143036436b6",5:"177b8f15e4c3cdaefc5c",6:"54c55d39e8766c1c5179",7:"1c18a6090f3ef210a3b0",8:"e6208ee39755be230d36",9:"6d063b853fcf2e5c343a",10:"e7e75f52630c3f5f7921",11:"bec5f8ff103e2df14f27",12:"930e9006116417e356cb",13:"e3807f34b8882de6d66c",14:"fa81ee4ecc5b9a82a064",15:"a5380d1ef2f6fd3e9fe4",16:"4005fa54cc59f995ef22",17:"4d4fefacb21c6a27c469",18:"bdd0e545e01a46590fab",19:"f8c23ec99fe543ba7c59",20:"c50eb69950e3b05c75ba",21:"b66faf32d39b00b402fc",22:"3e1c1e9957614840401d",23:"fd0164cb8d1b48e15d14",24:"c5cfefb13fa3c8a23cf9",25:"0ee772df2607cf771171",26:"2884e8e9df9c9c10450a",27:"6ca8044c5b7dbaea1939",28:"e9159c78646a00d7a136",29:"bc4b2e19d7bbdb26f35b",30:"0dfa7b2f351464837431",31:"58ef57a7139f62e43fba",32:"11027e4a30d5d1f15a57",33:"5b982bd46e542c17a68e",34:"52cb42be742874708eba",35:"15332b0458c1f2d684e9",36:"734179926fd497b7979d",37:"303c15b2a63b09cbb9b1",38:"6b7d629cbf5bf00d5f79",39:"b129a2de1d1687a78b98",40:"ac1fc8c242c022600367",41:"54122ed28fb233a82436",42:"acc5bf61cb041f593bfa",43:"667f1d1d775fdc8f576a",44:"8531f16a0f4a76e474b8",45:"7cf681e938528dcae32b",46:"c0b858d756b11b0bf319"}[e]+".js";var t=setTimeout(d,12e4);function d(){r.onerror=r.onload=null,clearTimeout(t);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return r.onerror=r.onload=d,n.appendChild(r),f},b.m=e,b.c=f,b.d=function(e,c,f){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="",b.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,n,r){for(var t,d,o,i=0,u=[];i<f.length;i++)d=f[i],a[d]&&u.push(a[d][0]),a[d]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(f,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=b(b.s=r[i]);return o};var f={},a={49:0};function b(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,b),a.l=!0,a.exports}b.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,b){c=a[e]=[f,b]});c[2]=f;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,b.nc&&r.setAttribute("nonce",b.nc),r.src=b.p+"static/js/"+e+"."+{0:"4abe9745786f805c643d",1:"4d5af33875f881fbf170",2:"5c7330fd3d0725ef74b7",3:"95c778ffc94c516ed93c",4:"512dbfc54143036436b6",5:"177b8f15e4c3cdaefc5c",6:"54c55d39e8766c1c5179",7:"cad1d8ddb8a33186c6e6",8:"e6208ee39755be230d36",9:"2140e90b482e22a33ec0",10:"e7e75f52630c3f5f7921",11:"bec5f8ff103e2df14f27",12:"930e9006116417e356cb",13:"e3807f34b8882de6d66c",14:"fa81ee4ecc5b9a82a064",15:"a5380d1ef2f6fd3e9fe4",16:"4005fa54cc59f995ef22",17:"4d4fefacb21c6a27c469",18:"bdd0e545e01a46590fab",19:"f8c23ec99fe543ba7c59",20:"c50eb69950e3b05c75ba",21:"b66faf32d39b00b402fc",22:"3e1c1e9957614840401d",23:"fd0164cb8d1b48e15d14",24:"c5cfefb13fa3c8a23cf9",25:"0ee772df2607cf771171",26:"2884e8e9df9c9c10450a",27:"6ca8044c5b7dbaea1939",28:"e9159c78646a00d7a136",29:"bc4b2e19d7bbdb26f35b",30:"0dfa7b2f351464837431",31:"58ef57a7139f62e43fba",32:"11027e4a30d5d1f15a57",33:"5b982bd46e542c17a68e",34:"52cb42be742874708eba",35:"15332b0458c1f2d684e9",36:"734179926fd497b7979d",37:"303c15b2a63b09cbb9b1",38:"6b7d629cbf5bf00d5f79",39:"b129a2de1d1687a78b98",40:"ac1fc8c242c022600367",41:"54122ed28fb233a82436",42:"acc5bf61cb041f593bfa",43:"667f1d1d775fdc8f576a",44:"8531f16a0f4a76e474b8",45:"7cf681e938528dcae32b",46:"c0b858d756b11b0bf319"}[e]+".js";var t=setTimeout(d,12e4);function d(){r.onerror=r.onload=null,clearTimeout(t);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return r.onerror=r.onload=d,n.appendChild(r),f},b.m=e,b.c=f,b.d=function(e,c,f){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -586,9 +586,12 @@ export default { ...@@ -586,9 +586,12 @@ export default {
getInvitedCouponApi(this.$route.query.shopId).then(res =>{ getInvitedCouponApi(this.$route.query.shopId).then(res =>{
console.log(res) console.log(res)
if(res.code&&res.code==100){ if(res.code&&res.code==100){
if(res.data.flag==0){
this.couponShadow = true; this.couponShadow = true;
this.couponInfo.money = res.data.original_price this.couponInfo.money = res.data.original_price
console.log( this.couponInfo) console.log( this.couponInfo)
}
}else if(this.$route.query.invite_code){ }else if(this.$route.query.invite_code){
this.couponInfo = res this.couponInfo = res
this.couponInfo.money = res.original_price this.couponInfo.money = res.original_price
......
...@@ -214,6 +214,29 @@ export default { ...@@ -214,6 +214,29 @@ export default {
shareUrl: URL shareUrl: URL
}); });
} }
},
onShare: function(type) {
let ownDetail = JSON.parse(localStorage.getItem("userDesc"));
let URL = `${process.env.BUY_URL}shopId=${this.shopId}&groupId=${this.groupId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}`;
if (!this.invite_code) {
// debugger
this.user_id = JSON.parse(localStorage.getItem("userDesc")).user_id;
this.invite_code = "CC-USER-" + this.user_id;
URL = `${process.env.BUY_URL}shopId=${this.shopId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}`;
this.enableShare({
shareUrl: URL
});
console.log(194);
} else {
console.log(196);
URL = `${process.env.BUY_URL}shopId=${this.shopId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}`;
this.enableShare({
shareUrl: URL
});
}
// if(type === 1 ){
// }
} }
}; };
</script> </script>
......
...@@ -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