modify for not support
This commit is contained in:
parent
74e0b91845
commit
5f56e651a2
@ -17,9 +17,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:ml-6 md:block">
|
<div class="hidden sm:ml-6 md:block">
|
||||||
<div class="flex space-x-4">
|
<div class="flex space-x-4">
|
||||||
<a class="{{ (request()->is('comments', 'video/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/comments">节目单查询</a>
|
<a class="{{ (request()->is('comments', '/', 'video/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/comments">节目单查询</a>
|
||||||
<a class="{{ (request()->is('danmakus', 'danmakus/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/danmakus">稿件查询</a>
|
<a class="{{ (request()->is('danmakus', 'danmakus/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/danmakus">稿件查询</a>
|
||||||
<a class="{{ (request()->is('programs', '/', 'programs/*/video')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/programs" title="数据不全,待补充">节目查询</a>
|
<a class="{{ (request()->is('programs', 'programs/*/video')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/programs" title="数据不全,待补充">节目查询</a>
|
||||||
@auth("web")
|
@auth("web")
|
||||||
<a class="{{ (request()->is('construct/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/construct/programs">节目建设</a>
|
<a class="{{ (request()->is('construct/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} px-3 py-2 rounded-md text-sm font-medium" href="/construct/programs">节目建设</a>
|
||||||
@endauth
|
@endauth
|
||||||
@ -46,9 +46,9 @@
|
|||||||
|
|
||||||
<div class="md:hidden" id="_mobile_menu" style="display: none">
|
<div class="md:hidden" id="_mobile_menu" style="display: none">
|
||||||
<div class="space-y-1 px-2 pt-2 pb-3">
|
<div class="space-y-1 px-2 pt-2 pb-3">
|
||||||
<a class="{{ (request()->is('comments', 'video/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/comments">节目单查询</a>
|
<a class="{{ (request()->is('comments', '/', 'video/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/comments">节目单查询</a>
|
||||||
<a class="{{ (request()->is('danmakus', 'danmakus/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/danmakus">稿件查询</a>
|
<a class="{{ (request()->is('danmakus', 'danmakus/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/danmakus">稿件查询</a>
|
||||||
<a class="{{ (request()->is('programs', '/', 'programs/*/video')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/programs" title="数据不全,待补充">节目查询</a>
|
<a class="{{ (request()->is('programs', 'programs/*/video')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/programs" title="数据不全,待补充">节目查询</a>
|
||||||
@auth("web")
|
@auth("web")
|
||||||
<a class="{{ (request()->is('construct/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/construct/programs">节目建设</a>
|
<a class="{{ (request()->is('construct/*')) ? 'bg-gray-900 text-white' : 'text-gray-700 hover:bg-gray-700 hover:text-white' }} block px-3 py-2 rounded-md text-base font-medium" href="/construct/programs">节目建设</a>
|
||||||
@endauth
|
@endauth
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@include("common.header")
|
@include("common.header")
|
||||||
<div class="w-full text-white bg-blue-500" id="_notice">
|
<div class="w-full text-white bg-red-500" id="_notice">
|
||||||
<div class="container flex items-center justify-between px-2 sm:px-6 lg:px-8 py-4 mx-auto">
|
<div class="container flex items-center justify-between px-2 sm:px-6 lg:px-8 py-4 mx-auto">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<svg viewBox="0 0 40 40" class="w-6 h-6 fill-current">
|
<svg viewBox="0 0 40 40" class="w-6 h-6 fill-current">
|
||||||
|
@ -14,7 +14,7 @@ use Illuminate\Routing\Router;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
// 对外列表
|
// 对外列表
|
||||||
Route::get('/', ["\\App\\Http\\Controllers\\ProgramQueryController","index"]);
|
Route::get('/', ["\\App\\Http\\Controllers\\CommentQueryController","index"]);
|
||||||
Route::get('/comments', ["\\App\\Http\\Controllers\\CommentQueryController","index"]);
|
Route::get('/comments', ["\\App\\Http\\Controllers\\CommentQueryController","index"]);
|
||||||
Route::get('/video/{video}', ["\\App\\Http\\Controllers\\VideoQueryController","info"]);
|
Route::get('/video/{video}', ["\\App\\Http\\Controllers\\VideoQueryController","info"]);
|
||||||
Route::get('/programs', ["\\App\\Http\\Controllers\\ProgramQueryController","index"]);
|
Route::get('/programs', ["\\App\\Http\\Controllers\\ProgramQueryController","index"]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user