Commit 6fa8ff67 by xuzhenghua

test

parent 438c52b2
......@@ -17,42 +17,42 @@
"MyEdit.js": "/static/js/MyEdit.983c0a9f.chunk.js",
"MyEdit.js.map": "/static/js/MyEdit.983c0a9f.chunk.js.map",
"Order.css": "/static/css/Order.061a2017.chunk.css",
"Order.js": "/static/js/Order.bf6947f5.chunk.js",
"Order.js.map": "/static/js/Order.bf6947f5.chunk.js.map",
"Order.js": "/static/js/Order.e58bd054.chunk.js",
"Order.js.map": "/static/js/Order.e58bd054.chunk.js.map",
"Orderinfo.js": "/static/js/Orderinfo.59a94f4c.chunk.js",
"Orderinfo.js.map": "/static/js/Orderinfo.59a94f4c.chunk.js.map",
"PayOrder.css": "/static/css/PayOrder.a9111f28.chunk.css",
"PayOrder.js": "/static/js/PayOrder.ffed96b0.chunk.js",
"PayOrder.js.map": "/static/js/PayOrder.ffed96b0.chunk.js.map",
"PayOrder.js": "/static/js/PayOrder.450c8914.chunk.js",
"PayOrder.js.map": "/static/js/PayOrder.450c8914.chunk.js.map",
"Preferential.css": "/static/css/Preferential.24bff4f1.chunk.css",
"Preferential.js": "/static/js/Preferential.324e3628.chunk.js",
"Preferential.js.map": "/static/js/Preferential.324e3628.chunk.js.map",
"SearchResult.css": "/static/css/SearchResult.39877e48.chunk.css",
"SearchResult.js": "/static/js/SearchResult.e5c0bee9.chunk.js",
"SearchResult.js.map": "/static/js/SearchResult.e5c0bee9.chunk.js.map",
"SearchResult.js": "/static/js/SearchResult.79b6a26f.chunk.js",
"SearchResult.js.map": "/static/js/SearchResult.79b6a26f.chunk.js.map",
"ShopCart.css": "/static/css/ShopCart.8f4c32db.chunk.css",
"ShopCart.js": "/static/js/ShopCart.dcffd365.chunk.js",
"ShopCart.js.map": "/static/js/ShopCart.dcffd365.chunk.js.map",
"coupons.css": "/static/css/coupons.f2c7a13b.chunk.css",
"coupons.js": "/static/js/coupons.3ed720d4.chunk.js",
"coupons.js.map": "/static/js/coupons.3ed720d4.chunk.js.map",
"coupons.js": "/static/js/coupons.9cd51933.chunk.js",
"coupons.js.map": "/static/js/coupons.9cd51933.chunk.js.map",
"detail.css": "/static/css/detail.81a7a51b.chunk.css",
"detail.js": "/static/js/detail.5190994c.chunk.js",
"detail.js.map": "/static/js/detail.5190994c.chunk.js.map",
"detail.js": "/static/js/detail.8cb52874.chunk.js",
"detail.js.map": "/static/js/detail.8cb52874.chunk.js.map",
"main.css": "/static/css/main.85b2cbbe.chunk.css",
"main.js": "/static/js/main.5335dd63.chunk.js",
"main.js.map": "/static/js/main.5335dd63.chunk.js.map",
"main.js": "/static/js/main.21a70b25.chunk.js",
"main.js.map": "/static/js/main.21a70b25.chunk.js.map",
"myorders.css": "/static/css/myorders.99c740b6.chunk.css",
"myorders.js": "/static/js/myorders.9b8b5167.chunk.js",
"myorders.js.map": "/static/js/myorders.9b8b5167.chunk.js.map",
"purchased.css": "/static/css/purchased.a0379bec.chunk.css",
"purchased.js": "/static/js/purchased.7644d0f1.chunk.js",
"purchased.js.map": "/static/js/purchased.7644d0f1.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.222113da.js",
"runtime~main.js.map": "/static/js/runtime~main.222113da.js.map",
"runtime~main.js": "/static/js/runtime~main.335fa3b8.js",
"runtime~main.js.map": "/static/js/runtime~main.335fa3b8.js.map",
"search.css": "/static/css/search.d9c6ab17.chunk.css",
"search.js": "/static/js/search.1699b6eb.chunk.js",
"search.js.map": "/static/js/search.1699b6eb.chunk.js.map",
"search.js": "/static/js/search.d09c508d.chunk.js",
"search.js.map": "/static/js/search.d09c508d.chunk.js.map",
"shareposter.css": "/static/css/shareposter.175bee2a.chunk.css",
"shareposter.js": "/static/js/shareposter.36e797f2.chunk.js",
"shareposter.js.map": "/static/js/shareposter.36e797f2.chunk.js.map",
......@@ -66,25 +66,25 @@
"video.js": "/static/js/video.18a7f1be.chunk.js",
"video.js.map": "/static/js/video.18a7f1be.chunk.js.map",
"static/css/23.317ab416.chunk.css": "/static/css/23.317ab416.chunk.css",
"static/js/23.566fd861.chunk.js": "/static/js/23.566fd861.chunk.js",
"static/js/23.566fd861.chunk.js.map": "/static/js/23.566fd861.chunk.js.map",
"static/js/23.d7b4faf4.chunk.js": "/static/js/23.d7b4faf4.chunk.js",
"static/js/23.d7b4faf4.chunk.js.map": "/static/js/23.d7b4faf4.chunk.js.map",
"static/css/24.d5e7ded0.chunk.css": "/static/css/24.d5e7ded0.chunk.css",
"static/js/24.857857db.chunk.js": "/static/js/24.857857db.chunk.js",
"static/js/24.857857db.chunk.js.map": "/static/js/24.857857db.chunk.js.map",
"static/js/24.40016349.chunk.js": "/static/js/24.40016349.chunk.js",
"static/js/24.40016349.chunk.js.map": "/static/js/24.40016349.chunk.js.map",
"static/js/25.b040eb1b.chunk.js": "/static/js/25.b040eb1b.chunk.js",
"static/js/25.b040eb1b.chunk.js.map": "/static/js/25.b040eb1b.chunk.js.map",
"static/js/26.39ab45ac.chunk.js": "/static/js/26.39ab45ac.chunk.js",
"static/js/26.39ab45ac.chunk.js.map": "/static/js/26.39ab45ac.chunk.js.map",
"static/js/27.72c28975.chunk.js": "/static/js/27.72c28975.chunk.js",
"static/js/27.72c28975.chunk.js.map": "/static/js/27.72c28975.chunk.js.map",
"static/js/28.6a438874.chunk.js": "/static/js/28.6a438874.chunk.js",
"static/js/28.6a438874.chunk.js.map": "/static/js/28.6a438874.chunk.js.map",
"static/js/26.2f74d0be.chunk.js": "/static/js/26.2f74d0be.chunk.js",
"static/js/26.2f74d0be.chunk.js.map": "/static/js/26.2f74d0be.chunk.js.map",
"static/js/27.fcad126f.chunk.js": "/static/js/27.fcad126f.chunk.js",
"static/js/27.fcad126f.chunk.js.map": "/static/js/27.fcad126f.chunk.js.map",
"static/js/28.e847de44.chunk.js": "/static/js/28.e847de44.chunk.js",
"static/js/28.e847de44.chunk.js.map": "/static/js/28.e847de44.chunk.js.map",
"static/js/29.6c5617ab.chunk.js": "/static/js/29.6c5617ab.chunk.js",
"static/js/29.6c5617ab.chunk.js.map": "/static/js/29.6c5617ab.chunk.js.map",
"static/js/30.5dc9697f.chunk.js": "/static/js/30.5dc9697f.chunk.js",
"static/js/30.5dc9697f.chunk.js.map": "/static/js/30.5dc9697f.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.4bc78496e4466aa4e59d3a69b9ae58de.js": "/precache-manifest.4bc78496e4466aa4e59d3a69b9ae58de.js",
"precache-manifest.989d88c42450765b89cbe313bdd4a6bb.js": "/precache-manifest.989d88c42450765b89cbe313bdd4a6bb.js",
"service-worker.js": "/service-worker.js",
"static/css/23.317ab416.chunk.css.map": "/static/css/23.317ab416.chunk.css.map",
"static/css/24.d5e7ded0.chunk.css.map": "/static/css/24.d5e7ded0.chunk.css.map",
......
......@@ -44,24 +44,24 @@ self.__precacheManifest = [
"url": "/static/js/MyEdit.983c0a9f.chunk.js"
},
{
"revision": "b90285b44a617e2fa879",
"revision": "78e282aa0e04c8d2f10c",
"url": "/static/css/Order.061a2017.chunk.css"
},
{
"revision": "b90285b44a617e2fa879",
"url": "/static/js/Order.bf6947f5.chunk.js"
"revision": "78e282aa0e04c8d2f10c",
"url": "/static/js/Order.e58bd054.chunk.js"
},
{
"revision": "9b85a540e48004a3e873",
"url": "/static/js/Orderinfo.59a94f4c.chunk.js"
},
{
"revision": "4388ba6c81cc9aa96376",
"revision": "cff9857a46ef2acbf40b",
"url": "/static/css/PayOrder.a9111f28.chunk.css"
},
{
"revision": "4388ba6c81cc9aa96376",
"url": "/static/js/PayOrder.ffed96b0.chunk.js"
"revision": "cff9857a46ef2acbf40b",
"url": "/static/js/PayOrder.450c8914.chunk.js"
},
{
"revision": "96b94869675fcee10c4c",
......@@ -72,12 +72,12 @@ self.__precacheManifest = [
"url": "/static/js/Preferential.324e3628.chunk.js"
},
{
"revision": "90b5202ef8e0b89d7290",
"revision": "3f14642b80308372fdc2",
"url": "/static/css/SearchResult.39877e48.chunk.css"
},
{
"revision": "90b5202ef8e0b89d7290",
"url": "/static/js/SearchResult.e5c0bee9.chunk.js"
"revision": "3f14642b80308372fdc2",
"url": "/static/js/SearchResult.79b6a26f.chunk.js"
},
{
"revision": "06f520d7785e13c822aa",
......@@ -88,28 +88,28 @@ self.__precacheManifest = [
"url": "/static/js/ShopCart.dcffd365.chunk.js"
},
{
"revision": "fe6d05061e89bc4c241f",
"revision": "55dddff214e90d16c2c7",
"url": "/static/css/coupons.f2c7a13b.chunk.css"
},
{
"revision": "fe6d05061e89bc4c241f",
"url": "/static/js/coupons.3ed720d4.chunk.js"
"revision": "55dddff214e90d16c2c7",
"url": "/static/js/coupons.9cd51933.chunk.js"
},
{
"revision": "2974a3bdb8f8d2034253",
"revision": "fb4233d28417366b564d",
"url": "/static/css/detail.81a7a51b.chunk.css"
},
{
"revision": "2974a3bdb8f8d2034253",
"url": "/static/js/detail.5190994c.chunk.js"
"revision": "fb4233d28417366b564d",
"url": "/static/js/detail.8cb52874.chunk.js"
},
{
"revision": "991157bd60012837562a",
"revision": "a67086eea82321cad077",
"url": "/static/css/main.85b2cbbe.chunk.css"
},
{
"revision": "991157bd60012837562a",
"url": "/static/js/main.5335dd63.chunk.js"
"revision": "a67086eea82321cad077",
"url": "/static/js/main.21a70b25.chunk.js"
},
{
"revision": "100fd08f74adc6d9c212",
......@@ -128,16 +128,16 @@ self.__precacheManifest = [
"url": "/static/js/purchased.7644d0f1.chunk.js"
},
{
"revision": "2b0d702feca8349ea8d2",
"url": "/static/js/runtime~main.222113da.js"
"revision": "1e6fc6972e122fff9740",
"url": "/static/js/runtime~main.335fa3b8.js"
},
{
"revision": "f6653ce1c40f9021bd02",
"revision": "ba21bdc32018bf297f02",
"url": "/static/css/search.d9c6ab17.chunk.css"
},
{
"revision": "f6653ce1c40f9021bd02",
"url": "/static/js/search.1699b6eb.chunk.js"
"revision": "ba21bdc32018bf297f02",
"url": "/static/js/search.d09c508d.chunk.js"
},
{
"revision": "4c3ca826ff16dff84000",
......@@ -176,32 +176,32 @@ self.__precacheManifest = [
"url": "/static/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "0a66aa94a8981c4031fc",
"url": "/static/js/23.566fd861.chunk.js"
"revision": "7307e698dfe2a558cf75",
"url": "/static/js/23.d7b4faf4.chunk.js"
},
{
"revision": "d46cd6ebd635706289b02b7defcfb46b",
"url": "/static/media/iconfont.d46cd6eb.svg"
},
{
"revision": "95cb777470169c1a5c74",
"url": "/static/js/24.857857db.chunk.js"
"revision": "a188848b7d2094165106",
"url": "/static/js/24.40016349.chunk.js"
},
{
"revision": "d6a423cefa52481aa993",
"url": "/static/js/25.b040eb1b.chunk.js"
},
{
"revision": "cfd05fc450a78d7706a5",
"url": "/static/js/26.39ab45ac.chunk.js"
"revision": "62fd6e5efde7771a7674",
"url": "/static/js/26.2f74d0be.chunk.js"
},
{
"revision": "4b3c3fe032ed67453894",
"url": "/static/js/27.72c28975.chunk.js"
"revision": "6a38ff9bb2b01068a7a4",
"url": "/static/js/27.fcad126f.chunk.js"
},
{
"revision": "757494f23c28cb50dec7",
"url": "/static/js/28.6a438874.chunk.js"
"revision": "914dfc9d6014dff46a90",
"url": "/static/js/28.e847de44.chunk.js"
},
{
"revision": "d1388604353e4f0cfba0",
......@@ -224,15 +224,15 @@ self.__precacheManifest = [
"url": "/static/media/iconfont.68ab3b59.ttf"
},
{
"revision": "95cb777470169c1a5c74",
"revision": "a188848b7d2094165106",
"url": "/static/css/24.d5e7ded0.chunk.css"
},
{
"revision": "0a66aa94a8981c4031fc",
"revision": "7307e698dfe2a558cf75",
"url": "/static/css/23.317ab416.chunk.css"
},
{
"revision": "aeee86fb454846fecd6f68671926afce",
"revision": "304b67d6ecdd31c990fa01514b6f6b39",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.4bc78496e4466aa4e59d3a69b9ae58de.js"
"/precache-manifest.989d88c42450765b89cbe313bdd4a6bb.js"
);
workbox.clientsClaim();
......
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.
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.
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.
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.
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){function r(r){for(var n,a,c=r[0],i=r[1],u=r[2],d=0,l=[];d<c.length;d++)a=c[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(r);l.length;)l.shift()();return f.push.apply(f,u||[]),t()}function t(){for(var e,r=0;r<f.length;r++){for(var t=f[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(f.splice(r--,1),e=c(c.s=t[0]))}return e}var n={},a={17:0},o={17:0},f=[];function c(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,24:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"coupons",13:"detail",15:"myorders",16:"purchased",18:"search",19:"shareposter",20:"study",21:"togroup",22:"video"}[e]||e)+"."+{0:"0da8202c",1:"236fe0f6",2:"17f99bea",3:"aeb3f822",4:"329af8a5",5:"31d6cfe0",6:"061a2017",7:"31d6cfe0",8:"a9111f28",9:"24bff4f1",10:"39877e48",11:"8f4c32db",12:"f2c7a13b",13:"81a7a51b",15:"99c740b6",16:"a0379bec",18:"d9c6ab17",19:"175bee2a",20:"89cea91f",21:"f08bc5f3",22:"b761831f",24:"d5e7ded0",25:"31d6cfe0",26:"31d6cfe0",27:"31d6cfe0",28:"31d6cfe0",29:"31d6cfe0",30:"31d6cfe0"}[e]+".chunk.css",o=c.p+n,f=document.getElementsByTagName("link"),i=0;i<f.length;i++){var u=(s=f[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var s;if((u=(s=d[i]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,f=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");f.request=n,delete a[e],l.parentNode.removeChild(l),t(f)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var f,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"coupons",13:"detail",15:"myorders",16:"purchased",18:"search",19:"shareposter",20:"study",21:"togroup",22:"video"}[e]||e)+"."+{0:"37659b63",1:"6ff17007",2:"a50c350a",3:"49ad100d",4:"2fae6125",5:"983c0a9f",6:"bf6947f5",7:"59a94f4c",8:"ffed96b0",9:"324e3628",10:"e5c0bee9",11:"dcffd365",12:"3ed720d4",13:"5190994c",15:"9b8b5167",16:"7644d0f1",18:"1699b6eb",19:"36e797f2",20:"8cf49f48",21:"296be5f5",22:"18a7f1be",24:"857857db",25:"b040eb1b",26:"39ab45ac",27:"72c28975",28:"6a438874",29:"6c5617ab",30:"5dc9697f"}[e]+".chunk.js"}(e),f=function(r){i.onerror=i.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,f=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");f.type=n,f.request=a,t[1](f)}o[e]=void 0}};var u=setTimeout(function(){f({type:"timeout",target:i})},12e4);i.onerror=i.onload=f,document.head.appendChild(i)}return Promise.all(r)},c.m=e,c.c=n,c.d=function(e,r,t){c.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,r){if(1&r&&(e=c(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)c.d(t,n,function(r){return e[r]}.bind(null,n));return t},c.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(r,"a",r),r},c.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},c.p="/",c.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=r,i=i.slice();for(var d=0;d<i.length;d++)r(i[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.222113da.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,c=r[0],i=r[1],u=r[2],d=0,l=[];d<c.length;d++)a=c[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(r);l.length;)l.shift()();return f.push.apply(f,u||[]),t()}function t(){for(var e,r=0;r<f.length;r++){for(var t=f[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(f.splice(r--,1),e=c(c.s=t[0]))}return e}var n={},a={17:0},o={17:0},f=[];function c(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,24:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"coupons",13:"detail",15:"myorders",16:"purchased",18:"search",19:"shareposter",20:"study",21:"togroup",22:"video"}[e]||e)+"."+{0:"0da8202c",1:"236fe0f6",2:"17f99bea",3:"aeb3f822",4:"329af8a5",5:"31d6cfe0",6:"061a2017",7:"31d6cfe0",8:"a9111f28",9:"24bff4f1",10:"39877e48",11:"8f4c32db",12:"f2c7a13b",13:"81a7a51b",15:"99c740b6",16:"a0379bec",18:"d9c6ab17",19:"175bee2a",20:"89cea91f",21:"f08bc5f3",22:"b761831f",24:"d5e7ded0",25:"31d6cfe0",26:"31d6cfe0",27:"31d6cfe0",28:"31d6cfe0",29:"31d6cfe0",30:"31d6cfe0"}[e]+".chunk.css",o=c.p+n,f=document.getElementsByTagName("link"),i=0;i<f.length;i++){var u=(s=f[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var s;if((u=(s=d[i]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,f=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");f.request=n,delete a[e],l.parentNode.removeChild(l),t(f)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var f,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"coupons",13:"detail",15:"myorders",16:"purchased",18:"search",19:"shareposter",20:"study",21:"togroup",22:"video"}[e]||e)+"."+{0:"37659b63",1:"6ff17007",2:"a50c350a",3:"49ad100d",4:"2fae6125",5:"983c0a9f",6:"e58bd054",7:"59a94f4c",8:"450c8914",9:"324e3628",10:"79b6a26f",11:"dcffd365",12:"9cd51933",13:"8cb52874",15:"9b8b5167",16:"7644d0f1",18:"d09c508d",19:"36e797f2",20:"8cf49f48",21:"296be5f5",22:"18a7f1be",24:"40016349",25:"b040eb1b",26:"2f74d0be",27:"fcad126f",28:"e847de44",29:"6c5617ab",30:"5dc9697f"}[e]+".chunk.js"}(e),f=function(r){i.onerror=i.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,f=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");f.type=n,f.request=a,t[1](f)}o[e]=void 0}};var u=setTimeout(function(){f({type:"timeout",target:i})},12e4);i.onerror=i.onload=f,document.head.appendChild(i)}return Promise.all(r)},c.m=e,c.c=n,c.d=function(e,r,t){c.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,r){if(1&r&&(e=c(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)c.d(t,n,function(r){return e[r]}.bind(null,n));return t},c.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(r,"a",r),r},c.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},c.p="/",c.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=r,i=i.slice();for(var d=0;d<i.length;d++)r(i[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.335fa3b8.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{596:function(e,t,a){"use strict";a(565);var n=a(568),r=a.n(n),c=a(113),s=a(7),o=a(8),i=a(10),l=a(9),h=a(11),u=a(0),d=a.n(u),m=a(54),p=(a(597),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(r)))).returnPage=function(){a.props.history.go(-1)},a.search=function(){a.storeKeyword(),a.props.handleSearch()},a.storeKeyword=function(){var e=a.props,t=e.searchHistory,n=void 0===t?[]:t,r=e.value;r&&localStorage.setItem("searchHistory",JSON.stringify([].concat(Object(c.a)(n),[r])))},a}return Object(h.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.refs.search.focus()}},{key:"render",value:function(){return d.a.createElement("div",{className:"search-head"},d.a.createElement("div",{className:"left",onClick:this.returnPage},d.a.createElement("i",{className:"iconfont iconiconfront-68"})),d.a.createElement("div",{className:"center"},d.a.createElement(r.a,{value:this.props.value,showCancelButton:!0,cancelText:" ",ref:"search",focus:!0,onChange:this.props.handleChange,placeholder:"\u641c\u7d22\u8bfe\u7a0b"})),d.a.createElement("div",{className:"right right-btn",onClick:this.search},d.a.createElement("div",{className:"submit-btn"},"\u641c\u7d22")))}}]),t}(u.PureComponent));t.a=Object(m.g)(p)},597:function(e,t,a){},750:function(e,t,a){},751:function(e,t,a){},792:function(e,t,a){"use strict";a.r(t);var n=a(746),r=a.n(n),c=a(749),s=a(113),o=a(7),i=a(8),l=a(10),h=a(9),u=a(11),d=a(0),m=a.n(d),p=a(596),f=(a(750),function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(h.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){return m.a.createElement("span",Object.assign({className:"tag"},this.props),this.props.children)}}]),t}(d.PureComponent)),v=a(3),y=(a(751),a(16)),g=a(87),b=function(e){function t(){var e,a;Object(o.a)(this,t);for(var n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(a=Object(l.a)(this,(e=Object(h.a)(t)).call.apply(e,[this].concat(r)))).state={searchHistory:JSON.parse(localStorage.getItem("searchHistory"))||[],hot_words:[],searchList:[],value:"",isLoading:!0},a.clearHistory=function(){localStorage.setItem("searchHistory",null),a.setState({searchHistory:[]})},a.handleChange=function(e){a.setState({value:e})},a.handleSearch=function(){a.state.value&&a.props.history.push("/search-result?word=".concat(encodeURIComponent(a.state.value)))},a.storeHistory=function(e){localStorage.setItem("searchHistory",JSON.stringify([].concat(Object(s.a)(a.state.searchHistory),[e])))},a}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=Object(c.a)(r.a.mark(function e(){var t;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.d.get("".concat(v.a["search-api"],"/search_hot_word"));case 2:0===(t=e.sent).data.errno&&this.setState({hot_words:t.data.data.info.hot_words,isLoading:!1});case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this,t=this.state.searchHistory;return m.a.createElement("div",{className:"search-page"},m.a.createElement(p.a,{searchHistory:this.state.searchHistory,value:this.state.value,handleChange:this.handleChange,handleSearch:this.handleSearch}),m.a.createElement(g.a,{isLoading:this.state.isLoading},m.a.createElement("div",{className:"search-main"},m.a.createElement("div",{className:"search-land"},m.a.createElement("div",{className:"search-history"},m.a.createElement("span",null,"\u6700\u8fd1\u641c\u7d22"),m.a.createElement("i",{className:"iconfont iconiconfront-56",onClick:this.clearHistory})),m.a.createElement("div",{className:"search-tag"},t.length>0?t.map(function(e,t){return m.a.createElement(y.b,{key:t,to:"/search-result?word=".concat(encodeURIComponent(e))},m.a.createElement(f,null,e))}):m.a.createElement("div",{style:{textAlign:"center",padding:"20px"}},"\u6682\u65e0\u5386\u53f2"))),m.a.createElement("div",{className:"search-land search-hot"},m.a.createElement("label",null,m.a.createElement("span",null,"\u70ed\u95e8\u641c\u7d22")),m.a.createElement("div",{className:"search-tag"},this.state.hot_words.length>0?this.state.hot_words.map(function(t,a){return m.a.createElement(y.b,{key:a,to:"/search-result?word=".concat(encodeURIComponent(t)),onClick:e.storeHistory.bind(e,t)},m.a.createElement(f,null,t))}):m.a.createElement("div",{style:{textAlign:"center",padding:"20px"}},"\u6682\u65e0\u70ed\u95e8"))))))}}]),t}(d.PureComponent);t.default=b}}]);
//# sourceMappingURL=search.1699b6eb.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{596:function(e,t,a){"use strict";a(565);var n=a(568),r=a.n(n),c=a(114),s=a(7),o=a(8),i=a(10),l=a(9),h=a(11),u=a(0),d=a.n(u),m=a(54),p=(a(597),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(r)))).returnPage=function(){a.props.history.go(-1)},a.search=function(){a.storeKeyword(),a.props.handleSearch()},a.storeKeyword=function(){var e=a.props,t=e.searchHistory,n=void 0===t?[]:t,r=e.value;r&&localStorage.setItem("searchHistory",JSON.stringify([].concat(Object(c.a)(n),[r])))},a}return Object(h.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.refs.search.focus()}},{key:"render",value:function(){return d.a.createElement("div",{className:"search-head"},d.a.createElement("div",{className:"left",onClick:this.returnPage},d.a.createElement("i",{className:"iconfont iconiconfront-68"})),d.a.createElement("div",{className:"center"},d.a.createElement(r.a,{value:this.props.value,showCancelButton:!0,cancelText:" ",ref:"search",focus:!0,onChange:this.props.handleChange,placeholder:"\u641c\u7d22\u8bfe\u7a0b"})),d.a.createElement("div",{className:"right right-btn",onClick:this.search},d.a.createElement("div",{className:"submit-btn"},"\u641c\u7d22")))}}]),t}(u.PureComponent));t.a=Object(m.g)(p)},597:function(e,t,a){},750:function(e,t,a){},751:function(e,t,a){},792:function(e,t,a){"use strict";a.r(t);var n=a(746),r=a.n(n),c=a(749),s=a(114),o=a(7),i=a(8),l=a(10),h=a(9),u=a(11),d=a(0),m=a.n(d),p=a(596),f=(a(750),function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(h.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){return m.a.createElement("span",Object.assign({className:"tag"},this.props),this.props.children)}}]),t}(d.PureComponent)),v=a(3),y=(a(751),a(16)),g=a(87),b=function(e){function t(){var e,a;Object(o.a)(this,t);for(var n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(a=Object(l.a)(this,(e=Object(h.a)(t)).call.apply(e,[this].concat(r)))).state={searchHistory:JSON.parse(localStorage.getItem("searchHistory"))||[],hot_words:[],searchList:[],value:"",isLoading:!0},a.clearHistory=function(){localStorage.setItem("searchHistory",null),a.setState({searchHistory:[]})},a.handleChange=function(e){a.setState({value:e})},a.handleSearch=function(){a.state.value&&a.props.history.push("/search-result?word=".concat(encodeURIComponent(a.state.value)))},a.storeHistory=function(e){localStorage.setItem("searchHistory",JSON.stringify([].concat(Object(s.a)(a.state.searchHistory),[e])))},a}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=Object(c.a)(r.a.mark(function e(){var t;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.d.get("".concat(v.a["search-api"],"/search_hot_word"));case 2:0===(t=e.sent).data.errno&&this.setState({hot_words:t.data.data.info.hot_words,isLoading:!1});case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this,t=this.state.searchHistory;return m.a.createElement("div",{className:"search-page"},m.a.createElement(p.a,{searchHistory:this.state.searchHistory,value:this.state.value,handleChange:this.handleChange,handleSearch:this.handleSearch}),m.a.createElement(g.a,{isLoading:this.state.isLoading},m.a.createElement("div",{className:"search-main"},m.a.createElement("div",{className:"search-land"},m.a.createElement("div",{className:"search-history"},m.a.createElement("span",null,"\u6700\u8fd1\u641c\u7d22"),m.a.createElement("i",{className:"iconfont iconiconfront-56",onClick:this.clearHistory})),m.a.createElement("div",{className:"search-tag"},t.length>0?t.map(function(e,t){return m.a.createElement(y.b,{key:t,to:"/search-result?word=".concat(encodeURIComponent(e))},m.a.createElement(f,null,e))}):m.a.createElement("div",{style:{textAlign:"center",padding:"20px"}},"\u6682\u65e0\u5386\u53f2"))),m.a.createElement("div",{className:"search-land search-hot"},m.a.createElement("label",null,m.a.createElement("span",null,"\u70ed\u95e8\u641c\u7d22")),m.a.createElement("div",{className:"search-tag"},this.state.hot_words.length>0?this.state.hot_words.map(function(t,a){return m.a.createElement(y.b,{key:a,to:"/search-result?word=".concat(encodeURIComponent(t)),onClick:e.storeHistory.bind(e,t)},m.a.createElement(f,null,t))}):m.a.createElement("div",{style:{textAlign:"center",padding:"20px"}},"\u6682\u65e0\u70ed\u95e8"))))))}}]),t}(d.PureComponent);t.default=b}}]);
//# sourceMappingURL=search.d09c508d.chunk.js.map
\ No newline at end of file
......@@ -2,6 +2,8 @@ import axios from "axios";
import qs from 'qs'
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
axios.defaults.withCredentials = true
const instance = axios.create({
transformRequest: [
(data) => qs.stringify(data)
......
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