Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
1.调整获取说说列表的每页条目数为20,与QQ空间保持一致,因为每个QQ号对应的最大每页条目数不一样
Browse files Browse the repository at this point in the history
2.还原调整每页条目数功能,因为每个QQ号对应的最大每页条目数不一样,可动态调整。

Signed-off-by: lvshuncai <lvshuncai@gmail.com>
  • Loading branch information
ShunCai committed Jan 31, 2020
1 parent d9d05e0 commit 89473d1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
44 changes: 22 additions & 22 deletions src/html/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ <h5 style="color:cadetblue">说说选项:</h5>
<input type="number" min="1" class="form-control" id="messages_list_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="messages_list_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="20" max="40" class="form-control" id="messages_list_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
<div class="form-group row">
<div class="col-sm-1">全文说说:</div>
<div class="custom-control custom-checkbox">
Expand All @@ -105,12 +105,12 @@ <h5 style="color:cadetblue">评论选项:</h5>
<input type="number" min="1" class="form-control" id="messages_comments_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="messages_comments_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="10" max="20" class="form-control" id="messages_comments_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
<div class="form-group row">
<div class="col-sm-1">所有评论:</div>
<div class="custom-control custom-checkbox">
Expand Down Expand Up @@ -150,12 +150,12 @@ <h5 style="color:cadetblue">日志选项:</h5>
<input type="number" min="1" class="form-control" id="blogs_list_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="blogs_list_limit" class="col-sm-1 col-form-label">列表每页条数:</label>
<div class="col-sm-2">
<input type="number" min="15" max="100" class="form-control" id="blogs_list_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
<div class="form-group row">
<label class="col-sm-1 col-form-label">内容查询间隔:</label>
<div class="col-sm-1">
Expand All @@ -179,12 +179,12 @@ <h5 style="color:cadetblue">评论选项:</h5>
<input type="number" min="1" class="form-control" id="blogs_comments_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="blogs_list_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="15" max="50" class="form-control" id="blogs_comments_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
<div class="form-group row">
<div class="col-sm-1">所有评论:</div>
<div class="custom-control custom-checkbox">
Expand Down Expand Up @@ -224,12 +224,12 @@ <h5 style="color:cadetblue">日记选项:</h5>
<input type="number" min="1" class="form-control" id="diaries_list_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="diaries_list_limit" class="col-sm-1 col-form-label">列表每页条数:</label>
<div class="col-sm-2">
<input type="number" min="15" max="100" class="form-control" id="diaries_list_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
<div class="form-group row">
<label class="col-sm-1 col-form-label">内容查询间隔:</label>
<div class="col-sm-1">
Expand Down Expand Up @@ -269,12 +269,12 @@ <h5 style="color:cadetblue">相册选项:</h5>
<input type="number" min="1" class="form-control" id="photos_list_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="photos_list_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="10" max="90" class="form-control" id="photos_list_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
<br>
<h5 style="color:cadetblue">相片选项:</h5>
<hr>
Expand All @@ -300,12 +300,12 @@ <h5 style="color:cadetblue">相片选项:</h5>
<input type="number" min="1" class="form-control" id="photos_images_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="photos_images_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="10" max="90" class="form-control" id="photos_images_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
<div class="form-group row">
<label for="photos_exifType" class="col-sm-1 col-form-label">清晰度:</label>
<div class="col-sm-2">
Expand Down Expand Up @@ -337,12 +337,12 @@ <h5 style="color:cadetblue">评论选项:</h5>
<input type="number" min="1" class="form-control" id="photos_images_comments_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="photos_images_comment_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="10" max="90" class="form-control" id="photos_images_comments_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
</form>
</div>
<div class="tab-pane fade" id="nav-videos" role="tabpanel" aria-labelledby="nav-videos-tab">
Expand Down Expand Up @@ -371,12 +371,12 @@ <h5 style="color:cadetblue">评论选项:</h5>
<input type="number" min="1" class="form-control" id="videos_list_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="videos_list_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="10" max="20" class="form-control" id="videos_list_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
</form>
</div>
<div class="tab-pane fade" id="nav-boards" role="tabpanel" aria-labelledby="nav-boards-tab">
Expand All @@ -403,12 +403,12 @@ <h5 style="color:cadetblue">评论选项:</h5>
<input type="number" min="1" class="form-control" id="boards_list_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="boards_list_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="10" max="20" class="form-control" id="boards_list_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
</form>
</div>
<div class="tab-pane fade" id="nav-friends" role="tabpanel" aria-labelledby="nav-friends-tab">
Expand Down Expand Up @@ -458,12 +458,12 @@ <h5 style="color:cadetblue">评论选项:</h5>
<input type="number" min="1" class="form-control" id="favorites_list_cost_max" placeholder="最大间隔">
</div>
</div>
<!-- <div class="form-group row">
<div class="form-group row">
<label for="favorites_list_limit" class="col-sm-1 col-form-label">每页条数:</label>
<div class="col-sm-2">
<input type="number" min="20" max="40" class="form-control" id="favorites_list_limit" placeholder="查询每页条数">
</div>
</div> -->
</div>
</form>
</div>
<div class="tab-pane fade" id="nav-common" role="tabpanel" aria-labelledby="nav-common-tab">
Expand Down
2 changes: 1 addition & 1 deletion src/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Default_Config = {
// 说说模块
Messages: {
exportType: "MarkDown",// 内容备份类型
pageSize: 40,
pageSize: 20,
randomSeconds: {
min: 2,
max: 5
Expand Down
4 changes: 2 additions & 2 deletions src/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Default_Config = {
// 说说模块
Messages: {
exportType: "MarkDown",// 内容备份类型
pageSize: 40,
pageSize: 20,
randomSeconds: {
min: 2,
max: 5
Expand Down Expand Up @@ -163,7 +163,7 @@ let Qzone_Config = {
// 说说模块
Messages: {
exportType: "MarkDown",// 内容备份类型
pageSize: 40,
pageSize: 20,
randomSeconds: {
min: 2,
max: 5
Expand Down

0 comments on commit 89473d1

Please sign in to comment.