sav7ng / wehalo Goto Github PK
View Code? Open in Web Editor NEWWeHalo 简约风 的微信小程序版博客:sparkles:
Home Page: https://github.com/savingrun/wehalo
License: GNU General Public License v3.0
WeHalo 简约风 的微信小程序版博客:sparkles:
Home Page: https://github.com/savingrun/wehalo
License: GNU General Public License v3.0
求可以添加B站视频
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
苹果url怎么获取啊
管理员回复留言正常,帖子里面评论不了
图片地址会多一个网址,导致图片地址错误,小程序端首页无法显示图片。
现在小程序的云开发很流行,能不能搞一个支持云开发的版本?这样就不用自己买服务器,自己去鼓弄后台了,甚至域名和证书都不再需要了,岂不是非常的方便么?
老大可以考虑一下,现在比如微信自带的云开发、https://www.apicloud.com/ 、 https://www.it120.cc/ 等好多都提供这种云开发的服务的~
1、替换PostController.java 方法,然后重新编译halo 生成 PostController.class 文件,然后替换jar包里面的 PostController.class文件,最后重启jar就可以了。
@GetMapping("{postId:\d+}")
@ApiOperation("Gets a post")
public BasePostDetailDTO getBy(@PathVariable("postId") Integer postId,
@RequestParam(value = "formatDisabled", required = false, defaultValue = "true") Boolean formatDisabled,
@RequestParam(value = "sourceDisabled", required = false, defaultValue = "false") Boolean sourceDisabled) {
BasePostDetailDTO detailDTO = postService.convertToDetail(postService.getById(postId));
if (formatDisabled) {
// Clear the format content
detailDTO.setFormatContent(null);
}
if (sourceDisabled) {
// Clear the original content
detailDTO.setOriginalContent(null);
}
postService.increaseVisit(postId);
return detailDTO;
}
小程序名称:IT技术分享社区
IT技术分享社区
Describe the bug
RT,我在README.md中获取到了解决的方案
https://gitee.com/aquanrun/WeHalo/issues/I12J1G
但是现在这个方案失效了
在本地运行云函数的时候出现以下情况
DevTools failed to load SourceMap: Could not parse content for file:///E:/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F/WeHalo/cloudfunctions/get_wx_context/node_modules/bson/lib/bson.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for file:///E:/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F/WeHalo/cloudfunctions/get_wx_context/node_modules/bson/lib/binary.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for file:///E:/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F/WeHalo/cloudfunctions/get_wx_context/node_modules/bson/lib/ensure_buffer.js.map: Unexpected end of JSON input
rt,halo上发布加密的文章,wehalo没有做加密处理,
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
发现个小bug,评论60S禁用定时器多次进入页面会重复创建,可以修复下
能不能识别超链接,包括这些下载地址,能实现点一下它就显示已复制
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
小程序里面可以播放博文里面内嵌入的bilibili视频
README.md里放的解决方法链接已经打不开了...
怎么查看adminOpenid呢
也不知提出新功能需求是否合适,还是试一下。
不知能否在小程序里面增加上按类别显示文章的功能呢?现在对文章的显示,只是按照日期分页显示,但很多时候还是需要按类别去浏览的。
还能高亮代码,非常不错
在miniprogram\pages\index\index.js里的第116行处,云函数获取用户openID,作者写的是res.result.openid,应该是写错了,正确的:res.result.userInfo.openId,导致无法识别管理员,后面还有类似几处错误,可直接批量修改
如题,试了好几个安卓手机,左侧可以正常上下滑动,在右侧无法滑动。
博主有打算在WeHalo接入评论功能吗?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
只需要在post.js 增加以下方法就可以了
//点赞功能
Likes: function () {
var that = this;
var urlLikeList = app.globalData.url + '/api/content/posts/'+that.data.postId+'/likes';
var token = app.globalData.token;
var params = {
};
//@todo 网络请求API数据
request.requestPostApi(urlLikeList, token, params, this, this.successSendLike, this.failSendLike);
},
// 点赞成功回调
successSendLike: function (res, selfObj) {
var that = this;
wx.showToast({
title: '感谢你的点赞!',
icon: 'none',
duration: 2000
});
// 设置点赞数+1
var likes = Number(parseInt(that.data.postLikes) + 1);
console.log(likes);
that.setData({
postLikes: likes
})
},
//点赞失败回调
failSendLike: function (res, selfObj) {
wx.showToast({
title: '点赞失败,请联系作者!',
icon: 'none',
duration: 2000
})
},
小程序名称:IT技术分享社区
IT技术分享社区
新版halo可以用这个吗?
px -> rpx
有什么好想法和好提议可以在下面提出来哦,还有用了WeHalo发布小程序的可以贴在下面哦。
基于WeHalo的个人微信小程序刚刚申请上线了,名字:编程挺好玩。:smile:
在克隆下来的代码的基础上,做了些许细节上的改动,一些细节可以讨论下:
Describe the bug
A clear and concise description of what the bug is.
request合法域名已正确配置
Additional context
Add any other context about the problem here.
部署完成后报错 1.
VM699:1 Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/addTips/wh-addTips.wxss:33:9)
如果你不想被 Github 的通知邮件打扰,建议评论之后点击右侧的 Unsubscribe。
如果你是用的 WeHalo,以供其他正在观望的用户查看具体效果。
格式如下:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
有没有想法把后端换成hexo哦
支持halo2.x吗?
请大家给点时间~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.