diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index 0e797bdaa..60df25c5d 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -891,17 +891,17 @@ class NewHeader extends Component { ` } - {/*
  • */} - {/* */} - {/*
    */} - {/*
    */} - {/* 题库*/} - {/*
    */} - {/*
    */} - {/*
    */} - {/*
  • */} +
  • + +
    +
    + 题库 +
    +
    +
    +
  • 课堂
  • */}
  • {/*课堂*/} - 教学课堂 + 翻转课堂
  • 实训项目 @@ -992,11 +992,17 @@ class NewHeader extends Component { - -
    -
    - {/**/} -
    - - 实训 - - -
    - {/**/} - {/*搜索框*/} - {showSearchOpentype === true ?
    this.hideshowSearchOpen(e)} onMouseLeave={() => this.setevaluatinghides()}> - this.onKeywordSearchKeyDowns()} - onSearch={(value) => this.onKeywordSearchKeyDown(value)} - // onPressEnter={this.onKeywordSearchKeyDown} - style={{ width: 300, height: 32 }} - autoFocus={true} - /> -
    : ""} - - {/**/} - {/*/!**!/*/} - {/**/} - - {/**/} - {/* TODO 需要服务端接口提供最近搜索 +
    +
    + {/**/} +
    + + 实训 + + +
    + {/**/} + {/*搜索框*/} + {showSearchOpentype === true ?
    this.hideshowSearchOpen(e)} onMouseLeave={() => this.setevaluatinghides()}> + this.onKeywordSearchKeyDowns()} + onSearch={(value) => this.onKeywordSearchKeyDown(value)} + // onPressEnter={this.onKeywordSearchKeyDown} + style={{ width: 300, height: 32 }} + autoFocus={true} + /> +
    : ""} + + {/**/} + {/*/!**!/*/} + {/**/} + + {/**/} + {/* TODO 需要服务端接口提供最近搜索
    最近搜索
    */} -
    +
    {/* <%= link_to '登录', signin_path, :className => "mr5" %> <%= link_to '注册', user_join_path, :className => "ml5" %> */} - {user === undefined ? - - this.educoderlogin()} className="mr5 color-white">登录 - - 注册 - : user.login === "" ? - this.educoderlogin()} className="mr5 color-white">登录 - - 注册 - : -
    - - - - - -
    - } - {/*href="https://www.educoder.net/login"*/} -
    - {/*{ loadHeader()}*/} - {showSearchOpentype === true ? "" : this.props.user && this.props.user.main_site === true ? this.showSearchOpen(e)}> - {/*"/images/educoder/icon/search.svg" - */} + { + user === undefined ? + + this.educoderlogin()} className="mr5 color-white">登录 + + 注册 + : user.login === "" ? + this.educoderlogin()} className="mr5 color-white">登录 + + 注册 + : +
    + + + + +
      + {/*{user.username}*/} +
    • 我的个人主页
    • + {coursestypes === true ? "" :
    • {this.props.user && this.props.user.main_site === false ? "我的课堂" : "我的教学课堂"}
    • } + {/* p 老师 l 学生 */} + {shixuntype === true ? "" :
    • 我的实训项目
    • } + {pathstype === true ? "" :
    • {this.props.user && this.props.user.main_site === false ? "我的课程" : "我的实践课程"}
    • } + {this.props.user && this.props.user.main_site === true ?
    • 我的开发项目
    • : ""} + {/*
    • 我的众包
    • */} +
    • + 客户管理 +
    • + { + this.props.Headertop && this.props.Headertop.college_identifier && +
    • 学院统计
    • + } + { + this.props.Headertop && this.props.Headertop.laboratory_user && +
    • 后台管理
    • + } - - : ""} - - {/*
    */} -
    - - - - -
    -
    - - {coursestypes === true && this.props.user && this.props.user.main_site === false ? "" : -
    -
    - : ""} - } -
    -
    + - {this.props.user && this.props.user.main_site === true ?
    - {user === undefined ? "" : user.login === "" ? "" : - - - {/*{this.props.Headertop===undefined?"":this.props.Headertop.unread_message_count > 99 ? '99+'*/} - {/*: this.props.Headertop===undefined?"":this.props.Headertop.unread_message_count}*/} - - +
    +
    + + {coursestypes === true && this.props.user && this.props.user.main_site === false ? "" : } +
    +
    - : ""} - - -
    -
    - +
    : ""} + + +
    +
    +
      +
      +

      + {submitapplicationsvalue} +

      -
    - - +
  • + 取消 + 确定 +
  • + + + + - + + + ); }