diff --git a/.gitignore b/.gitignore index f7222bc..49f060a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/ /build/ build.* +*.log diff --git a/public/index.html b/public/index.html index 4f368fc..555a50d 100644 --- a/public/index.html +++ b/public/index.html @@ -6,8 +6,6 @@ - - @@ -26,6 +24,26 @@ 新T树洞 -
请开启javascript,或稍等片刻
+
+ 请开启javascript,或 强制刷新 +
+ diff --git a/src/UserAction.js b/src/UserAction.js index 01a2304..df7cc8c 100644 --- a/src/UserAction.js +++ b/src/UserAction.js @@ -56,6 +56,7 @@ export function InfoSidebar(props) { +

强烈建议开始使用前先看一遍所有设置选项

@@ -85,6 +86,7 @@ export function InfoSidebar(props) {

意见反馈请加tag #意见反馈 或到github后端的issue区。

+

新T树洞强烈期待有其他更多树洞的出现,一起分布式互联,构建清华树洞族。详情见 关于 中的描述。

联系我们:{EMAIL}

diff --git a/public/static/fonts_7/icomoon.css b/src/fonts_7/icomoon.css similarity index 99% rename from public/static/fonts_7/icomoon.css rename to src/fonts_7/icomoon.css index 42842e1..72bb343 100644 --- a/public/static/fonts_7/icomoon.css +++ b/src/fonts_7/icomoon.css @@ -110,3 +110,4 @@ } .icon-trash:before { content: "\1f5d1"; +} diff --git a/public/static/fonts_7/icomoon.svg b/src/fonts_7/icomoon.svg similarity index 100% rename from public/static/fonts_7/icomoon.svg rename to src/fonts_7/icomoon.svg diff --git a/public/static/fonts_7/icomoon.ttf b/src/fonts_7/icomoon.ttf similarity index 100% rename from public/static/fonts_7/icomoon.ttf rename to src/fonts_7/icomoon.ttf diff --git a/public/static/fonts_7/icomoon.woff b/src/fonts_7/icomoon.woff similarity index 100% rename from public/static/fonts_7/icomoon.woff rename to src/fonts_7/icomoon.woff diff --git a/src/index.js b/src/index.js index e2a3d40..f44e849 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; +import './fonts_7/icomoon.css' import App from './App'; //import {elevate} from './infrastructure/elevator'; import registerServiceWorker from './registerServiceWorker'; diff --git a/src/infrastructure/widgets.js b/src/infrastructure/widgets.js index cf8185d..8c8aea7 100644 --- a/src/infrastructure/widgets.js +++ b/src/infrastructure/widgets.js @@ -59,10 +59,12 @@ class LoginPopupSelf extends Component { this.input_token_ref=React.createRef(); }; - setThuhole(tar, ref) { + setThuhole(e, tar, ref) { console.log(tar); + e.preventDefault(); tar.href = '/_login?p=thuhole&token=' + ref.current.value; console.log(tar); + alert('应T大树洞要求,已停止T大树洞token登陆'); } render() { @@ -84,7 +86,7 @@ class LoginPopupSelf extends Component {
{this.setThuhole(e.target, this.input_token_ref)}} + onClick={(e) =>{this.setThuhole(e, e.target, this.input_token_ref)}} >  T大树洞