diff --git a/public/index.html b/public/index.html index 98e7161..e75933a 100644 --- a/public/index.html +++ b/public/index.html @@ -29,6 +29,7 @@ var _czc=_czc||[]; _czc.push(["_setAccount","1274501752"]); _czc.push(["_setCustomVar","has_token",localStorage['TOKEN']?'yes':'no',1]); + _czc.push(["_setCustomVar","background_image",localStorage['REPLACE_ERIRI_WITH_URL']||'null',0]); var cnzz_s_tag = document.createElement('script'); cnzz_s_tag.type = 'text/javascript'; cnzz_s_tag.async = true; diff --git a/src/Title.css b/src/Title.css index 972dd89..556d396 100644 --- a/src/Title.css +++ b/src/Title.css @@ -50,4 +50,8 @@ color: black; background-color: rgba(255,255,255,.5); margin: 0 .5em; +} + +.list-menu { + text-align: center; } \ No newline at end of file diff --git a/src/Title.js b/src/Title.js index 0518bd8..d0ffb58 100644 --- a/src/Title.js +++ b/src/Title.js @@ -8,37 +8,28 @@ import './Title.css'; const flag_re=/^\/\/setflag ([a-zA-Z0-9_]+)=(.*)$/; const HELP_TEXT=( -
-

使用提示

- -

- 在  - - GitHub - -  开源,如有反馈请提交 Issue -

-
-

By @xmcp

-
-

- This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. -

-
-

- This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. -

+
+
+

树洞管理规范

+

意见反馈

+
+
+

树洞网页版 by @xmcp

+
+

+ This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. +

+
+

+ This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. +

+
); diff --git a/src/UserAction.js b/src/UserAction.js index 14eb637..f8b0368 100644 --- a/src/UserAction.js +++ b/src/UserAction.js @@ -132,12 +132,12 @@ export class LoginForm extends Component {

- User Token:复制
+ 复制 User Token
User Token 可用于迁移登录状态,请勿泄露,因为它与您的账户唯一对应且泄露后无法重置

:
-

登录后可以使用关注、回复等功能

+

登录后可以发树洞、回复、关注树洞

-

- 登录请求会被发送到北大统一验证接口和 PKU Helper 服务器 -


从其他设备导入登录状态

@@ -471,6 +468,9 @@ export class PostForm extends Component {

} +

+ 请遵守树洞管理规范,文明发言 +

) }