Commit 18394e59 by xuzhenghua

bug

parents 5e3c5d4c e8bdec62
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/43.2c1f7d7c.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.fe158352.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(i){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],d=0,c=[];d<n.length;d++)t=n[d],l[t]&&c.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r]);for(p&&p(e);c.length;)c.shift()();return f.push.apply(f,o||[]),s()}function s(){for(var e,r=0;r<f.length;r++){for(var t=f[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(f.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={36:0},l={36:0},f=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return i[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(f){var e=[];u[f]?e.push(u[f]):0!==u[f]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,14:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,30:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1,44:1,45:1,47:1,48:1,49:1,50:1,51:1}[f]&&e.push(u[f]=new Promise(function(e,n){for(var r="mrstatic/css/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"video"}[f]||f)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"966a7982",3:"1133c967",4:"ac8fad1f",5:"08739942",6:"2a913483",7:"127d35ae",8:"400393b7",9:"fed92c83",10:"1bd3da48",11:"17af9370",12:"08739942",13:"31d6cfe0",14:"83a999aa",15:"31d6cfe0",16:"68a25070",17:"ccebc534",18:"6d7d1b77",19:"6e885738",20:"887eb690",21:"affb05d7",22:"32a9cccc",23:"5dc65c0d",24:"39fb77c8",25:"0ce3fd3d",26:"2e5f43c4",27:"e8363b32",28:"55b938da",30:"841d0cfb",31:"6bf64b45",32:"24691c8a",33:"ce85cb83",34:"7558403e",35:"11408886",37:"efa1dd44",38:"cde549fc",39:"62b8863b",40:"4fbf61d8",41:"ffd8be6c",42:"b3755c1b",44:"976b2058",45:"51412fcd",46:"31d6cfe0",47:"e292ab6b",48:"37fb0c23",49:"56b04545",50:"ce17075b",51:"bacf914e"}[f]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var d=(i=t[o]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(d===r||d===a))return e()}var c=document.getElementsByTagName("style");for(o=0;o<c.length;o++){var i;if((d=(i=c[o]).getAttribute("data-href"))===r||d===a)return e()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=e,s.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+f+" failed.\n("+r+")");t.request=r,delete u[f],s.parentNode.removeChild(s),n(t)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)}).then(function(){u[f]=0}));var t=l[f];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[f]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"video"}[f]||f)+"."+{0:"6a735dfd",1:"5e11f90b",2:"7b12721b",3:"40b98937",4:"686386e3",5:"3453dffe",6:"c0df7d9c",7:"f661a062",8:"801f4f4a",9:"171e7f2f",10:"89643eb1",11:"19db90d3",12:"35bdf09d",13:"c2056035",14:"ea8efcd5",15:"3adbd0d8",16:"065f0d9d",17:"98f671dc",18:"5fbe4d21",19:"7daf188b",20:"2ca42752",21:"198c6595",22:"f2fc5b59",23:"4c950270",24:"12dc4a61",25:"cba8945b",26:"b93eedf8",27:"96123e04",28:"d2976297",30:"0049eedc",31:"709e7cd6",32:"fee41c6c",33:"a662176d",34:"f39d9f31",35:"8b7f7df1",37:"b4e17ab5",38:"5d45802a",39:"8a79f8ca",40:"1191e8a7",41:"63763c68",42:"cc0dbbbe",44:"fb53337b",45:"7763efee",46:"420a3f4b",47:"77e14ca9",48:"8cced5a9",49:"678b8029",50:"7d9308b2",51:"5967d2db"}[f]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(d);var r=l[f];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+f+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[f]=void 0}};var d=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=i,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;s()}([])</script><script src="/mrstatic/js/43.09eedf69.chunk.js"></script><script src="/mrstatic/js/main.5510d429.chunk.js"></script></body></html>
\ No newline at end of file
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.34420cd39eb9d6f97bd12a3757773e0c.js"
);
workbox.clientsClaim();
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute("/index.html", {
blacklist: [/^\/_/,/\/[^/]+\.[^/]+$/],
});
......@@ -147,10 +147,11 @@ class MyTreasure extends Component {
// 拆宝箱--拆
toSplitTreasure = (params) => {
alert('split')
http.post(`${API.home}/sys/split_treasure`, params).then(res => {
const { code, data } = res.data;
if(code === 200) {
alert(JSON.stringify(data))
// 拆宝箱弹窗--成功
this.showSuccessSplit(data);
......@@ -393,7 +394,9 @@ class MyTreasure extends Component {
// 第三:奖品,现金红包--提现
toFecthMoney = () => {
const { history } = this.props;
alert(getParam('version'));
if(getParam('version')) {
alert(0);
SendMessageToApp('toAccount')
}else {
history.push('/scholarship');
......
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