Commit c28b7ac2 by xuzhenghua

bug

parent 33c22894
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"Classify.js": "/static/js/Classify.f39f4af6.chunk.js", "Classify.js": "/static/js/Classify.f39f4af6.chunk.js",
"Classify.js.map": "/static/js/Classify.f39f4af6.chunk.js.map", "Classify.js.map": "/static/js/Classify.f39f4af6.chunk.js.map",
"CourseList.css": "/static/css/CourseList.5ce769bd.chunk.css", "CourseList.css": "/static/css/CourseList.5ce769bd.chunk.css",
"CourseList.js": "/static/js/CourseList.1d564862.chunk.js", "CourseList.js": "/static/js/CourseList.6b8635fc.chunk.js",
"CourseList.js.map": "/static/js/CourseList.1d564862.chunk.js.map", "CourseList.js.map": "/static/js/CourseList.6b8635fc.chunk.js.map",
"DrawDocument.css": "/static/css/DrawDocument.aeb3f822.chunk.css", "DrawDocument.css": "/static/css/DrawDocument.aeb3f822.chunk.css",
"DrawDocument.js": "/static/js/DrawDocument.7fd9d55d.chunk.js", "DrawDocument.js": "/static/js/DrawDocument.7fd9d55d.chunk.js",
"DrawDocument.js.map": "/static/js/DrawDocument.7fd9d55d.chunk.js.map", "DrawDocument.js.map": "/static/js/DrawDocument.7fd9d55d.chunk.js.map",
...@@ -51,8 +51,8 @@ ...@@ -51,8 +51,8 @@
"purchased.css": "/static/css/purchased.bd80fb0a.chunk.css", "purchased.css": "/static/css/purchased.bd80fb0a.chunk.css",
"purchased.js": "/static/js/purchased.1a0cc90e.chunk.js", "purchased.js": "/static/js/purchased.1a0cc90e.chunk.js",
"purchased.js.map": "/static/js/purchased.1a0cc90e.chunk.js.map", "purchased.js.map": "/static/js/purchased.1a0cc90e.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.520562f2.js", "runtime~main.js": "/static/js/runtime~main.89451ebc.js",
"runtime~main.js.map": "/static/js/runtime~main.520562f2.js.map", "runtime~main.js.map": "/static/js/runtime~main.89451ebc.js.map",
"search.css": "/static/css/search.066ba825.chunk.css", "search.css": "/static/css/search.066ba825.chunk.css",
"search.js": "/static/js/search.c4d7f744.chunk.js", "search.js": "/static/js/search.c4d7f744.chunk.js",
"search.js.map": "/static/js/search.c4d7f744.chunk.js.map", "search.js.map": "/static/js/search.c4d7f744.chunk.js.map",
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"static/js/31.1bf13040.chunk.js": "/static/js/31.1bf13040.chunk.js", "static/js/31.1bf13040.chunk.js": "/static/js/31.1bf13040.chunk.js",
"static/js/31.1bf13040.chunk.js.map": "/static/js/31.1bf13040.chunk.js.map", "static/js/31.1bf13040.chunk.js.map": "/static/js/31.1bf13040.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"precache-manifest.c9bb2c3e478bcf720e20855d613a43cf.js": "/precache-manifest.c9bb2c3e478bcf720e20855d613a43cf.js", "precache-manifest.bd0766a7b7d4c422d1044f30af6f2265.js": "/precache-manifest.bd0766a7b7d4c422d1044f30af6f2265.js",
"service-worker.js": "/service-worker.js", "service-worker.js": "/service-worker.js",
"static/css/24.965d713a.chunk.css.map": "/static/css/24.965d713a.chunk.css.map", "static/css/24.965d713a.chunk.css.map": "/static/css/24.965d713a.chunk.css.map",
"static/css/26.73976871.chunk.css.map": "/static/css/26.73976871.chunk.css.map", "static/css/26.73976871.chunk.css.map": "/static/css/26.73976871.chunk.css.map",
......
...@@ -16,12 +16,12 @@ self.__precacheManifest = [ ...@@ -16,12 +16,12 @@ self.__precacheManifest = [
"url": "/static/js/Classify.f39f4af6.chunk.js" "url": "/static/js/Classify.f39f4af6.chunk.js"
}, },
{ {
"revision": "faaf93a6059b647ff5b8", "revision": "6444a4520a61fe72ab68",
"url": "/static/css/CourseList.5ce769bd.chunk.css" "url": "/static/css/CourseList.5ce769bd.chunk.css"
}, },
{ {
"revision": "faaf93a6059b647ff5b8", "revision": "6444a4520a61fe72ab68",
"url": "/static/js/CourseList.1d564862.chunk.js" "url": "/static/js/CourseList.6b8635fc.chunk.js"
}, },
{ {
"revision": "2a34a8f4ca1effab3622", "revision": "2a34a8f4ca1effab3622",
...@@ -136,8 +136,8 @@ self.__precacheManifest = [ ...@@ -136,8 +136,8 @@ self.__precacheManifest = [
"url": "/static/js/BargainMiddlePage.71acf373.chunk.js" "url": "/static/js/BargainMiddlePage.71acf373.chunk.js"
}, },
{ {
"revision": "0693cb7aee4ebca0ef61", "revision": "24b15e9f5b5581ff142d",
"url": "/static/js/runtime~main.520562f2.js" "url": "/static/js/runtime~main.89451ebc.js"
}, },
{ {
"revision": "b0173d90c41e80d3abe8", "revision": "b0173d90c41e80d3abe8",
...@@ -212,16 +212,16 @@ self.__precacheManifest = [ ...@@ -212,16 +212,16 @@ self.__precacheManifest = [
"url": "/static/js/28.ab85697f.chunk.js" "url": "/static/js/28.ab85697f.chunk.js"
}, },
{ {
"revision": "55ad4bbcfbe7879698a2538de5145a09", "revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.55ad4bbc.ttf" "url": "/static/media/iconfont.10b7bd5b.eot"
}, },
{ {
"revision": "0ddb8222b83ddc441ccb", "revision": "0ddb8222b83ddc441ccb",
"url": "/static/js/29.52529984.chunk.js" "url": "/static/js/29.52529984.chunk.js"
}, },
{ {
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0", "revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.10b7bd5b.eot" "url": "/static/media/iconfont.55ad4bbc.ttf"
}, },
{ {
"revision": "e0787ad15d0a12c4d4fc", "revision": "e0787ad15d0a12c4d4fc",
...@@ -260,7 +260,7 @@ self.__precacheManifest = [ ...@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.965d713a.chunk.css" "url": "/static/css/24.965d713a.chunk.css"
}, },
{ {
"revision": "7285a66e0d73171287cdb14a45225f06", "revision": "7990a8a72620c742ba8e8cb797110b63",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.c9bb2c3e478bcf720e20855d613a43cf.js" "/precache-manifest.bd0766a7b7d4c422d1044f30af6f2265.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
!function(e){function r(r){for(var a,n,i=r[0],d=r[1],f=r[2],u=0,l=[];u<i.length;u++)n=i[u],o[n]&&l.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,f||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[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,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="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:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"5ed0fc89",2:"5ce769bd",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"c25de43a",7:"31d6cfe0",8:"71617dc9",9:"003de950",10:"b968f5d5",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"f878917b",16:"789a128d",17:"bd80fb0a",19:"066ba825",20:"175bee2a",21:"ab4e7ff5",22:"f08bc5f3",23:"8ba7b5db",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var f=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===a||f===o))return r()}var u=document.getElementsByTagName("style");for(d=0;d<u.length;d++){var s;if((f=(s=u[d]).getAttribute("data-href"))===a||f===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.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:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"71acf373",1:"f39f4af6",2:"1d564862",3:"7fd9d55d",4:"a16b0638",5:"539ac99a",6:"36a03aa7",7:"229e2d92",8:"50a376cc",9:"4c7b2684",10:"21f335ee",11:"a454c28a",12:"a340851a",13:"b6c44482",14:"083b87f5",16:"d9a9fa8b",17:"1a0cc90e",19:"c4d7f744",20:"2a7c128d",21:"c2e7b754",22:"d73bccb5",23:"c629d579",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var f=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],f=d.push.bind(d);d.push=r,d=d.slice();for(var u=0;u<d.length;u++)r(d[u]);var s=f;t()}([]); !function(e){function r(r){for(var a,n,i=r[0],f=r[1],u=r[2],d=0,l=[];d<i.length;d++)n=i[d],o[n]&&l.push(o[n][0]),o[n]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var f=t[n];0!==o[f]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[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,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="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:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"5ed0fc89",2:"5ce769bd",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"c25de43a",7:"31d6cfe0",8:"71617dc9",9:"003de950",10:"b968f5d5",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"f878917b",16:"789a128d",17:"bd80fb0a",19:"066ba825",20:"175bee2a",21:"ab4e7ff5",22:"f08bc5f3",23:"8ba7b5db",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var u=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===a||u===o))return r()}var d=document.getElementsByTagName("style");for(f=0;f<d.length;f++){var s;if((u=(s=d[f]).getAttribute("data-href"))===a||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=function(e){return i.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:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"71acf373",1:"f39f4af6",2:"6b8635fc",3:"7fd9d55d",4:"a16b0638",5:"539ac99a",6:"36a03aa7",7:"229e2d92",8:"50a376cc",9:"4c7b2684",10:"21f335ee",11:"a454c28a",12:"a340851a",13:"b6c44482",14:"083b87f5",16:"d9a9fa8b",17:"1a0cc90e",19:"c4d7f744",20:"2a7c128d",21:"c2e7b754",22:"d73bccb5",23:"c629d579",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var f=window.webpackJsonp=window.webpackJsonp||[],u=f.push.bind(f);f.push=r,f=f.slice();for(var d=0;d<f.length;d++)r(f[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.520562f2.js.map //# sourceMappingURL=runtime~main.89451ebc.js.map
\ No newline at end of file \ No newline at end of file
...@@ -65,9 +65,10 @@ class Classify extends Component { ...@@ -65,9 +65,10 @@ class Classify extends Component {
// 获取课程接口 // 获取课程接口
getList = () => { getList = () => {
const _this = this
http.get(`${API.home}/m/course/list/${getParam('id')}`).then((res) => { http.get(`${API.home}/m/course/list/${getParam('id')}`).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.setState({ _this.setState({
data: res.data.data, data: res.data.data,
isLoading: false isLoading: false
}) })
...@@ -173,10 +174,10 @@ class Classify extends Component { ...@@ -173,10 +174,10 @@ class Classify extends Component {
</div> </div>
) )
return ( return (
<VList <VList
key={index} key={index}
status={status} status={status}
img={item.image_name} img={item.image_name}
id={item.course_id} id={item.course_id}
info={Info} info={Info}
toDetail={this.toCourseDetail} toDetail={this.toCourseDetail}
......
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