Skip to content

Commit

Permalink
重构代码
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBrightHub committed Feb 14, 2020
1 parent 4548dcb commit 676a9f3
Show file tree
Hide file tree
Showing 54 changed files with 1,271 additions and 1,416 deletions.
16 changes: 8 additions & 8 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"files": {
"main.css": "/a9pack/static/css/main.ea79c647.chunk.css",
"main.js": "/a9pack/static/js/main.3df900b6.chunk.js",
"main.css": "/a9pack/static/css/main.62b2468e.chunk.css",
"main.js": "/a9pack/static/js/main.e4403c73.chunk.js",
"runtime-main.js": "/a9pack/static/js/runtime-main.07194dcc.js",
"static/css/2.98f446aa.chunk.css": "/a9pack/static/css/2.98f446aa.chunk.css",
"static/js/2.929edb17.chunk.js": "/a9pack/static/js/2.929edb17.chunk.js",
"static/js/2.b1bb41ce.chunk.js": "/a9pack/static/js/2.b1bb41ce.chunk.js",
"index.html": "/a9pack/index.html",
"precache-manifest.4df1eeb22ee5467b79992ad3f7e8815b.js": "/a9pack/precache-manifest.4df1eeb22ee5467b79992ad3f7e8815b.js",
"precache-manifest.34b1fcc9e72781805a56d095224a0fec.js": "/a9pack/precache-manifest.34b1fcc9e72781805a56d095224a0fec.js",
"service-worker.js": "/a9pack/service-worker.js",
"static/js/2.929edb17.chunk.js.LICENSE": "/a9pack/static/js/2.929edb17.chunk.js.LICENSE"
"static/js/2.b1bb41ce.chunk.js.LICENSE": "/a9pack/static/js/2.b1bb41ce.chunk.js.LICENSE"
},
"entrypoints": [
"static/js/runtime-main.07194dcc.js",
"static/css/2.98f446aa.chunk.css",
"static/js/2.929edb17.chunk.js",
"static/css/main.ea79c647.chunk.css",
"static/js/main.3df900b6.chunk.js"
"static/js/2.b1bb41ce.chunk.js",
"static/css/main.62b2468e.chunk.css",
"static/js/main.e4403c73.chunk.js"
]
}
80 changes: 79 additions & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,79 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/a9pack/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="氪金传奇"/><link rel="apple-touch-icon" href="/a9pack/logo192.png"/><link rel="manifest" href="/a9pack/manifest.json"/><title>抽包模拟器</title><link href="/a9pack/static/css/2.98f446aa.chunk.css" rel="stylesheet"><link href="/a9pack/static/css/main.ea79c647.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(p){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],a=0,l=[];a<n.length;a++)t=n[a],Object.prototype.hasOwnProperty.call(f,t)&&f[t]&&l.push(f[t][0]),f[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(p[r]=o[r]);for(s&&s(e);l.length;)l.shift()();return i.push.apply(i,u||[]),c()}function c(){for(var e,r=0;r<i.length;r++){for(var t=i[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==f[u]&&(n=!1)}n&&(i.splice(r--,1),e=a(a.s=t[0]))}return e}var t={},f={1:0},i=[];function a(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return p[e].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=p,a.c=t,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(r,e){if(1&e&&(r=a(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)a.d(t,n,function(e){return r[e]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/a9pack/";var r=this.webpackJsonpa9pack=this.webpackJsonpa9pack||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;c()}([])</script><script src="/a9pack/static/js/2.929edb17.chunk.js"></script><script src="/a9pack/static/js/main.3df900b6.chunk.js"></script></body></html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="icon" href="/a9pack/favicon.ico"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<meta name="description" content="氪金传奇"/>
<link rel="apple-touch-icon" href="/a9pack/logo192.png"/>
<link rel="manifest" href="/a9pack/manifest.json"/>
<title>抽包模拟器</title>
<link href="/a9pack/static/css/2.98f446aa.chunk.css" rel="stylesheet">
<link href="/a9pack/static/css/main.62b2468e.chunk.css" rel="stylesheet">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script>!function (p) {
function e(e) {
for (var r, t, n = e[0], o = e[1], u = e[2], a = 0, l = []; a < n.length; a++) t = n[a], Object.prototype.hasOwnProperty.call(f, t) && f[t] && l.push(f[t][0]), f[t] = 0;
for (r in o) Object.prototype.hasOwnProperty.call(o, r) && (p[r] = o[r]);
for (s && s(e); l.length;) l.shift()();
return i.push.apply(i, u || []), c()
}

function c() {
for (var e, r = 0; r < i.length; r++) {
for (var t = i[r], n = !0, o = 1; o < t.length; o++) {
var u = t[o];
0 !== f[u] && (n = !1)
}
n && (i.splice(r--, 1), e = a(a.s = t[0]))
}
return e
}

var t = {}, f = {1: 0}, i = [];

function a(e) {
if (t[e]) return t[e].exports;
var r = t[e] = {i: e, l: !1, exports: {}};
return p[e].call(r.exports, r, r.exports, a), r.l = !0, r.exports
}

a.m = p, a.c = t, a.d = function (e, r, t) {
a.o(e, r) || Object.defineProperty(e, r, {enumerable: !0, get: t})
}, a.r = function (e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
}, a.t = function (r, e) {
if (1 & e && (r = a(r)), 8 & e) return r;
if (4 & e && "object" == typeof r && r && r.__esModule) return r;
var t = Object.create(null);
if (a.r(t), Object.defineProperty(t, "default", {
enumerable: !0,
value: r
}), 2 & e && "string" != typeof r) for (var n in r) a.d(t, n, function (e) {
return r[e]
}.bind(null, n));
return t
}, a.n = function (e) {
var r = e && e.__esModule ? function () {
return e.default
} : function () {
return e
};
return a.d(r, "a", r), r
}, a.o = function (e, r) {
return Object.prototype.hasOwnProperty.call(e, r)
}, a.p = "/a9pack/";
var r = this.webpackJsonpa9pack = this.webpackJsonpa9pack || [], n = r.push.bind(r);
r.push = e, r = r.slice();
for (var o = 0; o < r.length; o++) e(r[o]);
var s = n;
c()
}([])</script>
<script src="/a9pack/static/js/2.b1bb41ce.chunk.js"></script>
<script src="/a9pack/static/js/main.e4403c73.chunk.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion build/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/a9pack/precache-manifest.4df1eeb22ee5467b79992ad3f7e8815b.js"
"/a9pack/precache-manifest.34b1fcc9e72781805a56d095224a0fec.js"
);

self.addEventListener('message', (event) => {
Expand Down
20 changes: 20 additions & 0 deletions build_backup/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"files": {
"main.css": "/a9pack/static/css/main.ea79c647.chunk.css",
"main.js": "/a9pack/static/js/main.3df900b6.chunk.js",
"runtime-main.js": "/a9pack/static/js/runtime-main.07194dcc.js",
"static/css/2.98f446aa.chunk.css": "/a9pack/static/css/2.98f446aa.chunk.css",
"static/js/2.929edb17.chunk.js": "/a9pack/static/js/2.929edb17.chunk.js",
"index.html": "/a9pack/index.html",
"precache-manifest.4df1eeb22ee5467b79992ad3f7e8815b.js": "/a9pack/precache-manifest.4df1eeb22ee5467b79992ad3f7e8815b.js",
"service-worker.js": "/a9pack/service-worker.js",
"static/js/2.929edb17.chunk.js.LICENSE": "/a9pack/static/js/2.929edb17.chunk.js.LICENSE"
},
"entrypoints": [
"static/js/runtime-main.07194dcc.js",
"static/css/2.98f446aa.chunk.css",
"static/js/2.929edb17.chunk.js",
"static/css/main.ea79c647.chunk.css",
"static/js/main.3df900b6.chunk.js"
]
}
Binary file added build_backup/favicon.ico
Binary file not shown.
79 changes: 79 additions & 0 deletions build_backup/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="icon" href="/a9pack/favicon.ico"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<meta name="description" content="氪金传奇"/>
<link rel="apple-touch-icon" href="/a9pack/logo192.png"/>
<link rel="manifest" href="/a9pack/manifest.json"/>
<title>抽包模拟器</title>
<link href="/a9pack/static/css/2.98f446aa.chunk.css" rel="stylesheet">
<link href="/a9pack/static/css/main.ea79c647.chunk.css" rel="stylesheet">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script>!function (p) {
function e(e) {
for (var r, t, n = e[0], o = e[1], u = e[2], a = 0, l = []; a < n.length; a++) t = n[a], Object.prototype.hasOwnProperty.call(f, t) && f[t] && l.push(f[t][0]), f[t] = 0;
for (r in o) Object.prototype.hasOwnProperty.call(o, r) && (p[r] = o[r]);
for (s && s(e); l.length;) l.shift()();
return i.push.apply(i, u || []), c()
}

function c() {
for (var e, r = 0; r < i.length; r++) {
for (var t = i[r], n = !0, o = 1; o < t.length; o++) {
var u = t[o];
0 !== f[u] && (n = !1)
}
n && (i.splice(r--, 1), e = a(a.s = t[0]))
}
return e
}

var t = {}, f = {1: 0}, i = [];

function a(e) {
if (t[e]) return t[e].exports;
var r = t[e] = {i: e, l: !1, exports: {}};
return p[e].call(r.exports, r, r.exports, a), r.l = !0, r.exports
}

a.m = p, a.c = t, a.d = function (e, r, t) {
a.o(e, r) || Object.defineProperty(e, r, {enumerable: !0, get: t})
}, a.r = function (e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
}, a.t = function (r, e) {
if (1 & e && (r = a(r)), 8 & e) return r;
if (4 & e && "object" == typeof r && r && r.__esModule) return r;
var t = Object.create(null);
if (a.r(t), Object.defineProperty(t, "default", {
enumerable: !0,
value: r
}), 2 & e && "string" != typeof r) for (var n in r) a.d(t, n, function (e) {
return r[e]
}.bind(null, n));
return t
}, a.n = function (e) {
var r = e && e.__esModule ? function () {
return e.default
} : function () {
return e
};
return a.d(r, "a", r), r
}, a.o = function (e, r) {
return Object.prototype.hasOwnProperty.call(e, r)
}, a.p = "/a9pack/";
var r = this.webpackJsonpa9pack = this.webpackJsonpa9pack || [], n = r.push.bind(r);
r.push = e, r = r.slice();
for (var o = 0; o < r.length; o++) e(r[o]);
var s = n;
c()
}([])</script>
<script src="/a9pack/static/js/2.929edb17.chunk.js"></script>
<script src="/a9pack/static/js/main.3df900b6.chunk.js"></script>
</body>
</html>
Binary file added build_backup/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build_backup/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions build_backup/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
30 changes: 30 additions & 0 deletions build_backup/precache-manifest.24571843ec6acfb3d10d404538ba9daa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "382b98cae42a2393393763c40c3778b2",
"url": "/a9pack/index.html"
},
{
"revision": "7b6d73a1f209980f0841",
"url": "/a9pack/static/css/2.324e854a.chunk.css"
},
{
"revision": "49d67ed9cf93f537a045",
"url": "/a9pack/static/css/main.ea79c647.chunk.css"
},
{
"revision": "7b6d73a1f209980f0841",
"url": "/a9pack/static/js/2.8171bdfa.chunk.js"
},
{
"revision": "7fa111f2e6ee7d784579c954370996ba",
"url": "/a9pack/static/js/2.8171bdfa.chunk.js.LICENSE"
},
{
"revision": "49d67ed9cf93f537a045",
"url": "/a9pack/static/js/main.e232d203.chunk.js"
},
{
"revision": "2d633c2b9b9ccc4fe4f8",
"url": "/a9pack/static/js/runtime-main.07194dcc.js"
}
]);
30 changes: 30 additions & 0 deletions build_backup/precache-manifest.4df1eeb22ee5467b79992ad3f7e8815b.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "e9f879bcb298606ed9f930190a87526c",
"url": "/a9pack/index.html"
},
{
"revision": "44aefc5f3f1c579102fe",
"url": "/a9pack/static/css/2.98f446aa.chunk.css"
},
{
"revision": "bc8e55bc004cbf4d35a4",
"url": "/a9pack/static/css/main.ea79c647.chunk.css"
},
{
"revision": "44aefc5f3f1c579102fe",
"url": "/a9pack/static/js/2.929edb17.chunk.js"
},
{
"revision": "f316d4e6c0976d496ccf00e4d419cd93",
"url": "/a9pack/static/js/2.929edb17.chunk.js.LICENSE"
},
{
"revision": "bc8e55bc004cbf4d35a4",
"url": "/a9pack/static/js/main.3df900b6.chunk.js"
},
{
"revision": "2d633c2b9b9ccc4fe4f8",
"url": "/a9pack/static/js/runtime-main.07194dcc.js"
}
]);
30 changes: 30 additions & 0 deletions build_backup/precache-manifest.ba327aa9177b832d7480f349370d5dc2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "4c689a41faf9d8692a5b65b7878db2a3",
"url": "/a9pack/index.html"
},
{
"revision": "7b6d73a1f209980f0841",
"url": "/a9pack/static/css/2.324e854a.chunk.css"
},
{
"revision": "cf880ade3e65aed8ffac",
"url": "/a9pack/static/css/main.ea79c647.chunk.css"
},
{
"revision": "7b6d73a1f209980f0841",
"url": "/a9pack/static/js/2.8171bdfa.chunk.js"
},
{
"revision": "7fa111f2e6ee7d784579c954370996ba",
"url": "/a9pack/static/js/2.8171bdfa.chunk.js.LICENSE"
},
{
"revision": "cf880ade3e65aed8ffac",
"url": "/a9pack/static/js/main.89203f2e.chunk.js"
},
{
"revision": "2d633c2b9b9ccc4fe4f8",
"url": "/a9pack/static/js/runtime-main.07194dcc.js"
}
]);
Binary file added build_backup/qr-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions build_backup/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
39 changes: 39 additions & 0 deletions build_backup/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
* 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/4.3.1/workbox-sw.js");

importScripts(
"/a9pack/precache-manifest.4df1eeb22ee5467b79992ad3f7e8815b.js"
);

self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});

workbox.core.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.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/a9pack/index.html"), {

blacklist: [/^\/_/, /\/[^\/?]+\.[^\/]+$/],
});
10 changes: 10 additions & 0 deletions build_backup/static/css/2.324e854a.chunk.css

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions build_backup/static/css/2.98f446aa.chunk.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build_backup/static/css/main.ea79c647.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions build_backup/static/js/2.8171bdfa.chunk.js

Large diffs are not rendered by default.

Loading

0 comments on commit 676a9f3

Please sign in to comment.