diff --git a/resources/views/admin/index.blade.php b/resources/views/admin/index.blade.php index 31d9ab7..8be34b2 100644 --- a/resources/views/admin/index.blade.php +++ b/resources/views/admin/index.blade.php @@ -94,7 +94,7 @@ 举报者ID 被举报者ID 受理管理员ID - 状态 + 状态 @foreach($reports as $repo) @@ -119,7 +119,14 @@
{!! csrf_field() !!} - + +
+ + +
+ {!! csrf_field() !!} + +
@else diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 2858c14..7f751c9 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -32,7 +32,7 @@
- +
diff --git a/resources/views/auth/ssoGuide.blade.php b/resources/views/auth/ssoGuide.blade.php index b6392a3..3432fd9 100644 --- a/resources/views/auth/ssoGuide.blade.php +++ b/resources/views/auth/ssoGuide.blade.php @@ -4,7 +4,7 @@ @section('content')
-

先锋市场当前仅允许校内人员注册使用。如果这是你第一次使用本网站,请点击下面的按钮,前往校园统一身份认证服务平台进行认证注册。

+

友情提示:校园统一身份认证服务平台的初始密码为校园卡查询密码。注意:此密码与校园卡是否修改过卡片的消费密码无关。这个密码可能是以下几种之一:校园卡身份证号后六位(“X”用“0”代替),学号后六位,「000000」。为了您的账号安全,强烈建议您修改校园统一身份认证服务平台(SSO)的密码。

校园统一身份认证服务平台

友情提示:校园统一身份认证服务平台的初始密码可能是身份证号后六位("X"用"0"代替)。此密码与校园卡是否修改过密码无关。为了您的账号安全,强烈建议您修改校园统一身份认证服务平台的密码。

初次登录后,你可以为自己设置一个用户名,或者绑定你的邮箱,以使用它们进行登录。你也可以继续使用校卡平台进行快捷登录。

diff --git a/resources/views/good/goodInfo.blade.php b/resources/views/good/goodInfo.blade.php index b6b625b..2ffcd63 100644 --- a/resources/views/good/goodInfo.blade.php +++ b/resources/views/good/goodInfo.blade.php @@ -37,7 +37,7 @@
-

{{ $good->good_name }} +

{{ $good->good_name }}@if($good->baned)【已封禁】@endif @if(isset($inFvlst)) @if(count($inFvlst) == 0) @@ -51,16 +51,18 @@ @endif

- 卖家:{{ $user->nickname }} + 卖家:{{ $user->nickname }}@if($user->baned)【已封禁】@endif   和我联系
售价:

¥{{ $good->price }}

count==0) class="text-danger" @endif>@if($good->count>0) 库存:{{ $good->count }}件 @else 没库存了QAQ @endif

- @if (count($errors) > 0) - - @endif - @if(($good->user_id) != Session::get('user_id')) + @if (count($errors) > 0) + + @endif + @if(($good->user_id) != Session::get('user_id') && !$good->baned)
@@ -80,6 +82,12 @@ {!! method_field('DELETE') !!} + @endif + @if(Session::get('is_admin') >= 1 && !$good->baned) +
+ {!! csrf_field() !!} + +
@endif @if(Session::has('user_id') && $good->user_id!=Session::get('user_id'))
diff --git a/resources/views/good/goodInfoForm.blade.php b/resources/views/good/goodInfoForm.blade.php index a561f4b..53e1e81 100644 --- a/resources/views/good/goodInfoForm.blade.php +++ b/resources/views/good/goodInfoForm.blade.php @@ -45,9 +45,9 @@
-
+
- diff --git a/resources/views/good/goodInfoOnWelcome.blade.php b/resources/views/good/goodInfoOnWelcome.blade.php index 5a5fab2..b2c88f3 100644 --- a/resources/views/good/goodInfoOnWelcome.blade.php +++ b/resources/views/good/goodInfoOnWelcome.blade.php @@ -1,5 +1,5 @@
-
+
diff --git a/resources/views/good/goodList.blade.php b/resources/views/good/goodList.blade.php index 9d54fdd..f4ae8c8 100644 --- a/resources/views/good/goodList.blade.php +++ b/resources/views/good/goodList.blade.php @@ -38,7 +38,7 @@
@foreach($goods as $good)
-
+
diff --git a/resources/views/layout/footer.blade.php b/resources/views/layout/footer.blade.php index 9a33191..fa90cc5 100644 --- a/resources/views/layout/footer.blade.php +++ b/resources/views/layout/footer.blade.php @@ -15,10 +15,11 @@
© {{date("Y")}} 东北大学先锋网
-@if( env('APP_DEBUG') ) +@if( env('SHOW_VER') || env('APP_DEBUG') )
- 当前处于调试模式
程序版本:{{ config('app.version') }}   文件版本:
{{ exec('git log --abbrev-commit --pretty=oneline -1') }} + @if(env('APP_DEBUG'))当前处于调试模式
@endif + @if(env('SHOW_VER'))程序版本:{{ config('app.version') }}   文件版本:{{ exec('git log --abbrev-commit --pretty=oneline -1') }}@endif
@endif diff --git a/resources/views/layout/header.blade.php b/resources/views/layout/header.blade.php index 7712062..fa6e85d 100644 --- a/resources/views/layout/header.blade.php +++ b/resources/views/layout/header.blade.php @@ -50,7 +50,7 @@