Browse Source

change text

dev
xmcp 6 years ago
parent
commit
19273f5cd2
  1. 2
      public/index.html
  2. 2
      public/static/manifest.json
  3. 32
      src/Title.js

2
public/index.html

@ -21,7 +21,7 @@
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1242x2208.png" media="(device-width: 414px) and (-webkit-device-pixel-ratio: 3)"/> <link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1242x2208.png" media="(device-width: 414px) and (-webkit-device-pixel-ratio: 3)"/>
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1668x2388.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/> <link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1668x2388.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/>
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/2388x1668.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/> <link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/2388x1668.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/>
<title>P大树洞(非官方)</title> <title>P大树洞</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

2
public/static/manifest.json

@ -1,6 +1,6 @@
{ {
"short_name": "树洞", "short_name": "树洞",
"name": "P大树洞(非官方)", "name": "P大树洞",
"icons": [ "icons": [
{ {
"src": "/static/favicon/256.png", "src": "/static/favicon/256.png",

32
src/Title.js

@ -9,22 +9,22 @@ const flag_re=/^\/\/setflag ([a-zA-Z0-9_]+)=(.+)$/;
const HELP_TEXT=( const HELP_TEXT=(
<div className="box"> <div className="box">
<p>使用提示</p> <p className="centered-line">使用提示</p>
<ul> <ul>
<li>为保证使用体验请使用 Chrome Mobile Safari 浏览器最新版</li> <li>为保证使用体验请使用 Chrome Mobile Safari 浏览器最新版</li>
<li>在搜索框输入 #472865 等可以查看指定 ID 的树洞</li> <li>在列表中左右滑动可以预览回复点击展开侧边栏进行操作</li>
<li>新的帖子会在左上角显示一个圆点</li> <li>新出现的帖子会在左上角显示一个圆点</li>
<li>点击树洞编号可以复制分享链接和树洞全文包括回复</li>
<li>本网站支持 3D Touch重压屏幕可以快速返回 / 刷新树洞</li> <li>本网站支持 3D Touch重压屏幕可以快速返回 / 刷新树洞</li>
</ul> </ul>
<p>使用本网站时您需要了解并同意</p> <p>
<ul> &nbsp;
<li>所有数据来自 PKU Helper本站不对其内容负责</li> <a href="https://github.com/xmcp/ashole" target="_blank">
<li> <span className="icon icon-github" /> GitHub
不接受关于 UI 的建议 </a>
功能建议请在 <a href="https://github.com/xmcp/ashole" target="_blank">GitHub</a> &nbsp;开源如有反馈请提交 Issue
</li> </p>
<li>英梨梨是我的你们都不要抢</li> <br />
</ul>
<p>By @xmcp</p> <p>By @xmcp</p>
<br /> <br />
<p> <p>
@ -123,7 +123,7 @@ class ControlBar extends PureComponent {
/> />
<a className="control-btn" onClick={()=>{ <a className="control-btn" onClick={()=>{
this.props.show_sidebar( this.props.show_sidebar(
'P大树洞(非官方)网页版', 'P大树洞 网页版',
<div> <div>
<PromotionBar /> <PromotionBar />
<LoginForm /> <LoginForm />
@ -162,15 +162,11 @@ export function Title(props) {
<div className="title"> <div className="title">
<p className="centered-line"> <p className="centered-line">
P大树洞 P大树洞
&nbsp;
<a href="https://github.com/xmcp/ashole" target="_blank">
<span className="icon icon-github" />
</a>
</p> </p>
<p className="title-small"> <p className="title-small">
{ is_eriri_birthday ? { is_eriri_birthday ?
<span style={{backgroundColor: 'yellow'}}>3月20日是看板娘<a href="https://zh.moegirl.org/%E6%B3%BD%E6%9D%91%C2%B7%E6%96%AF%E5%AE%BE%E5%A1%9E%C2%B7%E8%8B%B1%E6%A2%A8%E6%A2%A8" target="_blank">英梨梨</a></span> : <span style={{backgroundColor: 'yellow'}}>3月20日是看板娘<a href="https://zh.moegirl.org/%E6%B3%BD%E6%9D%91%C2%B7%E6%96%AF%E5%AE%BE%E5%A1%9E%C2%B7%E8%8B%B1%E6%A2%A8%E6%A2%A8" target="_blank">英梨梨</a></span> :
"官方网页版 by @xmcp" "官方网页版"
} }
</p> </p>
</div> </div>

Loading…
Cancel
Save