No Description

index.js 5.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
  4. var _commonjsHelpers = require('../_commonjsHelpers-4ed3570f.js');
  5. var React = require('react');
  6. var React__default = _interopDefault(React);
  7. var index = require('../index-c2424ad4.js');
  8. var styleInject_es = require('../style-inject.es-dcee06b6.js');
  9. var css = ".WaitPayInfoView_waitingContainer__2DyOZ {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n";
  10. var styles = {"waitingContainer":"WaitPayInfoView_waitingContainer__2DyOZ"};
  11. styleInject_es.styleInject(css);
  12. const img = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjQ4cHgiIGhlaWdodD0iNDNweCIgdmlld0JveD0iMCAwIDQ4IDQzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTAuMiAoNTUwNDcpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPg0KICAgIDx0aXRsZT5rY3hxX3BvcG92ZXJzX2ljb25fdGFuaGFvPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4NCiAgICA8ZGVmcz48L2RlZnM+DQogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+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aWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMy44NDg3MDgsIDguMTkzNDE2KSIgZmlsbD0iI0ZGRkZGRiI+DQogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMi41LDI3LjQ5NzEwOTggQzEuMTMyMzUyOTQsMjcuNDk3MTA5OCAwLDI2LjM3OTQ2MjggMCwyNC45OTcxMDk4IEMwLDIzLjYxNDc1NjkgMS4xMzIzNTI5NCwyMi40OTcxMDk4IDIuNSwyMi40OTcxMDk4IEMzLjg2NzY0NzA2LDIyLjQ5NzEwOTggNSwyMy42MTQ3NTY5IDUsMjQuOTk3MTA5OCBDNSwyNi4zNzk0NjI4IDMuODY3NjQ3MDYsMjcuNDk3MTA5OCAyLjUsMjcuNDk3MTA5OCBaIE0yLjUsMTkuNDIxOTY1MyBDMS4xMzIzNTI5NCwxOS40MjE5NjUzIDAsMTguMTkxOTA3NSAwLDE2LjY3MDUyMDIgTDAsMi43NTE0NDUwOSBDMCwxLjI0NjI0Mjc3IDEuMTMyMzUyOTQsMCAyLjUsMCBDMy44Njc2NDcwNiwwIDUsMS4yMzAwNTc4IDUsMi43NTE0NDUwOSBMNSwxNi42NzA1MjAyIEM1LDE4LjE5MTkwNzUgMy44Njc2NDcwNiwxOS40MjE5NjUzIDIuNSwxOS40MjE5NjUzIFoiIGlkPSJTaGFwZSI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+';
  13. var Button = function Button() {
  14. for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) {
  15. props[_key] = arguments[_key];
  16. }
  17. return React__default.createElement("button", props, "button");
  18. };
  19. var WaitPayInfoView =
  20. /*#__PURE__*/
  21. function (_Component) {
  22. _commonjsHelpers._inherits(WaitPayInfoView, _Component);
  23. function WaitPayInfoView() {
  24. _commonjsHelpers._classCallCheck(this, WaitPayInfoView);
  25. return _commonjsHelpers._possibleConstructorReturn(this, _commonjsHelpers._getPrototypeOf(WaitPayInfoView).apply(this, arguments));
  26. }
  27. _commonjsHelpers._createClass(WaitPayInfoView, [{
  28. key: "render",
  29. value: function render() {
  30. var _this$props = this.props,
  31. onClickPayed = _this$props.onClickPayed,
  32. onClickProblem = _this$props.onClickProblem;
  33. return React__default.createElement("div", {
  34. className: styles.waitingContainer
  35. }, React__default.createElement("div", {
  36. className: styles.infoIconImgContainer
  37. }, React__default.createElement("img", {
  38. src: img,
  39. alt: "info label icon"
  40. })), React__default.createElement("div", null, React__default.createElement("div", {
  41. className: styles.pay_text
  42. }, "live.course_info.pay.notification"), React__default.createElement("div", {
  43. className: styles.btn_row
  44. }, React__default.createElement(Button, {
  45. className: index.classnames(styles.pay_btn, styles.btn_default),
  46. size: "small",
  47. onClick: function onClick() {
  48. onClickPayed && onClickPayed();
  49. }
  50. }, "live.course_info.pay.payed"), React__default.createElement(Button, {
  51. className: styles.btn_default,
  52. size: "small",
  53. style: {
  54. marginLeft: '16px'
  55. },
  56. onClick: function onClick() {
  57. onClickProblem && onClickProblem();
  58. }
  59. }, "live.course_info.pay.help"))));
  60. }
  61. }]);
  62. return WaitPayInfoView;
  63. }(React.Component);
  64. _commonjsHelpers._defineProperty(WaitPayInfoView, "defaultProps", {
  65. onClickPayed: function onClickPayed() {
  66. console.log("onClickPayed");
  67. },
  68. onClickProblem: function onClickProblem() {
  69. console.log("onClickProblem");
  70. }
  71. });
  72. exports.WaitPayInfoView = WaitPayInfoView;
  73. exports.default = WaitPayInfoView;
  74. //# sourceMappingURL=index.js.map