Commit 2f3e1378 authored by wangwei's avatar wangwei

分销页面

parent 07e1bef6
<!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></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.f3dacd0a93afc5056c6c.js></script><script type=text/javascript src=static/js/vendor.0302137f3a6bb59dc95e.js></script><script type=text/javascript src=static/js/app.f9154f171ae95b9f2ac3.js></script></body></html>
\ No newline at end of file
<!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></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.9b26865e0da320c791d2.js></script><script type=text/javascript src=static/js/vendor.0302137f3a6bb59dc95e.js></script><script type=text/javascript src=static/js/app.f9154f171ae95b9f2ac3.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
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.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],c[d]&&u.push(c[d][0]),c[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=t(t.s=o[i]);return b};var r={},c={26:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});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,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"dd7a4a4d6f66f918b161",1:"74db0273aa29f9b44da4",2:"fa22829657cbd48b57a2",3:"20ef48d48dc907cfbee6",4:"091da077f95ed5811d79",5:"a37b9ee5517eca783c3e",6:"5196a65a5e3bd7113296",7:"656557af56134992379f",8:"be4ed60496a08edbe14e",9:"84d52b2bfd66d01562b8",10:"fb904dd92fba2806640c",11:"96117a04205622d8c49a",12:"6b7a9a473eb005cfd1b0",13:"d1a375ca87ee0099c55f",14:"50eb8c907d3c981316c0",15:"8016506c55a85edfab62",16:"d65597b9762dcc1cd0ed",17:"e8ffb1f4ac658fec0e7e",18:"f63413591b9bdc9cb4ce",19:"c778bfb2475fb9071e71",20:"cc3848989c6b0e891bdc",21:"3e29f0466acabc459f5b",22:"4930019ea0011ef68ac8",23:"8d337c794f25767b4793"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.f3dacd0a93afc5056c6c.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);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={26: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:"74db0273aa29f9b44da4",2:"fa22829657cbd48b57a2",3:"20ef48d48dc907cfbee6",4:"091da077f95ed5811d79",5:"a37b9ee5517eca783c3e",6:"5196a65a5e3bd7113296",7:"a8eb02a98ef0ab17f728",8:"be4ed60496a08edbe14e",9:"84d52b2bfd66d01562b8",10:"fb904dd92fba2806640c",11:"79842596b7b8db168fb6",12:"6b7a9a473eb005cfd1b0",13:"d1a375ca87ee0099c55f",14:"63f71d3ca35b2635db34",15:"8016506c55a85edfab62",16:"d65597b9762dcc1cd0ed",17:"e8ffb1f4ac658fec0e7e",18:"f63413591b9bdc9cb4ce",19:"c778bfb2475fb9071e71",20:"cc3848989c6b0e891bdc",21:"3e29f0466acabc459f5b",22:"4930019ea0011ef68ac8",23:"8d337c794f25767b4793"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,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.9b26865e0da320c791d2.js.map
\ No newline at end of file
<!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>*{
-webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.275b549864618d003cec098d6997550d.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.c46a52ffd2c72b993145.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.3a0087e50012f11a0897.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.ffa85dd8c034f8f69338.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.264dd6f695a7d744dec5abee62cb73cb.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.968948ca4decb7f2d940.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.3a0087e50012f11a0897.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.84c579b317b02bf779fe.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([13],{"4ggU":function(t,s,e){t.exports=e.p+"static/img/sale.66e397c.png"},rt4g:function(t,s){},wSE2:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("4ggU"),o=e.n(i),n=e("CCn6"),c={name:"saleSuccess",data:function(){return{invite_code:"",weChatUrl:o.a,orderNo:this.$route.query.out_trade_no,goods_id:"",user_goods_list:[]}},mounted:function(){this.initPage()},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"优惠券购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(n.q)(this.orderNo).then(function(s){t.goods_id=s.goods_id,t.invite_code="CC-"+s.invite_type+"-"+s.invite_id,Object(n.h)(t.goods_id).then(function(s){var e=JSON.parse(s.desc).use_goods_ids;Object(n.i)({goods_ids:e}).then(function(s){t.user_goods_list=[];for(var e=0;e<s.list.length;e++)s.list[e].desc=JSON.parse(s.list[e].desc),s.list[e].goods_desc=JSON.parse(s.list[e].goods_desc),s.list[e].share_desc=JSON.parse(s.list[e].share_desc),t.user_goods_list.push(s.list[e])})})})},goToBuy:function(t){this.$router.push({name:"buyDetail",query:{shopId:t.id,invite_code:this.$route.query.invite_code}})}}},d={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"sale"},[e("div",{staticStyle:{height:"3.75vw"}}),t._v(" "),e("div",{staticClass:"banner"},[e("img",{attrs:{src:t.weChatUrl}})]),t._v(" "),e("div",t._l(t.user_goods_list,function(s){return e("div",{staticClass:"shop-block",on:{click:function(e){t.goToBuy(s),t.buttonClick("去购买")}}},[e("div",{staticClass:"shop"},[e("div",{staticClass:"img-block"},[e("img",{attrs:{src:s.goods_desc.img[0].url}})]),t._v(" "),e("div",[e("div",{staticClass:"title"},[t._v("\n "+t._s(s.name)+"\n ")]),t._v(" "),e("div",{staticClass:"content"},[t._v("\n "+t._s(s.goods_desc.desc)+"\n ")]),t._v(" "),e("div",{staticClass:"price"},[t._v("\n >>立即购买<<\n ")])])])])}))])},staticRenderFns:[]};var a=e("VU/8")(c,d,!1,function(t){e("rt4g")},"data-v-68b536e3",null);s.default=a.exports}});
//# sourceMappingURL=13.c9bb86f947d56700d737.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([14],{"4ggU":function(t,s,i){t.exports=i.p+"static/img/sale.66e397c.png"},Mrjv:function(t,s){},wSE2:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("4ggU"),o=i.n(e),n=i("CCn6"),c={name:"saleSuccess",data:function(){return{invite_code:"",weChatUrl:o.a,orderNo:this.$route.query.out_trade_no,goods_id:"",user_goods_list:[]}},mounted:function(){this.initPage()},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"优惠券购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(n.q)(this.orderNo).then(function(s){t.goods_id=s.goods_id,t.invite_code="CC-"+s.invite_type+"-"+s.invite_id,Object(n.h)(t.goods_id).then(function(s){var i=JSON.parse(s.desc).use_goods_ids;Object(n.i)({goods_ids:i}).then(function(s){t.user_goods_list=[];for(var i=0;i<s.list.length;i++)s.list[i].desc=JSON.parse(s.list[i].desc),s.list[i].goods_desc=JSON.parse(s.list[i].goods_desc),s.list[i].share_desc=JSON.parse(s.list[i].share_desc),t.user_goods_list.push(s.list[i])})})})},goToBuy:function(t){this.$router.push({name:"buyDetail",query:{shopId:t.id,invite_code:this.invite_code}})}}},d={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"sale"},[i("div",{staticStyle:{height:"3.75vw"}}),t._v(" "),i("div",{staticClass:"banner"},[i("img",{attrs:{src:t.weChatUrl}})]),t._v(" "),i("div",t._l(t.user_goods_list,function(s){return i("div",{staticClass:"shop-block",on:{click:function(i){t.goToBuy(s),t.buttonClick("去购买")}}},[i("div",{staticClass:"shop"},[i("div",{staticClass:"img-block"},[i("img",{attrs:{src:s.goods_desc.img[0].url}})]),t._v(" "),i("div",[i("div",{staticClass:"title"},[t._v("\n "+t._s(s.name)+"\n ")]),t._v(" "),i("div",{staticClass:"content"},[t._v("\n "+t._s(s.goods_desc.desc)+"\n ")]),t._v(" "),i("div",{staticClass:"price"},[t._v("\n >>立即购买<<\n ")])])])])}))])},staticRenderFns:[]};var a=i("VU/8")(c,d,!1,function(t){i("Mrjv")},"data-v-3e87e9f5",null);s.default=a.exports}});
//# sourceMappingURL=14.b18dae547249ec13ef3c.js.map
\ No newline at end of file
This diff is collapsed.
......@@ -280,7 +280,7 @@
if(res.has_buy_goods_info.goods_type === 2){
this.$router.push({name:'success',query:{out_trade_no:res.out_trade_no}});
}else if(res.has_buy_goods_info.goods_type === 4){
this.$router.push({name:'saleSuccess',query:{out_trade_no:res.out_trade_no}});
this.$router.push({name:'saleSuccess',query:{out_trade_no:res.out_trade_no,invite_code:this.$route.query.invite_code}});
}else if(res.has_buy_goods_info.goods_type !== 5){
this.$router.push({name:'buySuccess',query:{out_trade_no:res.out_trade_no}});
}
......
......@@ -424,6 +424,7 @@
this.onShare(1)
}
}else{
this.onShare(1)
this.handleInviteCode()
}
})
......
......@@ -75,7 +75,7 @@
})
},
goToBuy(data){
this.$router.push({name:'buyDetail',query:{shopId:data.id,invite_code:this.invite_code}})
this.$router.push({name:'buyDetail',query:{shopId:data.id,invite_code:this.$route.query.invite_code}})
}
}
}
......
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