分页.链接样式

This commit is contained in:
augushong
2020-12-28 21:20:13 +08:00
parent 708020c17e
commit bcc07c301e
2 changed files with 8 additions and 1 deletions

View File

@@ -49,7 +49,10 @@ class Index extends Common
} }
$list_post = $model_post->paginate(['url' => 'Index/index']); $list_post = $model_post->paginate([
'url' => 'Index/index',
'query' => $this->request->get()
]);
View::assign('current_category', $current_category); View::assign('current_category', $current_category);
View::assign('sub_category', $sub_category); View::assign('sub_category', $sub_category);

View File

@@ -206,3 +206,7 @@
width: 1280px; width: 1280px;
} }
} }
a.post-item:visited{
color: #bbb;
}