diff --git a/public/react/src/App.js b/public/react/src/App.js index 1a1af02d9..f59f76010 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -207,6 +207,12 @@ const UsersInfo = Loadable({ loading: Loading, }) +// 兴趣页面 +const Interestpage = Loadable({ + loader: () => import('./modules/user/Interestpage'), + loading: Loading, +}) + class App extends Component { constructor(props) { super(props) @@ -324,8 +330,8 @@ class App extends Component { */} {/* */} - - + {/* 兴趣页面*/} + diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index 691f8bb1e..7af055314 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -756,6 +756,8 @@ submittojoinclass=(value)=>{
  • 账号管理
  • {/*
  • this.educoderlogin()} >登入测试接口
  • */} {/*
  • this.trialapplications()} >试用申请
  • */} +
  • 兴趣页
  • +
  • {/*退出*/} {/*this.educoderlogin()}>退出*/} diff --git a/public/react/src/modules/user/Interestpage.js b/public/react/src/modules/user/Interestpage.js new file mode 100644 index 000000000..5ac180242 --- /dev/null +++ b/public/react/src/modules/user/Interestpage.js @@ -0,0 +1,57 @@ +import React, {Component} from 'react'; + +import {BrowserRouter as Router, Route, Link, Switch} from "react-router-dom"; + +import {getImageUrl, DragValidator} from 'educoder'; +import {Tabs, Input, Checkbox, Button, notification} from 'antd'; +import axios from 'axios'; +import './common.css' + + +//父组件 EducoderLogin.js +class InterestpageComponent extends Component { + constructor(props) { + super(props) + this.state = { + login: "", + password: "", + passwords: "", + seconds: 60, + codes: "", + getverificationcodes: true, + Phonenumberisnotco: undefined, + Phonenumberisnotcobool: false, + s: 'text', + classpass: "text", + readonlyInput: true, + } + } + + + + + + render() { + const { + } = this.state + // height: 346px; + return ( + +
    + +
    +
    +
    1
    +
    2
    +
    3
    +
    + + +
    + +
    + ); + } +} + +export default (InterestpageComponent);