diff --git a/public/react/src/modules/tpm/SiderBar.js b/public/react/src/modules/tpm/SiderBar.js index 9312b24fd..0338481f7 100644 --- a/public/react/src/modules/tpm/SiderBar.js +++ b/public/react/src/modules/tpm/SiderBar.js @@ -1,5 +1,6 @@ import React, { Component } from 'react'; import { getImageUrl} from 'educoder'; +import {Tooltip} from 'antd'; import './TPMIndex.css'; const $ = window.$; @@ -81,60 +82,70 @@ class SiderBar extends Component { } componentDidMount() { - _initSider(); + _initSider() } render() { + // console.log(this.props) return (
- {this.props.mygetHelmetapi&&this.props.mygetHelmetapi.main_site===true?
-
- - - -
- -
- - - -
+ {this.props.mygetHelmetapi&&this.props.mygetHelmetapi.main_site===true?
+ +
+ + + +
+
+ + +
+ + + +
+
- -

-

- - -

微信扫一扫

-

关注公众号

- -

-

+ +

+

+ + +

微信扫一扫

+

关注公众号

+

+

+ + }> + +
-
- - - -
-
:""} - + +
+ + + +
+
+
:""}
); } diff --git a/public/react/src/modules/tpm/TPMIndex.css b/public/react/src/modules/tpm/TPMIndex.css index 10eb9dc11..eb1778b30 100644 --- a/public/react/src/modules/tpm/TPMIndex.css +++ b/public/react/src/modules/tpm/TPMIndex.css @@ -222,4 +222,7 @@ body>.-task-title { .headwith100b{ width: 100%; +} +.wechatcenter{ + text-align: center; } \ No newline at end of file