Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Commit

Permalink
update: ver 1.6 update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Jun 27, 2019
1 parent 431c6f8 commit 5f11569
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ Demo 地址: <https://shizuri.net>
- [x] 播放器
- [x] 音乐页
- [x] 其他

## 新增

- [x] ajax 加载更多文章
- [x] 全站无刷新体验 (可能只有 Chrome 支持)
- [x] 评论 ajax 提交
- [x] 文章内图片懒加载 (Safari 未通过测试)
- [x] ajax 登陆后台
- [x] ajax 前台提交新文章,带来不一样的体验
- [x] GitHub 开源页

## 预览

Expand Down Expand Up @@ -65,7 +69,8 @@ Demo 地址: <https://shizuri.net>
歌单:
![image](https://user-images.githubusercontent.com/41265413/59972793-146a0100-95c8-11e9-80f6-9ec672cc0351.png)

你也可以前往 https://paul.ren ,光临保罗的小窝。他是设计原型。
GitHub 开源页:
![](https://raw.githubusercontent.com/Innei/img-bed/master/20190627131326.png)

## 故事

Expand Down Expand Up @@ -200,10 +205,6 @@ var paul_music = new function () {

- [x] 根据分类制定独立页面, 不同输出

## 注意事项

除了在 post 页面, 其他页面中都是不带 referrer 信息的, 可能会影响到你的统计代码.

## 版权 & 开源

@Dreamer-Paul & @Innei 所有, 开源遵循 MIT.
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function themeFields($layout)
$layout->addItem($intro);
}
if (preg_match("/write-post.php/", $_SERVER['REQUEST_URI'])) {
$mood = new Typecho_Widget_Helper_Form_Element_Select('mood', array('一般' => '一般', '开心' => '开心', '伤心' => '伤心', '沉闷' => '沉闷', '无聊' => '无聊', '紧张' => '紧张', '愤怒' => '愤怒', '迷茫' => '迷茫'), '一般', '心情如何');
$mood = new Typecho_Widget_Helper_Form_Element_Select('mood', array('一般' => '一般', '开心' => '开心', '伤心' => '伤心', '沉闷' => '沉闷', '无聊' => '无聊', '紧张' => '紧张', '愤怒' => '愤怒', '迷茫' => '迷茫', '心酸' => '心酸', '绝望' => '绝望'), '一般', '心情如何');
$layout->addItem($mood);
}
}
Expand Down
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions until/until.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
/**
* @package 点赞
* @author Innei
*/
if (isset($_POST['id']) and $_POST['type'] == 'up'):
$db = Typecho_Db::get();
$prefix = $db->getPrefix();
Expand Down

0 comments on commit 5f11569

Please sign in to comment.