|
|
@ -1,9 +1,5 @@
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
|
|
|
|
|
|
import "../usersInfo.css"
|
|
|
|
|
|
|
|
import "../../../courses/css/members.css"
|
|
|
|
|
|
|
|
import "../../../courses/css/Courses.css"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class GtopicBanks extends Component{
|
|
|
|
class GtopicBanks extends Component{
|
|
|
|
constructor(props){
|
|
|
|
constructor(props){
|
|
|
@ -19,12 +15,12 @@ class GtopicBanks extends Component{
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const menuData={
|
|
|
|
const menuData={
|
|
|
|
tab:'0',
|
|
|
|
tab:'0',//tab选中的index
|
|
|
|
menuArray:[
|
|
|
|
menuArray:[//tab以及tab路由
|
|
|
|
{to:'/banks/gtopic/1',content:'内容详情'},
|
|
|
|
{to:'/banks/gtopic/1',content:'内容详情'},
|
|
|
|
{to:'/banks/gtopic/1/answer',content:'参考答案'},
|
|
|
|
{to:'/banks/gtopic/1/answer',content:'参考答案'},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
category:'topic',
|
|
|
|
category:'topic',//毕设选题
|
|
|
|
id:bankId
|
|
|
|
id:bankId
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.props.initPublic(crumbData,menuData);
|
|
|
|
this.props.initPublic(crumbData,menuData);
|
|
|
|