更新记录

1.3(2020-03-25)

  • 文章阅读

  • 文章评论

  • 轮播展示

  • 后台设置文章详情页作者信息


平台兼容性

今天看了看编译之后的小程序代码,好像和其他的有些不一样,配置文件被压缩进了js里面,不知道的人可能都无法使用这个项目,所以今天给大家详细介绍一下这个Typecho小程序Pisces的使用教程。

下载小程序端和typecho配套插件

这个就不多解释了,下载渠道有好几个,推荐在群里或者Gitee上面下载,github更新可能会慢一些,地址在上一篇博客里面,自己去看。

安装并配置typecho插件

如果你是一个小白,连typecho是什么都不知道,那么你先去看看typecho的介绍可安装,这里主要是介绍typecho配套插件的安装,安装后在后台插件管理中设置插件,主要是填写一下内容:

  • API密钥(这个随便写,和小程序对应就行)

  • QQ小程序的APPID

  • QQ小程序的APP secret ID

  • 微信的APPID

  • 微信的APP secret ID

如果你只想单独用QQ小程序或者微信小程序,可以只填写一组。

配置小程序端

本来我看别人的配置文件很简单来自,也不知道为啥我编译出来的代码观赏性不大好,不过并不影响。这里说一下配置要点,通过全局搜索的方式替换自己的域名和apisec。 Typecho小程序Pisces使用详细教程

  • 全局搜索 www.ycygame.cn 这个是域名

  • 全局搜索 480839154 这个是apisec

  • 全局搜索 安好屋 这个是名称,不重要

这要是替换掉域名和apisec小程序就可以使用了。


相关问题解决

文章不显示缩略图

因为之前看其他小程序都说模糊搜索的数据库,这里我将插件写死了,也就是直接搜索指定的,所以需要自己在自定义字符中填写thumb字符。

文章描述不显示

和缩略图一样,这里需要添加自定义字符description。


大致就是这些了,如果还有什么问题可以在这里留言或者群里问也行,我会在这个文档中补充进来的。


该内容为安好屋原创内容,如需转载请留言。

本站唯一官网公众号:ygycz999(阳光艺创站)

小程序开发者交流区:660459637

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

许可协议

License information

Contribution License Agreement

If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work. </legalese>

Marked

Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Markdown

Copyright © 2004, John Gruber http://daringfireball.net/ All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问