Commit 497c5640 authored by IvyXia123's avatar IvyXia123

zhifu

parent e77668af
...@@ -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.f983055a19b69eb54137ee36031e8a72.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.da85a8a272d855b6e85a.js></script><script type=text/javascript src=static/js/vendor.0c1d6ebbba685002d59c.js></script><script type=text/javascript src=static/js/app.1efbcf214ab0aa1d327f.js></script></body></html> /* html{font-size: 1px;} */</style><link href=static/css/app.f983055a19b69eb54137ee36031e8a72.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.75e1e643f740fdb037f0.js></script><script type=text/javascript src=static/js/vendor.0c1d6ebbba685002d59c.js></script><script type=text/javascript src=static/js/app.fb956ba4201e21c0a4b8.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.
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(f&&f(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},c={69:0};function d(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,d){f=c[e]=[a,d]});f[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,n.crossOrigin="anonymous",d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"ae6d2eb4f06f9106a0ee",1:"8d5852f2ec9ad4d5ee85",2:"6fc3fd4f87b5f4fd1a3f",3:"a8d4b3b0db26d31f09d9",4:"aa3f49b3c3e5f1772157",5:"def8f4d8646672b08ed7",6:"902c1ac874941b0dd409",7:"edbd5b600984987cf3ba",8:"27ebe98fd09ac8d0b165",9:"ee87105b48f64b787127",10:"578b6bc67d58dc820b09",11:"7fbe7d622dd09d926d62",12:"bcd5e8f1318bb3c79e8d",13:"b01b98d68e1fa7d2364f",14:"d411dd43f6f87ec93d9f",15:"b7be808bd16c3c2b27de",16:"31a81e9a84fff14ea15a",17:"8be5a5f18a06a704996e",18:"2af804e8cbf10128cd98",19:"3465ee66a06d6a2976a0",20:"b9ef4345e91aef98aeab",21:"e07095365ce1beacb006",22:"b561ae9eecfbbafededb",23:"6027e15d466465201cf5",24:"66115b335ef36e664560",25:"893d97c0c3bfc70d5efe",26:"0be4571ab390eb999425",27:"8ee0be7fbb0fb087db54",28:"12b69a89c6f225567a67",29:"4a16aa6c537eeef551a8",30:"2272497b4ac6f7f9d683",31:"496a4f1feee35020b28e",32:"2fe57e5391faf7679e88",33:"23d58fac9b8c404b3188",34:"4b8b51094caa00ff9b1c",35:"f02b529bcd0f44cb0d63",36:"06ed863f8aa3d15b0c68",37:"813b04277d4a12e809a4",38:"3ca2090614a86bd3d8df",39:"a4a12d5e85d54caccf7c",40:"ff3778361e9c6e46fe3d",41:"441276f0ad5e7f00212d",42:"71228043e13acf59dc5c",43:"258c5a2a0219e06992af",44:"bb2ae7a02495e20df4c8",45:"d55c8bbbb2bd98e7c07a",46:"27ea399e0901f7ab807f",47:"bd958d5d79836d957b70",48:"3a715ff2fe5ab9ac84f8",49:"5e454442d7bf0135d9ef",50:"fb4ef93cfadffac2e7b0",51:"005a161e611e7c8a6810",52:"76d2f64279f977b68354",53:"7c84d0c3360d9f1faf71",54:"3e441ce6f21d3020c5ba",55:"6c8d1ac585f3c5feaf1d",56:"7c31d35771a1304c0694",57:"3f35c830362905640c11",58:"de878d75a83684169295",59:"c5bb7e2ee330bcffa04d",60:"e197d19bcfe7fcc6ed05",61:"253b4ccb0686ebc6fa49",62:"64d908b6b439898533ec",63:"f6ff62d24eb5ce25ba96",64:"caf94f2c30470c5b5010",65:"bdf70254fb0baae6b437",66:"d29a08ade6bda9eed6a6"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,f,a){d.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,"a",f),f},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},d.p="",d.oe=function(e){throw console.error(e),e}}([]); !function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(f&&f(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},c={69:0};function b(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,b),c.l=!0,c.exports}b.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,b){f=c[e]=[a,b]});f[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,n.crossOrigin="anonymous",b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"ae6d2eb4f06f9106a0ee",1:"8d5852f2ec9ad4d5ee85",2:"6fc3fd4f87b5f4fd1a3f",3:"cc023d5c874b9141a208",4:"aa3f49b3c3e5f1772157",5:"def8f4d8646672b08ed7",6:"902c1ac874941b0dd409",7:"edbd5b600984987cf3ba",8:"27ebe98fd09ac8d0b165",9:"ee87105b48f64b787127",10:"578b6bc67d58dc820b09",11:"65885c6f888e6ef9f63b",12:"bcd5e8f1318bb3c79e8d",13:"b01b98d68e1fa7d2364f",14:"d411dd43f6f87ec93d9f",15:"b7be808bd16c3c2b27de",16:"31a81e9a84fff14ea15a",17:"8be5a5f18a06a704996e",18:"2af804e8cbf10128cd98",19:"3465ee66a06d6a2976a0",20:"b9ef4345e91aef98aeab",21:"e07095365ce1beacb006",22:"b561ae9eecfbbafededb",23:"6027e15d466465201cf5",24:"66115b335ef36e664560",25:"893d97c0c3bfc70d5efe",26:"0be4571ab390eb999425",27:"8ee0be7fbb0fb087db54",28:"12b69a89c6f225567a67",29:"4a16aa6c537eeef551a8",30:"2272497b4ac6f7f9d683",31:"496a4f1feee35020b28e",32:"2fe57e5391faf7679e88",33:"23d58fac9b8c404b3188",34:"4b8b51094caa00ff9b1c",35:"f02b529bcd0f44cb0d63",36:"06ed863f8aa3d15b0c68",37:"813b04277d4a12e809a4",38:"3ca2090614a86bd3d8df",39:"a4a12d5e85d54caccf7c",40:"ff3778361e9c6e46fe3d",41:"441276f0ad5e7f00212d",42:"71228043e13acf59dc5c",43:"258c5a2a0219e06992af",44:"bb2ae7a02495e20df4c8",45:"d55c8bbbb2bd98e7c07a",46:"27ea399e0901f7ab807f",47:"b4c66a0e3c8219f14770",48:"3a715ff2fe5ab9ac84f8",49:"5e454442d7bf0135d9ef",50:"fb4ef93cfadffac2e7b0",51:"005a161e611e7c8a6810",52:"76d2f64279f977b68354",53:"7c84d0c3360d9f1faf71",54:"3e441ce6f21d3020c5ba",55:"6c8d1ac585f3c5feaf1d",56:"7c31d35771a1304c0694",57:"3f35c830362905640c11",58:"de878d75a83684169295",59:"c5bb7e2ee330bcffa04d",60:"e197d19bcfe7fcc6ed05",61:"253b4ccb0686ebc6fa49",62:"64d908b6b439898533ec",63:"f6ff62d24eb5ce25ba96",64:"caf94f2c30470c5b5010",65:"bdf70254fb0baae6b437",66:"d29a08ade6bda9eed6a6"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,f,a){b.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(f,"a",f),f},b.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},b.p="",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -471,7 +471,7 @@ export default { ...@@ -471,7 +471,7 @@ export default {
data.goods_desc = JSON.parse(data.goods_desc); data.goods_desc = JSON.parse(data.goods_desc);
data.share_desc = JSON.parse(data.share_desc); data.share_desc = JSON.parse(data.share_desc);
this.groupDetail = JSON.parse(JSON.stringify(data)); this.groupDetail = JSON.parse(JSON.stringify(data));
sessionStorage.setItem("groupDetail", JSON.stringify(data)); localStorage.setItem("groupDetail", JSON.stringify(data));
console.log(this.groupDetail, 408); console.log(this.groupDetail, 408);
this.invite_code = this.$route.query.invite_code; this.invite_code = this.$route.query.invite_code;
if (this.type && this.type === 0) { if (this.type && this.type === 0) {
......
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
}) })
}else { }else {
console.log("支付:" + 454235) console.log("支付:" + 454235)
this.groupDetail = JSON.parse(sessionStorage.getItem('groupDetail')); this.groupDetail = JSON.parse(localStorage.getItem('groupDetail'));
console.log(this.groupDetail) console.log(this.groupDetail)
} }
if (sessionStorage.getItem("buyindex") == 1) { if (sessionStorage.getItem("buyindex") == 1) {
......
...@@ -362,7 +362,7 @@ export default { ...@@ -362,7 +362,7 @@ export default {
this.deadline = res.group_info.deadline; this.deadline = res.group_info.deadline;
this.leftTimer(); this.leftTimer();
} }
this.groupDetail = JSON.parse(sessionStorage.getItem('groupDetail')); this.groupDetail = JSON.parse(localStorage.getItem('groupDetail'));
this.textContent = this.textContent =
`[激动]发现一款超赞的启蒙英语课 `[激动]发现一款超赞的启蒙英语课
[太阳]只要${this.groupDetail.current_price / 100}元就可以团购价值${this.groupDetail.original_price / 100}${this.groupDetail.goods_desc.course_title} [太阳]只要${this.groupDetail.current_price / 100}元就可以团购价值${this.groupDetail.original_price / 100}${this.groupDetail.goods_desc.course_title}
...@@ -698,7 +698,7 @@ export default { ...@@ -698,7 +698,7 @@ export default {
border-radius: 19 * @toVw; border-radius: 19 * @toVw;
z-index: 1001;color: white;width: 120 * @toVw;height: 38 * @toVw;line-height: 38 * @toVw;text-align: center;} z-index: 1001;color: white;width: 120 * @toVw;height: 38 * @toVw;line-height: 38 * @toVw;text-align: center;}
} }
} }
</style> </style>
<style> <style>
......
...@@ -11,7 +11,7 @@ import sa from 'sa-sdk-javascript'; ...@@ -11,7 +11,7 @@ import sa from 'sa-sdk-javascript';
import 'mint-ui/lib/style.css' import 'mint-ui/lib/style.css'
import scroll from "./base/scroll/scroll" import scroll from "./base/scroll/scroll"
import { Popup, Lazyload, Button, Dialog, Toast } from 'vant'; import { Popup, Lazyload, Button, Dialog, Toast } from 'vant';
import { getBillRefreshApi, getCourseInfoApi } from './service/api' import { getBillRefreshApi, getStatusWechatApi } from './service/api'
import * as fundebug from 'fundebug-javascript'; import * as fundebug from 'fundebug-javascript';
import fundebugVue from 'fundebug-vue'; import fundebugVue from 'fundebug-vue';
...@@ -54,7 +54,9 @@ if(window.localStorage.out_trade_no) { ...@@ -54,7 +54,9 @@ if(window.localStorage.out_trade_no) {
timer = setInterval(() => { timer = setInterval(() => {
let outTradEno = JSON.parse(window.localStorage.out_trade_no); let outTradEno = JSON.parse(window.localStorage.out_trade_no);
getBillRefreshApi({ outTradeNo: outTradEno.out_trade_no }).then(res => { getBillRefreshApi({ outTradeNo: outTradEno.out_trade_no }).then(res => {
// 支付成功
if(res.status === "SUCCESS") { if(res.status === "SUCCESS") {
sessionStorage.setItem("buyindex", 1);
Dialog.confirm({ title: '标题', message: '支付成功'}).then(() => { Dialog.confirm({ title: '标题', message: '支付成功'}).then(() => {
if(outTradEno.goods_type == 1) { if(outTradEno.goods_type == 1) {
router.push({ name: "buySuccess", query: outTradEno }); router.push({ name: "buySuccess", query: outTradEno });
...@@ -69,11 +71,11 @@ if(window.localStorage.out_trade_no) { ...@@ -69,11 +71,11 @@ if(window.localStorage.out_trade_no) {
}); });
} }
}).catch(error => { }).catch(error => {
// 支付失败或未支付
if(error.code === 500 && error.msg.status === "NO_SYNC") { if(error.code === 500 && error.msg.status === "NO_SYNC") {
Dialog.confirm({ title: '标题', message: '您有一笔未支付的订单'}).then(() => { Dialog.confirm({ title: '标题', message: '您有一笔未支付的订单'}).then(() => {
clearInterval(timer); clearInterval(timer);
location.href = `http://${ window.location.host }/#/guidelines?pay_url=${ encodeURI(window.localStorage.pay_url) }` location.href = `http://${ window.location.host }/#/guidelines?pay_url=${ encodeURI(window.localStorage.pay_url) }`
localStorage.removeItem('out_trade_no')
}).catch(() => { }).catch(() => {
clearInterval(timer); clearInterval(timer);
localStorage.removeItem('out_trade_no') localStorage.removeItem('out_trade_no')
......
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