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
a083b87a
authored
Jul 28, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'ysx-修复深茂-20230728' into 'master'
修复 See merge request
!2
parents
fa84c2ac
d063c3af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
72 deletions
resources/views/common/mallHeaderNav.blade.php
resources/views/common/mallHeaderNav.blade.php
View file @
a083b87a
<div
class=
"mall-header-nav"
>
<div
class=
"mall-header-nav"
>
<div
class=
"search-car w1200"
>
<div
class=
"search-car w1200"
>
<div
class=
"row cons verCenter"
>
<div
class=
"row cons verCenter"
>
<a
href=
"/mall"
class=
"logo"
><img
src=
"{{$public}}/assets/images/common/logo.png?v=20230222"
alt=
""
></a>
<a
href=
"/mall"
class=
"logo"
><img
src=
"{{$public}}/assets/images/common/logo.png?v=20230222"
alt=
""
></a>
<div
class=
"search-input-box row boxsiz"
>
<div
class=
"search-input-box row boxsiz"
>
<input
type=
"text"
class=
"searchvalx mallsearchvalx"
placeholder=
"Enter part #"
value=
"{{request()->get('keyword')}}"
>
<input
type=
"text"
class=
"searchvalx mallsearchvalx"
placeholder=
"Enter part #"
<div
class=
"searchbtnx boxsiz mallsearchbtnx"
><i
class=
"icon iconfont icon-sousuo-shangcheng"
></i></div>
value=
"{{request()->get('keyword')}}"
>
</div>
<div
class=
"searchbtnx boxsiz mallsearchbtnx"
><i
class=
"icon iconfont icon-sousuo-shangcheng"
></i></div>
<a
class=
"car-boxs"
href=
"/car"
><i
class=
"icon iconfont icon-gouwuche"
></i><span
class=
"carNum carNumxs"
>
0
</span></a>
</div>
@if(Auth::check())
<a
class=
"car-boxs"
href=
"/car"
><i
class=
"icon iconfont icon-gouwuche"
></i><span
class=
"carNum carNumxs"
>
0
</span></a>
<div
class=
"login-head-box yesLogin"
>
@if(Auth::check())
<a
href=
"/user/order"
class=
"row"
>
<div
class=
"login-head-box yesLogin"
>
<span><i
class=
"icon iconfont icon-touxiang"
></i></span>
<a
href=
"/user/order"
class=
"row"
>
<div
class=
"username"
>
{{Auth::user()->email??''}}
</div>
<span><i
class=
"icon iconfont icon-touxiang"
></i></span>
</a>
<div
class=
"username"
>
{{Auth::user()->email??''}}
</div>
<div
class=
"userurl-box"
>
</a>
<a
href=
"/user/order"
>
My Orders
</a>
<div
class=
"userurl-box"
>
<a
href=
"/user/inquiry"
>
My RFQ
</a>
<a
href=
"/user/order"
>
My Orders
</a>
<a
href=
"/user/account"
>
My Account
</a>
<a
href=
"/user/inquiry"
>
My RFQ
</a>
<a
href=
"javascript:void(0)"
class=
"logoutbtns"
>
LOGOUT
</a>
<a
href=
"/user/account"
>
My Account
</a>
</div>
<a
href=
"javascript:void(0)"
class=
"logoutbtns"
>
LOGOUT
</a>
</div>
</div>
@else
<div
class=
"login-head-box notLogin"
>
<a
href=
"/login?referer={{\Illuminate\Support\Facades\URL::current()}}"
>
Login
</a>
<font>
/
</font><a
href=
"/reg?referer={{\Illuminate\Support\Facades\URL::current()}}"
>
Register
</a>
</div>
@endif
<a
href=
"javascript:void(0)"
class=
"about-link gofooter"
>
Contact Us
</a>
</div>
</div>
</div>
@else
<div
class=
"nav-box"
>
<div
class=
"login-head-box notLogin"
>
<div
class=
"nav-conx row w1200"
>
<a
href=
"/login?referer={{\Illuminate\Support\Facades\URL::current()}}"
>
Login
</a>
<div
class=
"allpro"
>
<font>
/
</font><a
href=
"/reg?referer={{\Illuminate\Support\Facades\URL::current()}}"
>
Register
</a>
<a
href=
"/mall"
class=
"act li"
>
All Products
</a>
</div>
<div
class=
"procon boxsiz"
>
@endif
@foreach ($classification as $key=>$item)
<div
class=
"groupboxx"
>
<div
class=
"headboxx row"
>
<img
src=
"{{$item['img']??''}}"
alt=
""
>
<p>
{{$item['class_name']}}
</p>
</div>
<div
class=
"conboxx row"
>
@foreach ($item['children'] as $itemchild)
<a
href=
"/class/{{$itemchild['class_id']}}"
class=
"erji"
title=
"{{$itemchild['class_name_en']}}"
>
{{$itemchild['class_name_en']}}
</a>
@endforeach
</div>
<div
class=
"rightboxx boxsiz"
>
@foreach ($item['children'] as $itemchild)
<div
class=
"grouprightx"
>
<a
class=
"p"
title=
"{{$itemchild['class_name_en']}}"
href=
"/class/{{$itemchild['class_id']}}"
>
{{$itemchild['class_name_en']}}
</a>
<div
class=
"threeClass boxsiz row"
>
@foreach ($itemchild['children'] as $itemchild3)
<a
href=
"/class/{{$itemchild3['class_id']??''}}"
title=
"{{$itemchild3['class_name_en']??''}}"
>
{{$itemchild3['class_name_en']??''}}
<span>
({{$itemchild3['sku_number']??''}})
</span></a>
@endforeach
</div>
</div>
@endforeach
</div>
<a
href=
"javascript:void(0)"
class=
"about-link gofooter"
>
Contact Us
</a>
</div>
</div>
<div
class=
"nav-box"
>
<div
class=
"nav-conx row w1200"
>
<div
class=
"allpro"
>
<a
href=
"/mall"
class=
"act li"
>
All Products
</a>
<div
class=
"procon boxsiz"
>
@foreach ($classification as $key=>$item)
<div
class=
"groupboxx"
>
<div
class=
"headboxx row"
>
<img
src=
"{{$item['img']??''}}"
alt=
""
>
<p>
{{$item['class_name']}}
</p>
</div>
<div
class=
"conboxx row"
>
@if(!empty($item['children']))
@foreach ($item['children'] as $itemchild)
<a
href=
"/class/{{$itemchild['class_id']}}"
class=
"erji"
title=
"{{$itemchild['class_name_en']}}"
>
{{$itemchild['class_name_en']}}
</a>
@endforeach
@endif
</div>
<div
class=
"rightboxx boxsiz"
>
@if(!empty($item['children']))
@foreach ($item['children'] as $itemchild)
<div
class=
"grouprightx"
>
<a
class=
"p"
title=
"{{$itemchild['class_name_en']}}"
href=
"/class/{{$itemchild['class_id']}}"
>
{{$itemchild['class_name_en']}}
</a>
<div
class=
"threeClass boxsiz row"
>
@foreach ($itemchild['children'] as $itemchild3)
<a
href=
"/class/{{$itemchild3['class_id']??''}}"
title=
"{{$itemchild3['class_name_en']??''}}"
>
{{$itemchild3['class_name_en']??''}}
<span>
({{$itemchild3['sku_number']??''}})
</span></a>
@endforeach
</div>
</div>
</div>
@endforeach
@endforeach
@endif
</div>
</div>
</div>
</div>
<a
href=
"/brand/map"
class=
"li pbcgh"
>
Manufacturers
</a>
@endforeach
<a
href=
"javascript:void(0)"
class=
"li frqbtnxs"
>
RFQ
</a>
<div
class=
"li"
>
<a
href=
"/about/company"
class=
"li"
>
Company
</a>
<ul
class=
"twonav"
>
<a
href=
"/about/company"
class=
"twoa"
>
About Us
</a>
<a
href=
"/about/certification"
class=
"twoa"
>
Certification
</a>
</ul>
</div>
<a
href=
"/"
class=
"li"
>
Return to Main Site
</a>
</div>
</div>
</div>
<a
href=
"/brand/map"
class=
"li pbcgh"
>
Manufacturers
</a>
<a
href=
"javascript:void(0)"
class=
"li frqbtnxs"
>
RFQ
</a>
<div
class=
"li"
>
<a
href=
"/about/company"
class=
"li"
>
Company
</a>
<ul
class=
"twonav"
>
<a
href=
"/about/company"
class=
"twoa"
>
About Us
</a>
<a
href=
"/about/certification"
class=
"twoa"
>
Certification
</a>
</ul>
</div>
<a
href=
"/"
class=
"li"
>
Return to Main Site
</a>
</div>
</div>
</div>
</div>
</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