From 9daaec83c02222281d7af280407a22019bb3ce11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 8 Jan 2020 09:52:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BA=95=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/login/EducoderInteresse.js | 4 ++- .../react/src/modules/login/EducoderLogin.js | 28 +++---------------- public/react/src/modules/login/Otherlogin.js | 19 ++----------- public/react/src/modules/tpm/NewFooter.js | 7 ++--- 4 files changed, 12 insertions(+), 46 deletions(-) diff --git a/public/react/src/modules/login/EducoderInteresse.js b/public/react/src/modules/login/EducoderInteresse.js index 75f2c7059..5f62153c3 100644 --- a/public/react/src/modules/login/EducoderInteresse.js +++ b/public/react/src/modules/login/EducoderInteresse.js @@ -6,6 +6,8 @@ import beijintulogontwo from '../../../src/images/login/beijintulogontwo.png'; import educodernet from '../../../src/images/login/educodernet.png'; import InterestpageComponent from '../user/Interestpage' import InterestpageComponentMax from '../user/InterestpageMax' +import moment from 'moment'; + //educoder登入页面 var newContainer={ @@ -78,7 +80,7 @@ class EducoderInteresse extends Component { justifyContent: "center", width: "100%", }}> -
© 2019 EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
+
© {moment().year()} EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js index 123b2f2a0..5663c69c8 100644 --- a/public/react/src/modules/login/EducoderLogin.js +++ b/public/react/src/modules/login/EducoderLogin.js @@ -1,26 +1,6 @@ import React, {Component} from "react"; -import { - Form, - Select, - Input, - Button, - Checkbox, - Upload, - Icon, - message, - Modal, - Table, - Divider, - InputNumber, - Tag, - DatePicker, - Radio, - Tooltip, - notification -} from "antd"; -import {Link, Switch, Route, Redirect} from 'react-router-dom'; +import moment from 'moment'; import { SnackbarHOC,getImageUrl } from 'educoder'; -import { TPMIndexHOC } from '../tpm/TPMIndexHOC'; import '../courses/css/members.css'; import "../courses/common/formCommon.css" import '../courses/css/Courses.css'; @@ -201,21 +181,21 @@ class EducoderLogin extends Component { justifyContent: "center", width: "100%", }}> -
© 2019 EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
+
© {moment().year()} EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
: this.props.mygetHelmetapi===undefined||this.props.mygetHelmetapi.main_site===null|| this.props.mygetHelmetapi.main_site===undefined?
-
© 2019 EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
+
© {moment().year()} EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
:this.props.mygetHelmetapi.main_site===true?
-
© 2019 EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
+
© {moment().year()} EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
:"" } diff --git a/public/react/src/modules/login/Otherlogin.js b/public/react/src/modules/login/Otherlogin.js index 59710ab2f..75874ee18 100644 --- a/public/react/src/modules/login/Otherlogin.js +++ b/public/react/src/modules/login/Otherlogin.js @@ -1,33 +1,18 @@ import React, {Component} from "react"; import { - Form, - Select, Input, Button, - Checkbox, - Upload, - Icon, - message, - Modal, - Table, Divider, - InputNumber, - Tag, - DatePicker, - Radio, - Tooltip, - notification, Layout, Spin } from "antd"; import axios from 'axios'; +import moment from 'moment'; import { getImageUrl } from 'educoder' -import {Link, Switch, Route, Redirect} from 'react-router-dom'; import '../courses/css/members.css'; import "../courses/common/formCommon.css" import '../courses/css/Courses.css'; import beijintulogontwo from '../../../src/images/login/beijintulogontwo.png'; -import educodernet from '../../../src/images/login/educodernet.png'; const { Header, Footer, Sider, Content } = Layout; //educoder登入页面 var sectionStyle = { @@ -294,7 +279,7 @@ class Otherlogin extends Component { justifyContent: "center", width: "100%", }}> -
© 2019 EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
+
© {moment().year()} EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
diff --git a/public/react/src/modules/tpm/NewFooter.js b/public/react/src/modules/tpm/NewFooter.js index 1b4ed2c00..9a69d522b 100644 --- a/public/react/src/modules/tpm/NewFooter.js +++ b/public/react/src/modules/tpm/NewFooter.js @@ -1,8 +1,7 @@ import React, { Component } from 'react'; -import { Redirect } from 'react-router'; +import moment from 'moment'; import { Link } from 'react-router-dom'; -import { getImageUrl, toPath } from 'educoder' -import PropTypes from 'prop-types'; + class NewFooter extends Component { constructor(props) { @@ -58,7 +57,7 @@ class NewFooter extends Component { {this.props.mygetHelmetapi === null ? "" : this.props.mygetHelmetapi===undefined|| this.props.mygetHelmetapi.footer===null||this.props.mygetHelmetapi.footer===undefined?

- © 2019 EduCoder + © {moment().year()} EduCoder 湘ICP备17009477号 湘公网安备43019002000962号