'use strict'
!(function(require, directRequire) {
  const a = require('react'),
    b = require('./3b5f8e2469c474c8d433c1c6926d8999.js')
  class c extends a.Component {
    constructor(a) {
      super(a)
    }
    componentWillReceiveProps() {}
    close() {
      this.props.setPayment({ show: !1 })
    }
    render() {
      let c = this.props,
        d = { opacity: c.success ? 0.1 : 1 },
        e = { display: c.success ? '' : 'none' }
      return a.createElement(
        'div',
        { className: 'payment-dialog', style: c.show ? {} : b.displayNone },
        a.createElement('div', { className: 'weui-mask' }),
        a.createElement(
          'div',
          { className: 'weui-dialog' },
          a.createElement(
            'div',
            { className: 'weui-dialog__bd' },
            a.createElement(
              'div',
              {
                className: 'payment-dialog-hd',
                onClick: this.close.bind(this)
              },
              a.createElement('i', { className: 'ui-icon-close' })
            ),
            a.createElement(
              'h3',
              { className: 'payment-dialog-title' },
              '\u5FAE\u4FE1\u652F\u4ED8'
            ),
            a.createElement(
              'div',
              { className: 'payment-dialog-content' },
              a.createElement('img', { src: c.qrcode, alt: '', style: d }),
              a.createElement('i', { className: 'weui-icon-success', style: e })
            ),
            a.createElement(
              'p',
              { className: 'payment-dialog-tips' },
              '\u8BF7\u7528\u5F00\u53D1\u8005\u672C\u4EBA\u5FAE\u4FE1\uFF08',
              c.nickName,
              '\uFF09\u626B\u63CF\u4EE5\u4E0A\u4E8C\u7EF4\u7801\u8FDB\u884C\u652F\u4ED8\u8C03\u8BD5'
            )
          )
        )
      )
    }
  }
  module.exports = c
})(require('lazyload'), require)
