统一各页面布局宽度,移除所有返回大厅按钮
- 留言板、排行榜页面全部移除 nav-left 中的返回大厅链接 - 留言板主体容器改为 max-w-7xl mx-auto,与大厅和排行榜统一
This commit is contained in:
@@ -11,15 +11,7 @@
|
||||
@section('nav-icon', '✉️')
|
||||
@section('nav-title', '星光留言板')
|
||||
|
||||
@section('nav-left')
|
||||
<a href="{{ route('rooms.index') }}" class="text-indigo-200 hover:text-white transition flex items-center group">
|
||||
<svg class="w-5 h-5 mr-1 transform group-hover:-translate-x-1 transition" fill="none" stroke="currentColor"
|
||||
viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"></path>
|
||||
</svg>
|
||||
返回大厅
|
||||
</a>
|
||||
@endsection
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -81,7 +73,7 @@
|
||||
</div>
|
||||
|
||||
{{-- 主体内容区 --}}
|
||||
<div class="flex w-full mt-4 px-6 gap-6">
|
||||
<div class="flex max-w-7xl mx-auto mt-4 px-6 gap-6">
|
||||
|
||||
{{-- 左侧:分类导航 --}}
|
||||
<div
|
||||
@@ -187,8 +179,7 @@
|
||||
<span class="text-6xl drop-shadow-sm mb-6">📭</span>
|
||||
<h3 class="text-xl font-bold text-gray-800 tracking-wide">暂无信件</h3>
|
||||
<p class="mt-3 text-gray-400">这里是空空如也的荒原。</p>
|
||||
<button
|
||||
@click="showWriteForm = true; towho = ''; setTimeout(() => $refs.textBody.focus(), 100)"
|
||||
<button @click="showWriteForm = true; towho = ''; setTimeout(() => $refs.textBody.focus(), 100)"
|
||||
class="mt-8 bg-indigo-50 hover:bg-indigo-100 text-indigo-600 font-bold py-2.5 px-6 rounded-xl transition-colors border border-indigo-100/50">
|
||||
来抢沙发留言吧!
|
||||
</button>
|
||||
|
||||
@@ -11,15 +11,7 @@
|
||||
@section('nav-icon', '🏆')
|
||||
@section('nav-title', '风云排行榜')
|
||||
|
||||
@section('nav-left')
|
||||
<a href="{{ route('rooms.index') }}" class="text-indigo-200 hover:text-white transition flex items-center group">
|
||||
<svg class="w-5 h-5 mr-1 transform group-hover:-translate-x-1 transition" fill="none" stroke="currentColor"
|
||||
viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"></path>
|
||||
</svg>
|
||||
返回大厅
|
||||
</a>
|
||||
@endsection
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user