Commit 8275abaf by FE

pull and solve

parents 5384eb98 2a88d279
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
"mrstatic/js/0.3cda4082.chunk.js": "/mrstatic/js/0.3cda4082.chunk.js", "mrstatic/js/0.3cda4082.chunk.js": "/mrstatic/js/0.3cda4082.chunk.js",
"mrstatic/js/0.3cda4082.chunk.js.map": "/mrstatic/js/0.3cda4082.chunk.js.map", "mrstatic/js/0.3cda4082.chunk.js.map": "/mrstatic/js/0.3cda4082.chunk.js.map",
"BargainMiddlePage.css": "/mrstatic/css/BargainMiddlePage.247ed778.chunk.css", "BargainMiddlePage.css": "/mrstatic/css/BargainMiddlePage.247ed778.chunk.css",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.9e064f9e.chunk.js", "BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.05ed6057.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.9e064f9e.chunk.js.map", "BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.05ed6057.chunk.js.map",
"Classify.css": "/mrstatic/css/Classify.127d35ae.chunk.css", "Classify.css": "/mrstatic/css/Classify.127d35ae.chunk.css",
"Classify.js": "/mrstatic/js/Classify.d90ec769.chunk.js", "Classify.js": "/mrstatic/js/Classify.d90ec769.chunk.js",
"Classify.js.map": "/mrstatic/js/Classify.d90ec769.chunk.js.map", "Classify.js.map": "/mrstatic/js/Classify.d90ec769.chunk.js.map",
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
"MyEdit.js": "/mrstatic/js/MyEdit.fe4ce0d0.chunk.js", "MyEdit.js": "/mrstatic/js/MyEdit.fe4ce0d0.chunk.js",
"MyEdit.js.map": "/mrstatic/js/MyEdit.fe4ce0d0.chunk.js.map", "MyEdit.js.map": "/mrstatic/js/MyEdit.fe4ce0d0.chunk.js.map",
"Order.css": "/mrstatic/css/Order.e46f87f2.chunk.css", "Order.css": "/mrstatic/css/Order.e46f87f2.chunk.css",
"Order.js": "/mrstatic/js/Order.606001b3.chunk.js", "Order.js": "/mrstatic/js/Order.1a95e8c6.chunk.js",
"Order.js.map": "/mrstatic/js/Order.606001b3.chunk.js.map", "Order.js.map": "/mrstatic/js/Order.1a95e8c6.chunk.js.map",
"Orderinfo.js": "/mrstatic/js/Orderinfo.5dac860b.chunk.js", "Orderinfo.js": "/mrstatic/js/Orderinfo.78a4c628.chunk.js",
"Orderinfo.js.map": "/mrstatic/js/Orderinfo.5dac860b.chunk.js.map", "Orderinfo.js.map": "/mrstatic/js/Orderinfo.78a4c628.chunk.js.map",
"PayOrder.css": "/mrstatic/css/PayOrder.68a25070.chunk.css", "PayOrder.css": "/mrstatic/css/PayOrder.68a25070.chunk.css",
"PayOrder.js": "/mrstatic/js/PayOrder.b1a06516.chunk.js", "PayOrder.js": "/mrstatic/js/PayOrder.b1a06516.chunk.js",
"PayOrder.js.map": "/mrstatic/js/PayOrder.b1a06516.chunk.js.map", "PayOrder.js.map": "/mrstatic/js/PayOrder.b1a06516.chunk.js.map",
...@@ -33,28 +33,28 @@ ...@@ -33,28 +33,28 @@
"SearchResult.js": "/mrstatic/js/SearchResult.67726735.chunk.js", "SearchResult.js": "/mrstatic/js/SearchResult.67726735.chunk.js",
"SearchResult.js.map": "/mrstatic/js/SearchResult.67726735.chunk.js.map", "SearchResult.js.map": "/mrstatic/js/SearchResult.67726735.chunk.js.map",
"ShopCart.css": "/mrstatic/css/ShopCart.887eb690.chunk.css", "ShopCart.css": "/mrstatic/css/ShopCart.887eb690.chunk.css",
"ShopCart.js": "/mrstatic/js/ShopCart.19756c13.chunk.js", "ShopCart.js": "/mrstatic/js/ShopCart.b10afce7.chunk.js",
"ShopCart.js.map": "/mrstatic/js/ShopCart.19756c13.chunk.js.map", "ShopCart.js.map": "/mrstatic/js/ShopCart.b10afce7.chunk.js.map",
"aist-share.css": "/mrstatic/css/aist-share.f4398072.chunk.css", "aist-share.css": "/mrstatic/css/aist-share.f4398072.chunk.css",
"aist-share.js": "/mrstatic/js/aist-share.f74fb938.chunk.js", "aist-share.js": "/mrstatic/js/aist-share.f74fb938.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.f74fb938.chunk.js.map", "aist-share.js.map": "/mrstatic/js/aist-share.f74fb938.chunk.js.map",
"coupons.css": "/mrstatic/css/coupons.cf38c16e.chunk.css", "coupons.css": "/mrstatic/css/coupons.cf38c16e.chunk.css",
"coupons.js": "/mrstatic/js/coupons.78d986ca.chunk.js", "coupons.js": "/mrstatic/js/coupons.fd742034.chunk.js",
"coupons.js.map": "/mrstatic/js/coupons.78d986ca.chunk.js.map", "coupons.js.map": "/mrstatic/js/coupons.fd742034.chunk.js.map",
"detail.css": "/mrstatic/css/detail.63ef174e.chunk.css", "detail.css": "/mrstatic/css/detail.63ef174e.chunk.css",
"detail.js": "/mrstatic/js/detail.edaa94ca.chunk.js", "detail.js": "/mrstatic/js/detail.9d135836.chunk.js",
"detail.js.map": "/mrstatic/js/detail.edaa94ca.chunk.js.map", "detail.js.map": "/mrstatic/js/detail.9d135836.chunk.js.map",
"main.css": "/mrstatic/css/main.5c451943.chunk.css", "main.css": "/mrstatic/css/main.5c451943.chunk.css",
"main.js": "/mrstatic/js/main.8523ef00.chunk.js", "main.js": "/mrstatic/js/main.64e1c12b.chunk.js",
"main.js.map": "/mrstatic/js/main.8523ef00.chunk.js.map", "main.js.map": "/mrstatic/js/main.64e1c12b.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.e3d68b58.chunk.css", "myorders.css": "/mrstatic/css/myorders.e3d68b58.chunk.css",
"myorders.js": "/mrstatic/js/myorders.41d70c54.chunk.js", "myorders.js": "/mrstatic/js/myorders.41d70c54.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.41d70c54.chunk.js.map", "myorders.js.map": "/mrstatic/js/myorders.41d70c54.chunk.js.map",
"purchased.css": "/mrstatic/css/purchased.c9466779.chunk.css", "purchased.css": "/mrstatic/css/purchased.c9466779.chunk.css",
"purchased.js": "/mrstatic/js/purchased.f057da65.chunk.js", "purchased.js": "/mrstatic/js/purchased.f057da65.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.f057da65.chunk.js.map", "purchased.js.map": "/mrstatic/js/purchased.f057da65.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.11555171.js", "runtime~main.js": "/mrstatic/js/runtime~main.c41de882.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.11555171.js.map", "runtime~main.js.map": "/mrstatic/js/runtime~main.c41de882.js.map",
"search.css": "/mrstatic/css/search.e26f3ee9.chunk.css", "search.css": "/mrstatic/css/search.e26f3ee9.chunk.css",
"search.js": "/mrstatic/js/search.f4c25e4e.chunk.js", "search.js": "/mrstatic/js/search.f4c25e4e.chunk.js",
"search.js.map": "/mrstatic/js/search.f4c25e4e.chunk.js.map", "search.js.map": "/mrstatic/js/search.f4c25e4e.chunk.js.map",
...@@ -70,9 +70,9 @@ ...@@ -70,9 +70,9 @@
"video.css": "/mrstatic/css/video.b8d615d9.chunk.css", "video.css": "/mrstatic/css/video.b8d615d9.chunk.css",
"video.js": "/mrstatic/js/video.3d282f3e.chunk.js", "video.js": "/mrstatic/js/video.3d282f3e.chunk.js",
"video.js.map": "/mrstatic/js/video.3d282f3e.chunk.js.map", "video.js.map": "/mrstatic/js/video.3d282f3e.chunk.js.map",
"mrstatic/css/25.01138bd4.chunk.css": "/mrstatic/css/25.01138bd4.chunk.css", "mrstatic/css/25.8b5900e6.chunk.css": "/mrstatic/css/25.8b5900e6.chunk.css",
"mrstatic/js/25.6e0f6233.chunk.js": "/mrstatic/js/25.6e0f6233.chunk.js", "mrstatic/js/25.074b6a9f.chunk.js": "/mrstatic/js/25.074b6a9f.chunk.js",
"mrstatic/js/25.6e0f6233.chunk.js.map": "/mrstatic/js/25.6e0f6233.chunk.js.map", "mrstatic/js/25.074b6a9f.chunk.js.map": "/mrstatic/js/25.074b6a9f.chunk.js.map",
"mrstatic/js/26.56aeff83.chunk.js": "/mrstatic/js/26.56aeff83.chunk.js", "mrstatic/js/26.56aeff83.chunk.js": "/mrstatic/js/26.56aeff83.chunk.js",
"mrstatic/js/26.56aeff83.chunk.js.map": "/mrstatic/js/26.56aeff83.chunk.js.map", "mrstatic/js/26.56aeff83.chunk.js.map": "/mrstatic/js/26.56aeff83.chunk.js.map",
"mrstatic/css/27.0710e3e3.chunk.css": "/mrstatic/css/27.0710e3e3.chunk.css", "mrstatic/css/27.0710e3e3.chunk.css": "/mrstatic/css/27.0710e3e3.chunk.css",
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
"mrstatic/js/33.c51ac008.chunk.js": "/mrstatic/js/33.c51ac008.chunk.js", "mrstatic/js/33.c51ac008.chunk.js": "/mrstatic/js/33.c51ac008.chunk.js",
"mrstatic/js/33.c51ac008.chunk.js.map": "/mrstatic/js/33.c51ac008.chunk.js.map", "mrstatic/js/33.c51ac008.chunk.js.map": "/mrstatic/js/33.c51ac008.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"mrstatic/css/25.01138bd4.chunk.css.map": "/mrstatic/css/25.01138bd4.chunk.css.map", "mrstatic/css/25.8b5900e6.chunk.css.map": "/mrstatic/css/25.8b5900e6.chunk.css.map",
"mrstatic/css/27.0710e3e3.chunk.css.map": "/mrstatic/css/27.0710e3e3.chunk.css.map", "mrstatic/css/27.0710e3e3.chunk.css.map": "/mrstatic/css/27.0710e3e3.chunk.css.map",
"mrstatic/css/28.51412fcd.chunk.css.map": "/mrstatic/css/28.51412fcd.chunk.css.map", "mrstatic/css/28.51412fcd.chunk.css.map": "/mrstatic/css/28.51412fcd.chunk.css.map",
"mrstatic/css/29.e292ab6b.chunk.css.map": "/mrstatic/css/29.e292ab6b.chunk.css.map", "mrstatic/css/29.e292ab6b.chunk.css.map": "/mrstatic/css/29.e292ab6b.chunk.css.map",
...@@ -130,6 +130,6 @@ ...@@ -130,6 +130,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png", "mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png", "mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.1a38f4f5d033fbba1717d2101c376ddd.js": "/precache-manifest.1a38f4f5d033fbba1717d2101c376ddd.js", "precache-manifest.081664aa28d3956a4e4ca544e84ad225.js": "/precache-manifest.081664aa28d3956a4e4ca544e84ad225.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
} }
\ No newline at end of file
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.
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1183:function(e,a,n){"use strict";n.r(a);var o=n(5),r=n(7),t=n(6),l=n(8),i=n(9),c=(n(43),n(13)),s=n.n(c),p=n(19),u=(n(156),n(74)),d=n.n(u),f=(n(1153),n(1155)),h=n.n(f),m=(n(1156),n(1158)),v=n.n(m),b=n(0),q=n.n(b),g=n(18),E=n(27),j=n(3),y=Object(g.f)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,o=e.cellphone,r=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(o)if(/1\d{10}/g.test("".concat(o).replace(/\s+/g,"")))if(r)if(/\d{5,}/g.test(r)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===o&&(t+=1),l.qq===r&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?j.d.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.errno?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(p.a)({},e))):s.a.info(n.data.msg,void 0,void 0,!1)}):a.props.history.replace(i,Object(p.a)({},e))}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),o=(e.handleBlur,e.handleSubmit);e.isSubmitting;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(d.a,null,q.a.createElement(h.a,{type:"primary",onClick:o},"\u786e\u8ba4"))))}),O=function(e){function a(e){return Object(o.a)(this,a),Object(t.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(r.a)(a,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(y,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(b.Component);a.default=O}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1183:function(e,a,n){"use strict";n.r(a);var o=n(5),r=n(7),t=n(6),l=n(8),i=n(9),c=(n(43),n(13)),s=n.n(c),p=n(18),u=(n(156),n(74)),d=n.n(u),f=(n(1153),n(1155)),h=n.n(f),m=(n(1156),n(1158)),v=n.n(m),b=n(0),q=n.n(b),g=n(19),E=n(27),j=n(3),y=Object(g.f)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,o=e.cellphone,r=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(o)if(/1\d{10}/g.test("".concat(o).replace(/\s+/g,"")))if(r)if(/\d{5,}/g.test(r)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===o&&(t+=1),l.qq===r&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?j.d.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.errno?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(p.a)({},e))):s.a.info(n.data.msg,void 0,void 0,!1)}):a.props.history.replace(i,Object(p.a)({},e))}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),o=(e.handleBlur,e.handleSubmit);e.isSubmitting;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(d.a,null,q.a.createElement(h.a,{type:"primary",onClick:o},"\u786e\u8ba4"))))}),O=function(e){function a(e){return Object(o.a)(this,a),Object(t.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(r.a)(a,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(y,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(b.Component);a.default=O}}]);
//# sourceMappingURL=Orderinfo.5dac860b.chunk.js.map //# sourceMappingURL=Orderinfo.78a4c628.chunk.js.map
\ 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.
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,d=r[0],i=r[1],f=r[2],u=0,l=[];u<d.length;u++)a=d[u],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 c.push.apply(c,f||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(c.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={19:0},o={19:0},c=[];function d(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,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"247ed778",2:"127d35ae",3:"6d999ce9",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"98f19554"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(s=c[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===n||f===o))return r()}var u=document.getElementsByTagName("style");for(i=0;i<u.length;i++){var s;if((f=(s=u[i]).getAttribute("data-href"))===n||f===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,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},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 c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"3cda4082",1:"9e064f9e",2:"d90ec769",3:"f6d30823",4:"5fd47dee",5:"33e89f7f",6:"fe4ce0d0",7:"606001b3",8:"5dac860b",9:"b1a06516",10:"2839c2a9",11:"67726735",12:"19756c13",13:"f74fb938",14:"78d986ca",15:"edaa94ca",17:"41d70c54",18:"f057da65",20:"f4c25e4e",21:"7a2601fb",22:"aeb3a365",23:"29b478ae",24:"3d282f3e",26:"56aeff83",27:"b53d927f",28:"8ed1b5c2",29:"b7cd4e05",30:"168931af",31:"97a8b478",32:"b5b9c4de",33:"c51ac008"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(f);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,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var f=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],f=i.push.bind(i);i.push=r,i=i.slice();for(var u=0;u<i.length;u++)r(i[u]);var s=f;t()}([]); !function(e){function r(r){for(var n,a,d=r[0],f=r[1],i=r[2],u=0,l=[];u<d.length;u++)a=d[u],o[a]&&l.push(o[a][0]),o[a]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,i||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(c.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={19:0},o={19:0},c=[];function d(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,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"247ed778",2:"127d35ae",3:"6d999ce9",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"98f19554"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var i=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===n||i===o))return r()}var u=document.getElementsByTagName("style");for(f=0;f<u.length;f++){var s;if((i=(s=u[f]).getAttribute("data-href"))===n||i===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,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},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 c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,d.nc&&f.setAttribute("nonce",d.nc),f.src=function(e){return d.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"3cda4082",1:"05ed6057",2:"d90ec769",3:"f6d30823",4:"5fd47dee",5:"33e89f7f",6:"fe4ce0d0",7:"1a95e8c6",8:"78a4c628",9:"b1a06516",10:"2839c2a9",11:"67726735",12:"b10afce7",13:"f74fb938",14:"fd742034",15:"9d135836",17:"41d70c54",18:"f057da65",20:"f4c25e4e",21:"7a2601fb",22:"aeb3a365",23:"29b478ae",24:"3d282f3e",26:"56aeff83",27:"b53d927f",28:"8ed1b5c2",29:"b7cd4e05",30:"168931af",31:"97a8b478",32:"b5b9c4de",33:"c51ac008"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(i);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,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var i=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var f=window.webpackJsonp=window.webpackJsonp||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var u=0;u<f.length;u++)r(f[u]);var s=i;t()}([]);
//# sourceMappingURL=runtime~main.11555171.js.map //# sourceMappingURL=runtime~main.c41de882.js.map
\ No newline at end of file \ No newline at end of file
...@@ -8,8 +8,8 @@ self.__precacheManifest = [ ...@@ -8,8 +8,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/0.3cda4082.chunk.js" "url": "/mrstatic/js/0.3cda4082.chunk.js"
}, },
{ {
"revision": "5c42d0fbf00ff07f4f05", "revision": "75e4e357676868a6dada",
"url": "/mrstatic/js/BargainMiddlePage.9e064f9e.chunk.js" "url": "/mrstatic/js/BargainMiddlePage.05ed6057.chunk.js"
}, },
{ {
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae", "revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
...@@ -20,16 +20,16 @@ self.__precacheManifest = [ ...@@ -20,16 +20,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Classify.d90ec769.chunk.js" "url": "/mrstatic/js/Classify.d90ec769.chunk.js"
}, },
{ {
"revision": "6902434f8f18a23319d57d0ac8aaea8c", "revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
}, },
{ {
"revision": "88932207e538f37935bb", "revision": "88932207e538f37935bb",
"url": "/mrstatic/js/CourseList.f6d30823.chunk.js" "url": "/mrstatic/js/CourseList.f6d30823.chunk.js"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078", "revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
{ {
"revision": "7e5c6c38e5f4aa41f80e", "revision": "7e5c6c38e5f4aa41f80e",
...@@ -52,12 +52,12 @@ self.__precacheManifest = [ ...@@ -52,12 +52,12 @@ self.__precacheManifest = [
"url": "/mrstatic/media/progress-share-bg.80011994.png" "url": "/mrstatic/media/progress-share-bg.80011994.png"
}, },
{ {
"revision": "1f33f30d8e281f3abeaf", "revision": "f7aa02ea4fe39ae92211",
"url": "/mrstatic/js/Order.606001b3.chunk.js" "url": "/mrstatic/js/Order.1a95e8c6.chunk.js"
}, },
{ {
"revision": "1c70ab32f15fde28e736", "revision": "4af7ccb19281b34c1cba",
"url": "/mrstatic/js/Orderinfo.5dac860b.chunk.js" "url": "/mrstatic/js/Orderinfo.78a4c628.chunk.js"
}, },
{ {
"revision": "81a489ac63f2f2df5ab412e0782bd54c", "revision": "81a489ac63f2f2df5ab412e0782bd54c",
...@@ -76,20 +76,20 @@ self.__precacheManifest = [ ...@@ -76,20 +76,20 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Preferential.2839c2a9.chunk.js" "url": "/mrstatic/js/Preferential.2839c2a9.chunk.js"
}, },
{ {
"revision": "7aa984cefad739ea18edb76c541aa1fd", "revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.7aa984ce.eot" "url": "/mrstatic/media/iconfont.258b4b11.ttf"
}, },
{ {
"revision": "77cc63fe0c4a48df6769", "revision": "77cc63fe0c4a48df6769",
"url": "/mrstatic/js/SearchResult.67726735.chunk.js" "url": "/mrstatic/js/SearchResult.67726735.chunk.js"
}, },
{ {
"revision": "258b4b114d3d9be3018cd113b2470a13", "revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.258b4b11.ttf" "url": "/mrstatic/media/iconfont.7aa984ce.eot"
}, },
{ {
"revision": "133ba2c03c79f0870cfa", "revision": "356d32fb6aa3a457acdd",
"url": "/mrstatic/js/ShopCart.19756c13.chunk.js" "url": "/mrstatic/js/ShopCart.b10afce7.chunk.js"
}, },
{ {
"revision": "e0655d4da66dce391e6b5227b400e037", "revision": "e0655d4da66dce391e6b5227b400e037",
...@@ -104,24 +104,24 @@ self.__precacheManifest = [ ...@@ -104,24 +104,24 @@ self.__precacheManifest = [
"url": "/mrstatic/js/33.c51ac008.chunk.js" "url": "/mrstatic/js/33.c51ac008.chunk.js"
}, },
{ {
"revision": "6766672696f9bc8f6989", "revision": "86266b7a82b9af3b05ee",
"url": "/mrstatic/js/coupons.78d986ca.chunk.js" "url": "/mrstatic/js/coupons.fd742034.chunk.js"
}, },
{ {
"revision": "68327def8aac011afb70", "revision": "68327def8aac011afb70",
"url": "/mrstatic/js/32.b5b9c4de.chunk.js" "url": "/mrstatic/js/32.b5b9c4de.chunk.js"
}, },
{ {
"revision": "cb03a96c836c4b9fa517", "revision": "316129589cace89fed74",
"url": "/mrstatic/js/detail.edaa94ca.chunk.js" "url": "/mrstatic/js/detail.9d135836.chunk.js"
}, },
{ {
"revision": "b4fd8cefd32fcf32d2d8", "revision": "b4fd8cefd32fcf32d2d8",
"url": "/mrstatic/js/31.97a8b478.chunk.js" "url": "/mrstatic/js/31.97a8b478.chunk.js"
}, },
{ {
"revision": "4a153f89c6169b8995dd", "revision": "f11220eb7abef5a0ce3f",
"url": "/mrstatic/js/main.8523ef00.chunk.js" "url": "/mrstatic/js/main.64e1c12b.chunk.js"
}, },
{ {
"revision": "b175d09e89909b0b71f8", "revision": "b175d09e89909b0b71f8",
...@@ -140,8 +140,8 @@ self.__precacheManifest = [ ...@@ -140,8 +140,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/purchased.f057da65.chunk.js" "url": "/mrstatic/js/purchased.f057da65.chunk.js"
}, },
{ {
"revision": "c92063fc929664a6ce72", "revision": "ef8a261f737db741e970",
"url": "/mrstatic/js/runtime~main.11555171.js" "url": "/mrstatic/js/runtime~main.c41de882.js"
}, },
{ {
"revision": "bba2330b2fbf43c212d7", "revision": "bba2330b2fbf43c212d7",
...@@ -160,8 +160,8 @@ self.__precacheManifest = [ ...@@ -160,8 +160,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/shareposter.7a2601fb.chunk.js" "url": "/mrstatic/js/shareposter.7a2601fb.chunk.js"
}, },
{ {
"revision": "ab3ee08a2c69c9488bfa", "revision": "3717beb4a11a8dd79b0e",
"url": "/mrstatic/js/25.6e0f6233.chunk.js" "url": "/mrstatic/js/25.074b6a9f.chunk.js"
}, },
{ {
"revision": "0ef4d661bd61fab49cef", "revision": "0ef4d661bd61fab49cef",
...@@ -184,12 +184,12 @@ self.__precacheManifest = [ ...@@ -184,12 +184,12 @@ self.__precacheManifest = [
"url": "/mrstatic/css/video.b8d615d9.chunk.css" "url": "/mrstatic/css/video.b8d615d9.chunk.css"
}, },
{ {
"revision": "cb03a96c836c4b9fa517", "revision": "316129589cace89fed74",
"url": "/mrstatic/css/detail.63ef174e.chunk.css" "url": "/mrstatic/css/detail.63ef174e.chunk.css"
}, },
{ {
"revision": "ab3ee08a2c69c9488bfa", "revision": "3717beb4a11a8dd79b0e",
"url": "/mrstatic/css/25.01138bd4.chunk.css" "url": "/mrstatic/css/25.8b5900e6.chunk.css"
}, },
{ {
"revision": "33fcc6a2f0021ebe7536", "revision": "33fcc6a2f0021ebe7536",
...@@ -200,7 +200,7 @@ self.__precacheManifest = [ ...@@ -200,7 +200,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/27.0710e3e3.chunk.css" "url": "/mrstatic/css/27.0710e3e3.chunk.css"
}, },
{ {
"revision": "5c42d0fbf00ff07f4f05", "revision": "75e4e357676868a6dada",
"url": "/mrstatic/css/BargainMiddlePage.247ed778.chunk.css" "url": "/mrstatic/css/BargainMiddlePage.247ed778.chunk.css"
}, },
{ {
...@@ -232,7 +232,7 @@ self.__precacheManifest = [ ...@@ -232,7 +232,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/31.37fb0c23.chunk.css" "url": "/mrstatic/css/31.37fb0c23.chunk.css"
}, },
{ {
"revision": "4a153f89c6169b8995dd", "revision": "f11220eb7abef5a0ce3f",
"url": "/mrstatic/css/main.5c451943.chunk.css" "url": "/mrstatic/css/main.5c451943.chunk.css"
}, },
{ {
...@@ -248,7 +248,7 @@ self.__precacheManifest = [ ...@@ -248,7 +248,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/33.98f19554.chunk.css" "url": "/mrstatic/css/33.98f19554.chunk.css"
}, },
{ {
"revision": "6766672696f9bc8f6989", "revision": "86266b7a82b9af3b05ee",
"url": "/mrstatic/css/coupons.cf38c16e.chunk.css" "url": "/mrstatic/css/coupons.cf38c16e.chunk.css"
}, },
{ {
...@@ -256,7 +256,7 @@ self.__precacheManifest = [ ...@@ -256,7 +256,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/aist-share.f4398072.chunk.css" "url": "/mrstatic/css/aist-share.f4398072.chunk.css"
}, },
{ {
"revision": "133ba2c03c79f0870cfa", "revision": "356d32fb6aa3a457acdd",
"url": "/mrstatic/css/ShopCart.887eb690.chunk.css" "url": "/mrstatic/css/ShopCart.887eb690.chunk.css"
}, },
{ {
...@@ -272,7 +272,7 @@ self.__precacheManifest = [ ...@@ -272,7 +272,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/PayOrder.68a25070.chunk.css" "url": "/mrstatic/css/PayOrder.68a25070.chunk.css"
}, },
{ {
"revision": "1f33f30d8e281f3abeaf", "revision": "f7aa02ea4fe39ae92211",
"url": "/mrstatic/css/Order.e46f87f2.chunk.css" "url": "/mrstatic/css/Order.e46f87f2.chunk.css"
}, },
{ {
...@@ -292,7 +292,7 @@ self.__precacheManifest = [ ...@@ -292,7 +292,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/Classify.127d35ae.chunk.css" "url": "/mrstatic/css/Classify.127d35ae.chunk.css"
}, },
{ {
"revision": "5560ad877046d52ffed113adec64360c", "revision": "ebb041de64906936e246f295ca6b4ab1",
"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.1a38f4f5d033fbba1717d2101c376ddd.js" "/precache-manifest.081664aa28d3956a4e4ca544e84ad225.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
...@@ -24,12 +24,21 @@ const options = { ...@@ -24,12 +24,21 @@ const options = {
class OpenApp extends Component { class OpenApp extends Component {
callApp = new CallApp(options) // callApp = new CallApp(options)
callApp = null
static defaultProps = { static defaultProps = {
text: '在APP打开' text: '在APP打开'
} }
componentWillMount() {
this.callApp = new CallApp({
...options,
path: this.props.path || '/'
});
}
handleClick = () => { handleClick = () => {
this.callApp.open({}) this.callApp.open({})
} }
......
...@@ -124,9 +124,11 @@ class BargainMiddlePage extends Component { ...@@ -124,9 +124,11 @@ class BargainMiddlePage extends Component {
// 获取助理好友 // 获取助理好友
getBargainRankList = (id, type) => { getBargainRankList = (id, type) => {
const bargain_code = getParam('bargaincode') || '';
let data = { let data = {
courseId: id, courseId: id,
type: type type: type,
bargain_code
} }
http.post(`${API.home}/m/bargain/rankList`, data).then((res) => { http.post(`${API.home}/m/bargain/rankList`, data).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
......
...@@ -33,12 +33,8 @@ class Bargain extends Component { ...@@ -33,12 +33,8 @@ class Bargain extends Component {
} }
// 获取助理好友 // 获取助理好友
getBargainRankList = (id, type) => { getBargainRankList = (params = {}) => {
let data = { http.post(`${API.home}/m/bargain/rankList`, params).then((res) => {
courseId: id,
type: type
}
http.post(`${API.home}/m/bargain/rankList`, data).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.setState({ this.setState({
list: res.data.data.list, list: res.data.data.list,
...@@ -57,20 +53,26 @@ class Bargain extends Component { ...@@ -57,20 +53,26 @@ class Bargain extends Component {
courseId: getParam('id') courseId: getParam('id')
} }
http.post(`${API.home}/m/bargain/courseDetail`, data).then((res) => { http.post(`${API.home}/m/bargain/courseDetail`, data).then((res) => {
if (res.data.code === 200) { const { code, data, msg = '' } = res.data;
if (code === 200) {
this.setState({ this.setState({
barInfo: res.data.data, barInfo: data,
// info: res.data.data, // info: res.data.data,
// limitPeople: res.data.data.limit_people, // limitPeople: res.data.data.limit_people,
// bargainCode: res.data.data.bargain_code // bargainCode: res.data.data.bargain_code
}) });
if (res.data.data.bargain_status === 0) {
this.getBargainRankList(getParam('id'), 0) // 砍价状态 0-砍价中,1砍价结束,待支付,2砍价过期(没有砍价记录没有砍价信息),3已购买
if (data.bargain_status === 0) {
this.getBargainRankList({
type: 0,
bargain_code: data.bargain_code
});
} }
} else { } else {
Toast.info(res.data.msg, 2) Toast.info(msg, 2);
} }
}) });
} }
// 查看更多 // 查看更多
......
...@@ -461,7 +461,7 @@ class Detail extends Component { ...@@ -461,7 +461,7 @@ class Detail extends Component {
cart={true} cart={true}
toHref={href} toHref={href}
/> />
<CallApp className='toapp'/> <CallApp className='toapp' path={`/detail/id=${getParam('id')}`} />
{/*弹幕*/} {/*弹幕*/}
<Barrage isShow={course_info.is_show}/> <Barrage isShow={course_info.is_show}/>
......
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