{"size": 1378, "ext": "js", "max_stars_repo_path": "src/component/frame/frameplus/FramePlus.js", "max_stars_repo_name": "2284730142/project-React-QQmusic", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/component/frame/frameplus/FramePlus.js", "max_issues_repo_name": "2284730142/project-React-QQmusic", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/component/frame/frameplus/FramePlus.js", "max_forks_repo_name": "2284730142/project-React-QQmusic", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.56, "max_line_length": 66, "alphanum_fraction": 0.3904208999}
import React from 'react';

import './framePlus.less';
import '../../../global/css/theme.less';
import '../../../global/css/iconfont.less';

class FramePlus extends React.Component {
    constructor(props) {
        super(props);
        this.state = {};
        this.listen = this.listen.bind(this);
        this.sao = this.sao.bind(this);
    }

    listen() {
        console.log('听')
    }

    sao() {
        console.log('扫')
    }

    render() {
        return (
            <div className={`${'frame-plus'}`}
                 style={{
                     zIndex: this.props.open ? '110' : '-1',
                 }}>
                <div className={`${'frame-plus-main'}`}>
                    <div className={`${'frame-plus-main-item'}`}
                         onClick={this.listen}>
                        <span className={`${'icon-xuanquyinle'}`}>
                        </span>
                        听歌识曲
                    </div>
                    <div className={`${'frame-plus-main-item'}`}
                         onClick={this.sao}>
                        <span className={`${'icon-saoyisao'}`}>
                        </span>
                        扫一扫
                    </div>
                    <div className={`${'arrow'}`}>
                    </div>
                </div>
            </div>
        )
    }
}

module.exports = FramePlus;