No Description

index.js.map 5.9KB

1
  1. {"version":3,"file":"index.js","sources":["../../src/components/Payment/assets/icon/icon-info-blue@2x.svg","../../src/components/Payment/WaitPayInfoView/index.tsx"],"sourcesContent":["const img = \"data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='48px' height='43px' viewBox='0 0 48 43' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3ekcxq_popovers_icon_tanhao%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e%3c/defs%3e %3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='%e5%8f%a6%e5%ae%a2%e7%bd%91_%e7%9b%b4%e6%92%ad%e8%af%be_%e8%af%be%e7%a8%8b%e4%bb%8b%e7%bb%8d%e8%af%a6%e6%83%85_%e8%b4%ad%e4%b9%b0%e6%8f%90%e7%a4%ba%e5%bc%b9%e7%aa%97' transform='translate(-936.000000%2c -190.000000)' fill-rule='nonzero'%3e %3cg id='Group-22' transform='translate(690.000000%2c 110.000000)'%3e %3cg id='kcxq_popovers_icon_tanhao' transform='translate(246.000000%2c 80.000000)'%3e %3cpath d='M48%2c21.5 C48%2c33.3736626 38.3645756%2c43 26.4797048%2c43 C21.1306273%2c43 17.0391144%2c42.1506173 13.2841328%2c38.9300412 C11.8140221%2c37.6736626 1.700369%2c43.2123457 0.177121771%2c39.2839506 C-1.06273063%2c36.0987654 5.95129151%2c29.2506173 5.31365314%2c27.0740741 C4.76457565%2c25.1806584 4.95940959%2c23.5703704 4.95940959%2c21.5 C4.95940959%2c9.62633745 14.5948339%2c0 26.4797048%2c0 C38.3645756%2c0 48%2c9.62633745 48%2c21.5 Z' id='Shape' fill='%231790FF'%3e%3c/path%3e %3cg id='Group' transform='translate(23.848708%2c 8.193416)' fill='white'%3e %3cpath d='M2.5%2c27.4971098 C1.13235294%2c27.4971098 0%2c26.3794628 0%2c24.9971098 C0%2c23.6147569 1.13235294%2c22.4971098 2.5%2c22.4971098 C3.86764706%2c22.4971098 5%2c23.6147569 5%2c24.9971098 C5%2c26.3794628 3.86764706%2c27.4971098 2.5%2c27.4971098 Z M2.5%2c19.4219653 C1.13235294%2c19.4219653 0%2c18.1919075 0%2c16.6705202 L0%2c2.75144509 C0%2c1.24624277 1.13235294%2c0 2.5%2c0 C3.86764706%2c0 5%2c1.2300578 5%2c2.75144509 L5%2c16.6705202 C5%2c18.1919075 3.86764706%2c19.4219653 2.5%2c19.4219653 Z' id='Shape'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e%3c/svg%3e\";\n export default img;","import React, { Component } from \"react\";\nimport classnames from \"classnames\";\nimport styles from \"./WaitPayInfoView.less\";\n\nimport infoIconImg from \"../assets/icon/icon-info-blue@2x.svg\";\n\nconst Button = (...props: any) => <button {...props}>button</button>;\n\ninterface Props {\n onClickPayed?: Function;\n onClickProblem?: Function;\n}\n\nexport class WaitPayInfoView extends Component<Props, {}> {\n static defaultProps = {\n onClickPayed: () => {\n console.log(\"onClickPayed\");\n },\n onClickProblem: () => {\n console.log(\"onClickProblem\");\n }\n };\n\n render() {\n const { onClickPayed, onClickProblem } = this.props;\n\n return (\n <div className={styles.waitingContainer}>\n <div className={styles.infoIconImgContainer}>\n <img src={infoIconImg} alt=\"info label icon\" />\n </div>\n <div>\n <div className={styles.pay_text}>\n {\"live.course_info.pay.notification\"}\n </div>\n <div className={styles.btn_row}>\n <Button\n className={classnames(styles.pay_btn, styles.btn_default)}\n size=\"small\"\n onClick={() => {\n onClickPayed && onClickPayed();\n }}\n >\n {\"live.course_info.pay.payed\"}\n </Button>\n <Button\n className={styles.btn_default}\n size=\"small\"\n style={{\n marginLeft: \"16px\"\n }}\n onClick={() => {\n onClickProblem && onClickProblem();\n }}\n >\n {\"live.course_info.pay.help\"}\n </Button>\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport default WaitPayInfoView;\n"],"names":["img","Button","props","React","createElement","Object","assign","WaitPayInfoView","onClickPayed","onClickProblem","className","styles","waitingContainer","infoIconImgContainer","src","infoIconImg","alt","pay_text","btn_row","classnames","pay_btn","btn_default","size","onClick","style","marginLeft","Component","defaultProps","console","log"],"mappings":";;;;;;;;;;;AAAA,IAAMA,GAAG,GAAG,mgEAAZ;;ACMA,IAAMC,MAAM,GAAG,SAATA,MAAS;oCAAIC,KAAJ;AAAIA,IAAAA,KAAJ,KAAA,CAAI,kBAAA;;;SAAeC,KAAA,CAAAC,aAAA,CAAA,QAAA,EAAAC,MAAA,CAAAC,MAAA,CAAA,EAAA,EAAYJ,KAAZ,CAAA,EAAiB,QAAjB;AAAlC,CAAA;;AAOA,IAAaK,eAAb;AAAA;AAAA,oBAAA;;;;;;;;;;;6BAUQ;wBACqC,KAAKL;UAAtCM,YADJ,eACIA;UAAcC,cADlB,eACkBA;aAGpBN,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKM,QAAAA,SAAS,EAAEC,MAAM,CAACC;AAAvB,OAAA,EACET,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKM,QAAAA,SAAS,EAAEC,MAAM,CAACE;AAAvB,OAAA,EACEV,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKU,QAAAA,GAAG,EAAEC,GAAV;AAAuBC,QAAAA,GAAG,EAAC;AAA3B,OAAA,CADF,CADF,EAIEb,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA,IAAA,EACED,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKM,QAAAA,SAAS,EAAEC,MAAM,CAACM;AAAvB,OAAA,EACG,mCADH,CADF,EAIEd,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKM,QAAAA,SAAS,EAAEC,MAAM,CAACO;AAAvB,OAAA,EACEf,KAAA,CAAAC,aAAA,CAACH,MAAD,EA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