You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/static/js/156.d65f76c2.chunk.js

1 line
3.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(this.webpackJsonp=this.webpackJsonp||[]).push([[156],{Bbwf:function(t,e,n){"use strict";n.r(e);n("R/VY");var a=n("ZzqE"),o=(n("mvry"),n("2L3m")),c=(n("bjE3"),n("wty1")),r=n("xwgP"),l=n.n(r),i=(n("EH+i"),n("91MD")),u=n.n(i);n("qFpg");function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,a=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(s,t);var e,n,r,i=p(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=i.call(this,t)).state={loading:!0,contacts:null,address:null},e}return e=s,(n=[{key:"componentDidMount",value:function(){window.document.title="联系我们",this.getData()}},{key:"getData",value:function(){var t=this;u.a.get("/helps/contact.json").then((function(e){e&&t.setState({contacts:e.data.contacts,address:e.data.address,loading:!1})})).catch((function(e){console.log(e),t.setState({loading:!1})}))}},{key:"render",value:function(){var t=this.state,e=t.loading,n=t.contacts,r=t.address;return l.a.createElement("div",null,l.a.createElement("div",{className:"contact-us-container"},l.a.createElement(a.a,{title:"联系我们",bordered:!1,loading:e,style:{minHeight:600}},l.a.createElement("div",{className:"contact-us-content"},n&&n.map((function(t,e){return l.a.createElement("div",{className:"contact-item"},l.a.createElement("div",{className:"contact-item-label"},t.type),l.a.createElement("div",{className:"contact-item-content"},l.a.createElement(o.a,null,l.a.createElement(c.a,{span:12},t.name)),l.a.createElement(o.a,null,l.a.createElement(c.a,{span:2},"QQ"),l.a.createElement(c.a,{span:10},t.qq)),l.a.createElement(o.a,null,l.a.createElement(c.a,{span:2},"Email"),l.a.createElement(c.a,{span:10},t.mail))))})),r&&l.a.createElement("div",{className:"contact-item"},l.a.createElement("div",{className:"contact-item-label"},"公司地址"),l.a.createElement("div",{className:"contact-item-content"},l.a.createElement(o.a,null,l.a.createElement(c.a,{span:12},"长沙高新开发区尖山路39号长沙中电软件园一期13栋201室"))))))))}}])&&f(e.prototype,n),r&&f(e,r),s}(l.a.Component);e.default=b},qFpg:function(t,e,n){}}]);