index.js 2.7 KB
Newer Older
wangshuo committed
1 2 3 4 5 6 7 8 9
import React, { Component } from 'react'
import './index.scss'

export default class Team extends Component {
  constructor(props) {
    super(props);
    this.state = {
      teacherList: [
        {
wangshuo committed
10
          avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/teacher1.png',
wangshuo committed
11 12 13 14
          name: 'A老师',
          des: '七月在线AI Lab负责人兼科学家。历任浪潮集团数七月在线AI Lab负责人兼科学家。历任浪潮集团数七月在线AI Lab负责人兼科学家。历任浪潮集团数据科学家,国家电网人工智能行业应用方向团队负责人。参与过一国家863项目,且曾主持一山东省自主创新及成果转化专项,发明专利十余项,专业论文十余年哈哈塑料袋科技发牢骚'
        },
        {
wangshuo committed
15
          avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/teacher2.png',
wangshuo committed
16
          name: 'A老师',
wangshuo committed
17
          des: '七月在线AI Lab负责人兼科学家。历任浪潮集团数据科学家,'
wangshuo committed
18 19
        },
        {
wangshuo committed
20
          avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/teacher3.png',
wangshuo committed
21
          name: 'A老师',
wangshuo committed
22
          des: '七月在线AI Lab负责人兼科学家。历任浪潮集团数据科学家,'
wangshuo committed
23 24
        },
        {
wangshuo committed
25
          avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/teacher4.png',
wangshuo committed
26 27 28 29 30 31 32 33 34 35
          name: 'A老师',
          des: '七月在线AI Lab负责人兼科学家。历任浪潮集团数据科学家,国家电网人工智能行业应用方向团队负责人。参与过一国家863项目,且曾主持一山东省自主创新及成果转化专项,发明专利十余项,专业论文十余年哈哈塑料袋科技发牢骚'
        }
      ]
    }
  }
  render() {
    const {teacherList} = this.state;
    return (
      <div className={'team_container'}>
wangshuo committed
36 37
        <img className={'team_top'} src="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/team_top.png" alt=""/>
        <img className={'team_bottom'} src="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/team_bottom.png" alt=""/>
wangshuo committed
38 39 40 41 42 43 44
        <p className={'title'}>///</p>
        <p className={'sub_title'}>讲师+助教+班主任全程陪伴,哪里不会问哪里</p>
        <ul>
        {
          teacherList.map((item,index)=>{
            return (
              <li key={index} className={'item_li'}>
wangshuo committed
45
                <img className={'item_image'} src={item.avatar} alt=""/>
wangshuo committed
46 47
                <div className={'item_info'}>
                  <span className={'name'}>{item.name}</span>
wangshuo committed
48
                  <p className={'des'}>{item.des}</p>
wangshuo committed
49 50 51 52 53 54 55 56 57 58
                </div>
              </li>
            )
          })
        }
        </ul>
      </div>
    )
  }
}