diff --git a/src/App.js b/src/App.js index b8d91742b..aed2f9a35 100644 --- a/src/App.js +++ b/src/App.js @@ -261,10 +261,8 @@ class App extends Component { } }> - {/*403*/} - { // 置顶、取消置顶 function changeSticky(s){ let sticky = s ? 0 : 1;//1为置顶,0为取消置顶 - const url = `/memos/${id}/set-top-or-down.json`; + const url = `/memos/${id}/set_top_or_down.json`; axios.get(url,{ params:{ sticky diff --git a/src/forums/css/All.scss b/src/forums/css/All.scss index 4420a261e..781509b62 100644 --- a/src/forums/css/All.scss +++ b/src/forums/css/All.scss @@ -147,8 +147,18 @@ border:none!important; text-align: left!important; background-color: #fff!important; - height: 20px!important; - line-height: 20px!important; + .ant-upload-drag-container{ + i{ + font-size: 50px; + margin-bottom: 15px; + color: #999; + } + display: flex!important; + flex-direction: column; + align-items: center; + border:1px dashed #eee; + padding:15px 0px; + } .ant-upload{ padding:0px!important; } @@ -172,9 +182,12 @@ .headerInfoLeft{ display:flex; flex:1; - align-items:flex-start; + align-items:center; width:0; } + .tag{ + margin-top:0px!important; + } .originalTag{ position: absolute; right: 50px; diff --git a/src/forums/new_comments/new_comment.js b/src/forums/new_comments/new_comment.js index ad2035e85..257461c17 100644 --- a/src/forums/new_comments/new_comment.js +++ b/src/forums/new_comments/new_comment.js @@ -1,4 +1,4 @@ -import React, { useState, useEffect } from "react"; +import React, { useState } from "react"; import { getUrl } from "educoder"; import { Button, message } from "antd"; import MDEditor from "../../modules/tpm/challengesnew/tpm-md-editor"; diff --git a/src/modules/500/http500.js b/src/modules/500/http500.js index 89e1baa57..8370862e7 100644 --- a/src/modules/500/http500.js +++ b/src/modules/500/http500.js @@ -1,37 +1,26 @@ import React, { Component } from 'react'; - -import { BrowserRouter as Router, Route, Link, Switch } from "react-router-dom"; - -import Loading from '../../Loading'; - -import Loadable from 'react-loadable'; - import { TPMIndexHOC } from '../tpm/TPMIndexHOC'; - -import { SnackbarHOC,getImageUrl } from 'educoder'; +import { SnackbarHOC, getImageUrl } from 'educoder'; class Shixunnopage extends Component { render() { return (
-
- {/*mt100 mb100*/} - -

- 您可以稍后尝试 返回首页 +

+ {/*mt100 mb100*/} + +

+ 您可以稍后尝试 返回首页 ,或者  QQ反馈>> -

-
- {/*
*/} - {/**/} - {/**/} + href="//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd" + className="color-blue">QQ反馈>> +

+
); } } -export default SnackbarHOC() (TPMIndexHOC ( Shixunnopage )); +export default SnackbarHOC()(TPMIndexHOC(Shixunnopage));