Commit 458bcad4 by 肖康

官网顶部搜索 产品反馈修改

parent e04aa8ea
...@@ -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%;
} }
} }
......
.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

89.4 KB | W: | H:

111 KB | W: | H:

public/assets/images/car/carbanner.png
public/assets/images/car/carbanner.png
public/assets/images/car/carbanner.png
public/assets/images/car/carbanner.png
  • 2-up
  • Swipe
  • Onion skin

164 KB | W: | H:

209 KB | W: | H:

public/assets/images/mall/banner.png
public/assets/images/mall/banner.png
public/assets/images/mall/banner.png
public/assets/images/mall/banner.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -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_
})
}, },
......
...@@ -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>
......
...@@ -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>
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment