index_20190418113639.js 1.27 KB
Newer Older
baiguangyao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
import React, { Component } from 'react';
import NavLink from './NavLink';
import styles from './index.scss';

export default class Nav extends Component {
    render() {
        return (
            <div>
                <div style={{ height: '50px' }}></div>
                <div className={styles.root}>
                    <NavLink
                        pathUrl="/"
                        exact
                        icoName={"iconfont iconshouye"}
                        active={"navOne"}
                        linkName="首页"
                    />
                    <NavLink
                        pathUrl="/classify"
                        icoName="i-haodian42un"
                        active={"navTwo"}
                        linkName="分类"
                    />
                    <NavLink
                        pathUrl="/study"
                        icoName="i-youhui42un"
                        active={"navThree"}
                        linkName="学习"
                    />
                    <NavLink
                        pathUrl="/my"
                        icoName="i-zhoubian42un"
                        active={"navFour"}
                        linkName="我的"
                    />
                </div>
            </div>
        )
    }
}