下载微信开发者工具 https://developers.weixin.qq.com/miniprogram/dev/devtools/devtools.html 后打开目录
custom-tab-bar: 切换首页各页面pages/login: 登录页面pages/timeline: 时间线页面pages/topten: 十大页面pages/thread: 帖子页面pages/post: 发帖页面pages/board: 版面页面pages/boardlist: 分区页面pages/sectionlist: 分区选择页面utils/nforum_services: api请求utils/nforum_text_parser: 帖子内容布局相关app: 程序入口
有些页面的navigateTo跳转会带有事件,如分区和版面选择页面,在custom-tab-bar/index中success回调时会触发acceptBackPage事件,这样下一层页面如sectionlist会收到最终页面一层(board)被点击时的行为。pages/post同样会跳转到sectionlist,但带有不同的acceptBackPage参数,所以最终页面选择时的结果是返回给post页面版面名,而不是打开该版面的页面
使用论坛api登录的话需配置utils/secrets。更合理的做法应该是使用论坛和微信的认证。