众包url调整

dev_aliyun
杨树明 5 years ago
parent 658fc3f7e6
commit 36f5240214

@ -51,7 +51,7 @@ class PackageConcent extends Component {
//否 string 排序,默认最新, recently, price
// 否 string 类型, front,backend,mobile,database, cloud_compute_and_big_data,devops_and_test,ai,other
componentDidMount() {
window.document.title = '交流问答'
window.document.title = '众包社区'
let {category,keyword,sort_by,sort_direction,page}=this.state
this.setdatas(category,keyword,sort_by,sort_direction,page)

@ -11,7 +11,7 @@ class PackageIndex extends Component{
}
componentDidMount(){
window.document.title = '交流问答'
window.document.title = '众包社区'
}
render() {

@ -49,7 +49,7 @@ class PackageIndexNEITaskDetails extends Component {
componentDidMount() {
this.getdatas()
window.document.title = '交流问答'
window.document.title = '众包社区'
}
getdatas=()=>{

@ -75,7 +75,7 @@ class PackageIndexNEIBannerConcent extends Component {
}
componentDidMount() {
window.document.title = '交流问答'
window.document.title = '众包社区'
if(this.props.match.params.id!=undefined){
let url=`/api/v1/project_packages/${this.props.match.params.id}.json`

@ -10,7 +10,7 @@ class PackageIndexNEISubmit extends Component {
}
}
componentDidMount() {
window.document.title = '交流问答'
window.document.title = '众包社区'
}
setageload=(sum)=>{
if(sum===undefined){

@ -18,9 +18,9 @@ class PackageIndexNewandEditIndex extends Component{
}
componentDidMount(){
window.document.title = '交流问答'
window.document.title = '众包社区'
}
setPublicationfun=(ids)=>{
this.setState({
setPublication:true,

@ -32,7 +32,7 @@ class ProjectPackageIndex extends Component {
}
componentDidMount(){
window.document.title = '交流问答'
window.document.title = '众包社区'
}
render() {

@ -304,7 +304,7 @@ class NewHeader extends Component {
<li className={`${competitions === true ? 'active' : ''}`} ><a href="/competitions">在线竞赛</a></li>
<li className={`${competitions === true ? 'active' : ''}`} style={{display:project_packages_url===null||project_packages_url===undefined||project_packages_url===""?'none':'block'}} >
<a href="/crowdsourcing">
{project_packages_url===null||project_packages_url===undefined||project_packages_url===""?'':'众包'}
{project_packages_url===null||project_packages_url===undefined||project_packages_url===""?'':'众包社区'}
</a>
</li>
<li className={`${activeForums === true ? 'active' : ''}`}><a href="/forums">交流问答</a></li>

Loading…
Cancel
Save