text: (window.webpackJsonp=window.webpackJsonp||[]).push([[29],{"113":function(e,t,n){"use strict";var r=n(114);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,n,o,c,s){if(s!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function getShim(){return shim}shim.isRequired=shim;var e={"array":shim,"bool":shim,"func":shim,"number":shim,"object":shim,"string":shim,"symbol":shim,"any":shim,"arrayOf":getShim,"element":shim,"elementType":shim,"instanceOf":getShim,"node":shim,"objectOf":getShim,"oneOf":getShim,"oneOfType":getShim,"shape":getShim,"exact":getShim,"checkPropTypes":emptyFunctionWithReset,"resetWarningCache":emptyFunction};return e.PropTypes=e,e}},"114":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"115":function(e,t,n){var r=n(116);"string"==typeof r&&(r=[[e.i,r,""]]);var o={"sourceMap":!1,"insertAt":"top","hmr":!0,"transform":void 0,"insertInto":void 0};n(66)(r,o);r.locals&&(e.exports=r.locals)},"116":function(e,t,n){(e.exports=n(65)(!1)).push([e.i,".taro-text {\n  -moz-user-select: none;\n  -webkit-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n\n.taro-text__selectable {\n  -moz-user-select: text;\n  -webkit-user-select: text;\n  -ms-user-select: text;\n  user-select: text;\n}",""])},"209":function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,c=n(1),s=n(2),i=n(57),a=n.n(i),l=n(55),u=n.n(l),p=n(210),f=n(56),h=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();var m=(o=r=function(e){function AtIcon(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,AtIcon),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(AtIcon.__proto__||Object.getPrototypeOf(AtIcon)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(AtIcon,f["a"]),h(AtIcon,[{"key":"handleClick","value":function handleClick(){var e;(e=this.props).onClick.apply(e,arguments)}},{"key":"render","value":function render(){var e=this.props,t=e.customStyle,n=e.className,r=e.prefixClass,o=e.value,i=e.size,a=e.color,l={"fontSize":""+s.default.pxTransform(2*parseInt(i)),"color":a},f=o?r+"-"+o:"";return c.l.createElement(p.a,{"className":u()(r,f,n),"style":this.mergeStyle(l,t),"onClick":this.handleClick.bind(this)})}}]),AtIcon}(),r.defaultProps={"customStyle":"","className":"","prefixClass":"at-icon","value":"","color":"","size":24,"onClick":function onClick(){}},r.propTypes={"customStyle":a.a.oneOfType([a.a.object,a.a.string]),"className":a.a.oneOfType([a.a.array,a.a.string]),"prefixClass":a.a.string,"value":a.a.string,"color":a.a.string,"size":a.a.oneOfType([a.a.string,a.a.number]),"onClick":a.a.func},o)},"210":function(e,t,n){"use strict";n(62);var r=n(1),o=n(67),c=n(55),s=n.n(c),i=(n(115),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),a=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();var l=function(e){function Text(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Text),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Text.__proto__||Object.getPrototypeOf(Text)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Text,r["l"].Component),a(Text,[{"key":"render","value":function render(){var e=this.props,t=e.className,n=e.selectable,c=void 0!==n&&n,a=s()("taro-text",{"taro-text__selectable":c},t);return r.l.createElement("span",i({},Object(o.a)(this.props,["selectable","className"]),{"className":a}),this.props.children)}}]),Text}();t.a=l},"344":function(e,t,n){"use strict";n.r(t);var r,o=n(1),c=n(2),s=n(333),i=n(209),a=n(16),l=n(75),u=n(76),p=(n(88),function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}()),f=function get(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:get(o,t,n)}if("value"in r)return r.value;var c=r.get;return void 0!==c?c.call(n):void 0};t.default=Object(a.b)(function(e){return{"screen":e.screen}},function(e){return{"setScreen":function setScreen(t){e(Object(l.b)(t))}}})(r=function(e){function Acts(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Acts),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Acts.__proto__||Object.getPrototypeOf(Acts)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Acts,c["default"].Component),p(Acts,[{"key":"redirectTo","value":function redirectTo(e){c.default.redirectTo({"url":e})}},{"key":"selectorIndexs","value":function selectorIndexs(e){this.props.screen.acts!==e&&this.props.setScreen({"update":!0,"acts":e}),c.default.navigateBack()}},{"key":"render","value":function render(){var e=this.props.screen.acts;return o.l.createElement(s.a,{"className":"jxh-app"},o.l.createElement(u.a,{"isActive":2,"onClick":this.redirectTo.bind(this)}),o.l.createElement(s.a,{"className":"screen-select","hoverClass":"screen-select-hover","onClick":this.selectorIndexs.bind(this,"")},o.l.createElement(s.a,{"className":"screen-select-border"},o.l.createElement(s.a,{"className":"screen-select-item"},"所有类型"),""===e&&o.l.createElement(s.a,{"className":"screen-select-checked"},o.l.createElement(i.a,{"value":"check","size":"20","color":"#6885CF"})))),o.l.createElement(s.a,{"className":"screen-select","hoverClass":"screen-select-hover","onClick":this.selectorIndexs.bind(this,1)},o.l.createElement(s.a,{"className":"screen-select-border"},o.l.createElement(s.a,{"className":"screen-select-item"},"购入"),1===e&&o.l.createElement(s.a,{"className":"screen-select-checked"},o.l.createElement(i.a,{"value":"check","size":"20","color":"#6885CF"})))),o.l.createElement(s.a,{"className":"screen-select","hoverClass":"screen-select-hover","onClick":this.selectorIndexs.bind(this,2)},o.l.createElement(s.a,{"className":"screen-select-border"},o.l.createElement(s.a,{"className":"screen-select-item"},"卖出"),2===e&&o.l.createElement(s.a,{"className":"screen-select-checked"},o.l.createElement(i.a,{"value":"check","size":"20","color":"#6885CF"})))))}},{"key":"componentDidMount","value":function componentDidMount(){f(Acts.prototype.__proto__||Object.getPrototypeOf(Acts.prototype),"componentDidMount",this)&&f(Acts.prototype.__proto__||Object.getPrototypeOf(Acts.prototype),"componentDidMount",this).call(this)}},{"key":"componentDidShow","value":function componentDidShow(){f(Acts.prototype.__proto__||Object.getPrototypeOf(Acts.prototype),"componentDidShow",this)&&f(Acts.prototype.__proto__||Object.getPrototypeOf(Acts.prototype),"componentDidShow",this).call(this)}},{"key":"componentDidHide","value":function componentDidHide(){f(Acts.prototype.__proto__||Object.getPrototypeOf(Acts.prototype),"componentDidHide",this)&&f(Acts.prototype.__proto__||Object.getPrototypeOf(Acts.prototype),"componentDidHide",this).call(this)}}]),Acts}())||r},"56":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r,o,c=n(2),s=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var a=function objectToString(e){if(e&&"object"===(void 0===e?"undefined":i(e))){var t="";return Object.keys(e).forEach(function(n){var r=n.replace(/([A-Z])/g,"-$1").toLowerCase();t+=r+":"+e[n]+";"}),t}return e&&"string"==typeof e?e:""},l=(o=r=function(e){function AtComponent(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,AtComponent),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(AtComponent.__proto__||Object.getPrototypeOf(AtComponent)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(AtComponent,c["default"].Component),s(AtComponent,[{"key":"mergeStyle","value":function mergeStyle(e,t){return e&&"object"===(void 0===e?"undefined":i(e))&&t&&"object"===(void 0===t?"undefined":i(t))?Object.assign({},e,t):a(e)+a(t)}}]),AtComponent}(),r.options={"addGlobalClass":!0},o)},"57":function(e,t,n){e.exports=n(113)()},"75":function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return c});var r=n(11),o=function set(e){return{"type":r.b,"data":e}},c=function reset(){return{"type":r.a}}},"76":function(e,t,n){"use strict";var r,o=n(1),c=n(2),s=n(210),i=n(333),a=n(209),l=n(16),u=(n(77),function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}());t.a=Object(l.b)(function(e){return{"screen":e.screen,"coins":e.coins,"status":e.status}})(r=function(e){function Screen(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Screen),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Screen.__proto__||Object.getPrototypeOf(Screen)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Screen,c["default"].Component),u(Screen,[{"key":"handleClick","value":function handleClick(e){if(this.props.onClick){var t="/pages/wallet/trades/screen/"+e;this.props.onClick(t)}}},{"key":"render","value":function render(){var e=["screen-item","screen-item","screen-item"];(this.props.isActive||0===this.props.isActive)&&(e[this.props.isActive]+=" screen-active");var t=this.props.screen,n=(t.time_mode,t.start_time),r=t.end_time,c=t.coin_id,l=t.acts,u=o.l.createElement(s.a,null,"本月");u=""!==n&&""!==r?o.l.createElement(i.a,{"className":"screen-item-date"},o.l.createElement(i.a,{"className":"screen-item-date-context"},o.l.createElement(s.a,null,n),o.l.createElement("br",null),o.l.createElement(s.a,null,r)),o.l.createElement(i.a,null,o.l.createElement(a.a,{"prefixClass":"jxh","value":"xiangxia","size":"16"}))):""!==n||""!==r?o.l.createElement(i.a,null,o.l.createElement(s.a,null,n||r),o.l.createElement(a.a,{"prefixClass":"jxh","value":"xiangxia","size":"16"})):o.l.createElement(i.a,null,o.l.createElement(s.a,{"className":""},"本月"),o.l.createElement(a.a,{"prefixClass":"jxh","value":"xiangxia","size":"16"}));var p=c&&this.props.coins[c]?this.props.coins[c].title:"所有币种",f=l&&this.props.status.trades[l]?this.props.status.trades[l].title:"所有类别";return o.l.createElement(i.a,{"className":"screen"},o.l.createElement(i.a,{"className":e[0],"onClick":this.handleClick.bind(this,"timer")},u),o.l.createElement(i.a,{"className":e[1],"onClick":this.handleClick.bind(this,"coins")},o.l.createElement(s.a,null,p),o.l.createElement(a.a,{"prefixClass":"jxh","value":"xiangxia","size":"16"})),o.l.createElement(i.a,{"className":e[2],"onClick":this.handleClick.bind(this,"acts")},o.l.createElement(s.a,null,f),o.l.createElement(a.a,{"prefixClass":"jxh","value":"xiangxia","size":"16"})))}}]),Screen}())||r},"77":function(e,t,n){},"88":function(e,t,n){}}]);