fix: 登录 Undefined array key(unset 后访问已删 key);sablog 主题 footer 错位(#page 由页面视图自闭合);PaymentSettings Section 类路径(v5 移到 Schemas);modern 主题两栏布局

This commit is contained in:
ak
2026-08-11 19:02:53 +08:00
parent fb9175402a
commit e735967218
11 changed files with 20 additions and 10 deletions
+3 -2
View File
@@ -31,8 +31,9 @@ a:hover { opacity: 0.8; }
.m-link-btn { background: none; border: none; color: var(--accent); font-size: 14px; cursor: pointer; padding: 0; }
.inline-form { display: inline; }
.main-layout { padding: 36px 20px; }
.main-layout .content { max-width: 720px; margin: 0 auto; }
.main-layout { display: flex; gap: 32px; align-items: flex-start; max-width: 1080px; margin: 0 auto; padding: 36px 20px; }
.main-layout .content { flex: 1; min-width: 0; max-width: 720px; }
.main-layout .sidebar { width: 300px; flex-shrink: 0; }
.post-card, .post-full, .comments-section { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 26px 30px; margin-bottom: 22px; }
.post-card.sticky { box-shadow: inset 3px 0 0 var(--accent); }
+1
View File
@@ -84,6 +84,7 @@ a:hover { color: #f60; text-decoration: underline; }
.sidebar .tagcloud a { color: #1c62b0; margin-right: 6px; }
/* 兜底页面(归档/标签云/友链/评论/登录等使用默认布局) */
.container.main-layout { max-width: 960px; margin: 0 auto; }
.main-layout { display: flex; gap: 18px; align-items: flex-start; padding: 14px 10px; }
.main-layout .content { flex: 1; min-width: 0; }
.main-layout .sidebar { width: 280px; }
+2
View File
@@ -1,6 +1,7 @@
@include('partials.head')
<body>
@include('partials.header')
<div id="page">
<div id="content">
@if(session('success'))
<div class="alert alert-success">{{ session('success') }}</div>
@@ -18,6 +19,7 @@
@include('partials.pagination', ['paginator' => $posts])
</div>
@include('partials.sidebar')
</div>{{-- #page --}}
@include('partials.footer')
</body>
</html>
+2
View File
@@ -4,6 +4,7 @@
@include('partials.head')
<body>
@include('partials.header')
<div id="page">
<div id="content">
<h1 class="list-title">{{ $archiveTitle ?? ($category->name ?? '文章列表') }}</h1>
@@ -16,6 +17,7 @@
@include('partials.pagination', ['paginator' => $posts])
</div>
@include('partials.sidebar')
</div>{{-- #page --}}
@include('partials.footer')
</body>
</html>
@@ -4,5 +4,4 @@
</p>
<p>Powered by LaraLog · Laravel · Filament</p>
</div>
</div>{{-- #page --}}
</div>{{-- #outmain --}}
@@ -27,4 +27,3 @@
</ul>
</div>
</div>
<div id="page">
+2
View File
@@ -2,6 +2,7 @@
@include('partials.head')
<body>
@include('partials.header')
<div id="page">
<div id="content">
<h1 class="list-title">搜索:{{ $keyword ?: '全部' }}</h1>
<form action="{{ route('search') }}" method="get" class="search-form">
@@ -18,6 +19,7 @@
@include('partials.pagination', ['paginator' => $posts])
</div>
@include('partials.sidebar')
</div>{{-- #page --}}
@include('partials.footer')
</body>
</html>
+2
View File
@@ -6,6 +6,7 @@
@include('partials.head')
<body>
@include('partials.header')
<div id="page">
<div id="content">
@if(session('success'))
<div class="alert alert-success">{{ session('success') }}</div>
@@ -82,6 +83,7 @@
@endif
</div>
@include('partials.sidebar')
</div>{{-- #page --}}
@include('partials.footer')
</body>
</html>
+2
View File
@@ -2,6 +2,7 @@
@include('partials.head')
<body>
@include('partials.header')
<div id="page">
<div id="content">
<h1 class="list-title">标签:{{ $tag->name }}</h1>
@@ -14,6 +15,7 @@
@include('partials.pagination', ['paginator' => $posts])
</div>
@include('partials.sidebar')
</div>{{-- #page --}}
@include('partials.footer')
</body>
</html>