Skip to content

Commit

Permalink
首页话题列表
Browse files Browse the repository at this point in the history
summerblue committed Sep 20, 2019
1 parent 677b853 commit c543b54
Showing 4 changed files with 15 additions and 9 deletions.
18 changes: 12 additions & 6 deletions public/css/app.css
Original file line number Diff line number Diff line change
@@ -16594,36 +16594,42 @@ body {
/* Topic Index Page */

.topics-index-page .topic-list .nav > li > a,
.categories-show-page .topic-list .nav > li > a {
.categories-show-page .topic-list .nav > li > a,
.root-page .topic-list .nav > li > a {
position: relative;
display: block;
padding: 5px 14px;
font-size: 0.9em;
}

.topics-index-page .topic-list a,
.categories-show-page .topic-list a {
.categories-show-page .topic-list a,
.root-page .topic-list a {
color: #444444;
}

.topics-index-page .topic-list .meta,
.categories-show-page .topic-list .meta {
.categories-show-page .topic-list .meta,
.root-page .topic-list .meta {
font-size: 0.9em;
color: #b3b3b3;
}

.topics-index-page .topic-list .meta a,
.categories-show-page .topic-list .meta a {
.categories-show-page .topic-list .meta a,
.root-page .topic-list .meta a {
color: #b3b3b3;
}

.topics-index-page .topic-list .badge,
.categories-show-page .topic-list .badge {
.categories-show-page .topic-list .badge,
.root-page .topic-list .badge {
background-color: #d8d8d8;
}

.topics-index-page .topic-list hr,
.categories-show-page .topic-list hr {
.categories-show-page .topic-list hr,
.root-page .topic-list hr {
margin-top: 12px;
margin-bottom: 12px;
border: 0;
2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"/js/app.js": "/js/app.js?id=01f14ce060780bc99e14",
"/css/app.css": "/css/app.css?id=b07bc73c4efd2274c2d2"
"/css/app.css": "/css/app.css?id=90d44b1c528a58c61484"
}
2 changes: 1 addition & 1 deletion resources/sass/app.scss
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ body {


/* Topic Index Page */
.topics-index-page, .categories-show-page {
.topics-index-page, .categories-show-page, .root-page {
.topic-list {
.nav>li>a {
position: relative;
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

Route::get('/', 'PagesController@root')->name('root');
Route::get('/', 'TopicsController@index')->name('root');

// 用户身份验证相关的路由
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login');

0 comments on commit c543b54

Please sign in to comment.