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
458bcad4
authored
Nov 24, 2022
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
官网顶部搜索 产品反馈修改
parent
e04aa8ea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
36 additions
and
23 deletions
public/assets/css/common/common.less
public/assets/css/common/common.min.css
public/assets/css/mall/mall.less
public/assets/css/mall/mall.min.css
public/assets/images/car/carbanner.png
public/assets/images/mall/banner.png
public/assets/js/common/mallUi.js
resources/views/car/car.blade.php
resources/views/common/headerNav.blade.php
resources/views/common/mallHeaderNav.blade.php
public/assets/css/common/common.less
View file @
458bcad4
This diff is collapsed.
Click to expand it.
public/assets/css/common/common.min.css
View file @
458bcad4
This diff is collapsed.
Click to expand it.
public/assets/css/mall/mall.less
View file @
458bcad4
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
margin-left: 1px;
margin-left: 1px;
width:700px;
width:700px;
height:384px;
height:384px;
background: url(../../images/mall/banner.png) no-repeat;
background: url(../../images/mall/banner.png
?v=20221124
) no-repeat;
background-size: 100% 100%;
background-size: 100% 100%;
}
}
}
}
...
...
public/assets/css/mall/mall.min.css
View file @
458bcad4
.mallindex
.floor1
{
margin-top
:
7px
}
.mallindex
.floor1
.f1left
{
width
:
498px
;
height
:
384px
}
.mallindex
.floor1
.f1right
{
margin-left
:
1px
;
width
:
700px
;
height
:
384px
;
background
:
url(../../images/mall/banner.png)
no-repeat
;
background-size
:
100%
100%
}
.mallindex
.floor2
{
margin-top
:
12px
}
.mallindex
.floor2
.item
{
width
:
392px
;
height
:
179px
;
background
:
rgba
(
2
,
11
,
51
,
0.75
);
transition
:
all
.5s
;
margin-right
:
12px
;
padding-left
:
48px
}
.mallindex
.floor2
.item
:last-child
{
margin-right
:
0px
}
.mallindex
.floor2
.item
.qiu
{
width
:
70px
;
height
:
70px
;
background
:
#FFFFFF
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
70px
}
.mallindex
.floor2
.item
.qiu
i
{
font-size
:
37px
;
color
:
#1F68F2
}
.mallindex
.floor2
.item
.cong
{
margin-left
:
41px
}
.mallindex
.floor2
.item
.cong
p
{
font-size
:
20px
;
font-weight
:
bold
;
color
:
#fff
;
margin-bottom
:
14px
}
.mallindex
.floor2
.item
.cong
i
{
color
:
#1F68F2
}
.mallindex
.floor2
.item
:hover
{
background
:
rgba
(
40
,
63
,
235
,
0.75
)}
.mallindex
.floor2
.item
:hover
.qiu
{
background
:
none
}
.mallindex
.floor2
.item
:hover
.qiu
i
{
display
:
inline
;
color
:
#fff
;
font-size
:
60px
}
.mallindex
.floor2
.item
:hover
.cong
i
{
color
:
#F68332
}
.mallindex
.floor3
{
height
:
480px
;
margin-top
:
12px
;
background
:
url(../../images/mall/video.png)
no-repeat
;
background-size
:
100%
100%
}
.procon
{
display
:
block
!important
}
.mallindex
.floor1
{
margin-top
:
7px
}
.mallindex
.floor1
.f1left
{
width
:
498px
;
height
:
384px
}
.mallindex
.floor1
.f1right
{
margin-left
:
1px
;
width
:
700px
;
height
:
384px
;
background
:
url(../../images/mall/banner.png?v=20221124)
no-repeat
;
background-size
:
100%
100%
}
.mallindex
.floor2
{
margin-top
:
12px
}
.mallindex
.floor2
.item
{
width
:
392px
;
height
:
179px
;
background
:
rgba
(
2
,
11
,
51
,
0.75
);
transition
:
all
.5s
;
margin-right
:
12px
;
padding-left
:
48px
}
.mallindex
.floor2
.item
:last-child
{
margin-right
:
0px
}
.mallindex
.floor2
.item
.qiu
{
width
:
70px
;
height
:
70px
;
background
:
#FFFFFF
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
70px
}
.mallindex
.floor2
.item
.qiu
i
{
font-size
:
37px
;
color
:
#1F68F2
}
.mallindex
.floor2
.item
.cong
{
margin-left
:
41px
}
.mallindex
.floor2
.item
.cong
p
{
font-size
:
20px
;
font-weight
:
bold
;
color
:
#fff
;
margin-bottom
:
14px
}
.mallindex
.floor2
.item
.cong
i
{
color
:
#1F68F2
}
.mallindex
.floor2
.item
:hover
{
background
:
rgba
(
40
,
63
,
235
,
0.75
)}
.mallindex
.floor2
.item
:hover
.qiu
{
background
:
none
}
.mallindex
.floor2
.item
:hover
.qiu
i
{
display
:
inline
;
color
:
#fff
;
font-size
:
60px
}
.mallindex
.floor2
.item
:hover
.cong
i
{
color
:
#F68332
}
.mallindex
.floor3
{
height
:
480px
;
margin-top
:
12px
;
background
:
url(../../images/mall/video.png)
no-repeat
;
background-size
:
100%
100%
}
.procon
{
display
:
block
!important
}
\ No newline at end of file
\ No newline at end of file
public/assets/images/car/carbanner.png
View file @
458bcad4
89.4 KB
|
W:
|
H:
111 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/assets/images/mall/banner.png
View file @
458bcad4
164 KB
|
W:
|
H:
209 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/assets/js/common/mallUi.js
View file @
458bcad4
...
@@ -36,6 +36,23 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) {
...
@@ -36,6 +36,23 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) {
})
})
})
})
tool
.
getCarNum
();
tool
.
getCarNum
();
//搜索
$
(
".mallsearchbtnx"
).
click
(
function
()
{
var
val_
=
$
(
".mallsearchvalx"
).
val
().
replace
(
/^
\s
+/
,
""
).
replace
(
/
\s
+$/
,
""
);
if
(
!
val_
)
{
liexin_pop
.
Tip
({
title
:
"ENTER CANNOT BE EMPTY"
})
return
}
if
(
val_
.
length
<
3
)
{
liexin_pop
.
Tip
({
title
:
"Contain at least 3 characters"
})
return
}
if
(
val_
.
length
>
50
)
{
liexin_pop
.
Tip
({
title
:
"Contain at most 50 characters"
})
return
}
window
.
location
.
href
=
"/search?keyword="
+
val_
})
/**上面官网商城通用**/
/**上面官网商城通用**/
//官网
//官网
...
@@ -65,23 +82,7 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) {
...
@@ -65,23 +82,7 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) {
//底部无缝链接滚动
//底部无缝链接滚动
jQuery
(
".bannerEle"
).
slide
({
mainCell
:
".bannerScrollboxs"
,
autoPlay
:
true
,
effect
:
"leftMarquee"
,
vis
:
9
,
interTime
:
50
});
jQuery
(
".bannerEle"
).
slide
({
mainCell
:
".bannerScrollboxs"
,
autoPlay
:
true
,
effect
:
"leftMarquee"
,
vis
:
9
,
interTime
:
50
});
//搜索
$
(
".mallsearchbtnx"
).
click
(
function
()
{
var
val_
=
$
(
".mallsearchvalx"
).
val
().
replace
(
/^
\s
+/
,
""
).
replace
(
/
\s
+$/
,
""
);
if
(
!
val_
)
{
liexin_pop
.
Tip
({
title
:
"ENTER CANNOT BE EMPTY"
})
return
}
if
(
val_
.
length
<
3
)
{
liexin_pop
.
Tip
({
title
:
"Contain at least 3 characters"
})
return
}
if
(
val_
.
length
>
50
)
{
liexin_pop
.
Tip
({
title
:
"Contain at most 50 characters"
})
return
}
window
.
location
.
href
=
"/search?keyword="
+
val_
})
},
},
...
...
resources/views/car/car.blade.php
View file @
458bcad4
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
Already Registered? <a href="
/
login
?
referer
=
{{
\Illuminate\Support\Facades\URL
::
current
()}}
">Log In</a>
Already Registered? <a href="
/
login
?
referer
=
{{
\Illuminate\Support\Facades\URL
::
current
()}}
">Log In</a>
</div>
</div>
<a href="
javascript
:
void
(
0
)
" class="
bannerc
">
<a href="
javascript
:
void
(
0
)
" class="
bannerc
">
<img src="
{{
$public
}}
/
assets
/
images
/
car
/
carbanner
.
png
" alt="">
<img src="
{{
$public
}}
/
assets
/
images
/
car
/
carbanner
.
png
?
v
=
20221124
" alt="">
</a>
</a>
</div>
</div>
</div>
</div>
...
...
resources/views/common/headerNav.blade.php
View file @
458bcad4
...
@@ -26,7 +26,15 @@
...
@@ -26,7 +26,15 @@
<a
href=
"/reg?referer={{\Illuminate\Support\Facades\URL::current()}}"
>
Register
</a>
<a
href=
"/reg?referer={{\Illuminate\Support\Facades\URL::current()}}"
>
Register
</a>
</div>
</div>
@endif
@endif
<a
href=
"/search"
class=
"fr iconbx"
><i
class=
"icon iconfont icon-shouyesousuo"
></i></a>
<div
class=
"fr searchenter"
>
<div
class=
"searchtopbox"
>
<input
type=
"text"
class=
"mallsearchvalx"
/>
<span
class=
"mallsearchbtnx"
><i
class=
"icon iconfont icon-shouyesousuo"
></i></span>
</div>
<a
href=
"/search"
class=
"iconbx"
><i
class=
"icon iconfont icon-shouyesousuo"
></i></a>
</div>
<a
href=
"/car"
class=
"fr carbc iconbx"
><i
class=
"icon iconfont icon-gouwuche"
></i><span
class=
"carNum carNumxs"
>
0
</span></a>
<a
href=
"/car"
class=
"fr carbc iconbx"
><i
class=
"icon iconfont icon-gouwuche"
></i><span
class=
"carNum carNumxs"
>
0
</span></a>
</div>
</div>
...
...
resources/views/common/mallHeaderNav.blade.php
View file @
458bcad4
...
@@ -68,7 +68,11 @@
...
@@ -68,7 +68,11 @@
<a
href=
"/brand/map"
class=
"li"
>
Manufacturers
</a>
<a
href=
"/brand/map"
class=
"li"
>
Manufacturers
</a>
<a
href=
"javascript:void(0)"
class=
"li frqbtnxs"
>
RFQ
</a>
<a
href=
"javascript:void(0)"
class=
"li frqbtnxs"
>
RFQ
</a>
<div
class=
"li"
>
<div
class=
"li"
>
<a
href=
"/about/company"
class=
"li"
>
Company
</a>
<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>
</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