index.js 983 Bytes
Newer Older
xuzhenghua committed
1 2
import React, {Component} from 'react'
import './index.scss'
xuzhenghua committed
3 4
import {CallApp} from '../../../common'

xuzhenghua committed
5 6 7 8 9

class Audition extends Component {
    constructor(props) {
        super(props);
    }
xuzhenghua committed
10

xuzhenghua committed
11 12 13 14 15 16 17 18 19 20 21 22 23
    colse = () => {
        this.props.boxHide(false);
    }

    render() {
        return (
            <div>
                {
                    this.props.auditionBox &&
                    <div className='popup-box'>
                        <div className='content audition-box'>
                            <p className='audition-header'>当前页面不支持试听</p>
                            <p className='audition-dec'>请前往APP试听</p>
xuzhenghua committed
24
                            <CallApp className='btn btn-18B4ED' text='立即前往'></CallApp>
xuzhenghua committed
25 26 27 28 29 30 31 32 33 34 35
                        </div>
                        <i onClick={this.colse} className={'iconfont iconiconfront-2 close'}></i>
                    </div>
                }
            </div>
        );
    }

}

export default Audition;