Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5dc21da4
authored
Nov 25, 2022
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更换php方法校验登录状态
parent
e5a31433
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
resources/views/common/headerNav.blade.php
resources/views/common/js.blade.php
resources/views/common/mallHeaderNav.blade.php
resources/views/common/mallUserHeaderNav.blade.php
resources/views/common/headerNav.blade.php
View file @
5dc21da4
...
...
@@ -6,11 +6,11 @@
<div
class=
"fr clr ghn-right-box"
>
<div
class=
"grb-top clr"
>
<a
href=
"javascript:void(0)"
class=
"fr clj gofooter"
>
CONTACT US
</a>
@if(
!empty($_COOKIE['sem_email']
))
@if(
Auth::check(
))
<div
class=
"login-head-box yesLogin fr clj"
>
<a
href=
"/user/order"
class=
"row"
>
<span><i
class=
"icon iconfont icon-touxiang"
></i></span>
<div
class=
"username"
>
{{
$_COOKIE['sem_email']
}}
</div>
<div
class=
"username"
>
{{
Auth::user()->email??''
}}
</div>
</a>
<div
class=
"userurl-box"
>
<a
href=
"/user/order"
>
My Orders
</a>
...
...
resources/views/common/js.blade.php
View file @
5dc21da4
...
...
@@ -5,7 +5,7 @@
const
PUBLICXK
=
"
{
{$public}
}
"
;
//资源文件文件目录 js公用变量
const
SO_URL
=
"
{
{$so_url}
}
"
;
//资源文件文件目录 js公用变量
</
script
>
<
input
type
=
"hidden"
id
=
"emailCookie"
value
=
"
{
{
$_COOKIE['sem_email']
??''}
}
"
>
<
input
type
=
"hidden"
id
=
"emailCookie"
value
=
"
{
{
Auth::user()->email
??''}
}
"
>
<
script
src
=
"
{
{$public}}/assets/js/common/sea.js?v={{time()}
}
"
></
script
>
<
script
src
=
"
{
{$public}}/assets/js/common/jquery-1.8.3.min.js?v={{time()}
}
"
></
script
>
<
script
src
=
"
{
{$public}}/assets/js/common/config.js?v={{time()}
}
"
></
script
>
resources/views/common/mallHeaderNav.blade.php
View file @
5dc21da4
...
...
@@ -7,11 +7,11 @@
<div
class=
"searchbtnx boxsiz mallsearchbtnx"
><i
class=
"icon iconfont icon-sousuo-shangcheng"
></i></div>
</div>
<a
class=
"car-boxs"
href=
"/car"
><i
class=
"icon iconfont icon-gouwuche"
></i><span
class=
"carNum carNumxs"
>
0
</span></a>
@if(
!empty($_COOKIE['sem_email']
))
@if(
Auth::check(
))
<div
class=
"login-head-box yesLogin"
>
<a
href=
"/user/order"
class=
"row"
>
<span><i
class=
"icon iconfont icon-touxiang"
></i></span>
<div
class=
"username"
>
{{
$_COOKIE['sem_email']
}}
</div>
<div
class=
"username"
>
{{
Auth::user()->email??''
}}
</div>
</a>
<div
class=
"userurl-box"
>
<a
href=
"/user/order"
>
My Orders
</a>
...
...
resources/views/common/mallUserHeaderNav.blade.php
View file @
5dc21da4
...
...
@@ -6,8 +6,8 @@
<div
class=
"login-head-box yesLogin"
>
<a
href=
"/user/order"
class=
"row"
>
<span><i
class=
"icon iconfont icon-touxiang"
></i></span>
@if(!empty($_COOKIE['sem_email']
))
<div
class=
"username"
>
{{
$_COOKIE['sem_email']
}}
</div>
@if(Auth::check(
))
<div
class=
"username"
>
{{
Auth::user()->email??''
}}
</div>
@endif
</a>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment