改进 未成年人提醒
This commit is contained in:
parent
d9477ff3f2
commit
11b92b09e1
@ -24,12 +24,6 @@ class="text-decoration-underline">服务条款</a></p>
|
|||||||
</x-alert-danger>
|
</x-alert-danger>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (!auth('web')->user()->isAdult())
|
|
||||||
<x-alert-warning>
|
|
||||||
未成年账号,需要家长或监护人的同意以及指导下才能使用莱云。
|
|
||||||
</x-alert-warning>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@if (session('token'))
|
@if (session('token'))
|
||||||
<p style="color:green">这是新的 Token,请妥善保管:{{ session('token') }}</p>
|
<p style="color:green">这是新的 Token,请妥善保管:{{ session('token') }}</p>
|
||||||
{{-- <a href="http://localhost:3000/login?token={{ session('token') }}">前往</a> --}}
|
{{-- <a href="http://localhost:3000/login?token={{ session('token') }}">前往</a> --}}
|
||||||
|
@ -112,6 +112,14 @@ class="d-none">
|
|||||||
<x-alert/>
|
<x-alert/>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@auth('web')
|
||||||
|
@if (!auth('web')->user()->isAdult())
|
||||||
|
<x-alert-warning>
|
||||||
|
未成年账号,需要家长或监护人的同意以及指导下才能使用莱云。
|
||||||
|
</x-alert-warning>
|
||||||
|
@endif
|
||||||
|
@endauth
|
||||||
|
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user