和 Codex 一块儿搓了个新前端 hu60next
{
"error": "true",
"errInfo": {
"code": 401,
"message": "用户未登录或掉线,请先登录。",
"file": "/www/wwwroot/hu60.cn/src/class/bbs.php",
"line": 78,
"trace": "#0 /www/wwwroot/hu60.cn/src/class/bbs.php(533): bbs->checkLogin()\n#1 /tmp/hu60/tplc/json_jhin_bbs^5c5ffd5c5d3a0cd51b0ceb5e289031c2e3cf9306_0.tpl.topic.php(108): bbs->isFavoriteTopic()\n#2 /www/wwwroot/hu60.cn/src/class/smarty/sysplugins/smarty_template_resource_base.php(123): content_6a670fa1f1e965_49795511()\n#3 /www/wwwroot/hu60.cn/src/class/smarty/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#4 /www/wwwroot/hu60.cn/src/class/smarty/sysplugins/smarty_internal_template.php(206): Smarty_Template_Compiled->render()\n#5 /www/wwwroot/hu60.cn/src/class/smarty/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render()\n#6 /www/wwwroot/hu60.cn/src/class/smarty/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()\n#7 /www/wwwroot/hu60.cn/src/page/bbs/topic.php(131): Smarty_Internal_TemplateBase->display()\n#8 /www/wwwroot/hu60.cn/src/q.php(79): include('...')\n#9 {main}"
}
}
img标签中的style被忽略,导致用于限制图片大小的#宽度语法失效。
《图片:https://file.hu60.cn/file/hash/png/f15e71e06fbaf3a29a3995e70e8035fd59905.png,image.png(58.5 KB)#300》
<iframe>标签完全被忽略,[html][/html]功能失效:
https://next.hu60.cn/topic/101501#floor-13
正常应该是这样:
https://hu60.cn/q.php/bbs.topic.101501.html?floor=13#13
还有,目前我不喜欢在next.hu60.cn回复,因为它没有markdown开关,我需要手动输入<!-- markdown -->才能启用markdown模式。
经典主题和Jhin主题可以通过网页插件添加Markdown开关:
https://hu60.cn/q.php/bbs.topic.83135.html
此外,我也希望[div]、[span]和[color]标签可以恢复正常,这样以前发表的小尾巴就可以继续生效。
未来,next.hu60.cn应该也要支持网页插件功能(或者直接支持自定义个性签名功能),这样用户就可以继续添加自定义小尾巴。
搜索UI很让人困惑,我在顶部输入搜索词,按回车之后搜索词居然从顶部消失了,跑到了下面那个大搜索框里。
为什么需要第二个额外的搜索框?而且顶部的搜索词也不应该消失。
手机端怎么找不到聊天室入口了
@rkonfj,我倾向于采用类似
<!-- markdown -->的方案来支持行内公式,比如添加<!-- math -->标记然后让用户自主开启(或者前端智能检测到用户插入公式时自动添加该标记)。之后我可能会把基于
<!-- math -->标记的行内公式解析功能添加到后端。