From 78a23be593988e3d96318cc740b36e71bda43d79 Mon Sep 17 00:00:00 2001 From: catsworld <519418441@qq.com> Date: Sun, 18 Jun 2017 01:54:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BA=86=E7=BD=97=E5=88=97?= =?UTF-8?q?=E7=9A=84=E6=89=80=E6=9C=89=E4=B8=89=E4=B8=AA=E5=A4=A7=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/user/editUserAccount.blade.php | 59 ++++++++++++------- resources/views/user/user.blade.php | 35 +++++++++-- resources/views/user/userInfo.blade.php | 2 + 3 files changed, 70 insertions(+), 26 deletions(-) diff --git a/resources/views/user/editUserAccount.blade.php b/resources/views/user/editUserAccount.blade.php index dfbac89..970081f 100644 --- a/resources/views/user/editUserAccount.blade.php +++ b/resources/views/user/editUserAccount.blade.php @@ -1,4 +1,16 @@ -
+
+
+ @if (count($errors) > 0) + + @endif +
+
+
+
+

{{ csrf_field() }} @if($user->username=='') @@ -8,9 +20,11 @@
@else - + @endif +

+

{{ csrf_field() }} @if($user->stuid=='') @@ -20,41 +34,46 @@
@else - + @endif +

+

{{ csrf_field() }} @if($user->email=='') -
- - +

+
+
+
@else
- + - +
@endif -
+

+
+
+
+
+
+ {{ csrf_field() }} @if($user->password!='') -
- - -
+

@endif -
- - +

+

+
+
+
-
- -
- +
\ No newline at end of file diff --git a/resources/views/user/user.blade.php b/resources/views/user/user.blade.php index 6695db6..cb1443b 100644 --- a/resources/views/user/user.blade.php +++ b/resources/views/user/user.blade.php @@ -21,6 +21,28 @@ .nav-pills { width:100px; } + .password-form { + width:300px; + } + .register-card { + width:768px; + } + #modify_user_info_form { + width:300px; + } + } + @media (max-width: 991px) { + .address-th { + max-width: 200px; + } + } + .table { + table-layout: fixed; + } + .table td { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; } @@ -46,11 +74,6 @@ @section('content') - @if (count($errors) > 0) - - @endif
@@ -74,7 +97,7 @@
@include('user.editUserExtra')
-
+
diff --git a/resources/views/user/userInfo.blade.php b/resources/views/user/userInfo.blade.php index 24124ca..975026e 100644 --- a/resources/views/user/userInfo.blade.php +++ b/resources/views/user/userInfo.blade.php @@ -1,3 +1,4 @@ +
@@ -36,6 +37,7 @@ +
手机