Commit 41ff99cb by 肖康

Merge branch 'feature/xk/20231102/首页轮播修改' into dev/ver/1.0.0

parents 0adb7836 0c4b8ebc
......@@ -3,27 +3,34 @@
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Log;
use MaxMind\Db\Reader;
class CheckIp
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
view()->share('is_disable_ip', 0);
//laravel get route name
$routeName = \Illuminate\Support\Facades\Route::currentRouteName();
if ($routeName == 'info') {
return $next($request);
}
$ip = $request->ip();
$result = geoip($ip);
if (in_array($result->iso_code, config('field.disable_ip_iso_code'))) {
Log::warning($ip);
$reader = new Reader(storage_path('app/GeoLite2-Country.mmdb'));
$record = $reader->get($ip);
if (empty($record)) {
return $next($request);
}
Log::warning(json_encode($record));
if (in_array($record['country']['iso_code'], config('field.disable_ip_iso_code'))) {
view()->share('is_disable_ip', 1);
return redirect()->to('/info');
}
......
......@@ -48,7 +48,7 @@
background : #02051F;
width : 100%;
position : fixed;
top : 70px;
//top : 70px;
left : 0px;
z-index : 6;
border-bottom: 1px solid #545C76;
......
.gw-header-nav{
position: fixed;
top:70px;
//top:70px;
}
body{background: #000;min-width: 1200px;}
.homepage{
......
.gw-header-nav{position:fixed;top:70px}body{background:#000;min-width:1200px}.homepage{background:#000}.homepage .floor1{height:1021px;width:100%;background:url("../../images/home/bg1.png") center top no-repeat}.homepage .floor1 .fl1-con{padding-top:440px;width:1200px;margin:0 auto}.homepage .floor1 .fl1-con .rtdes{position:relative}.homepage .floor1 .fl1-con .rtdes p{color:#fff;font-size:60px}.homepage .floor1 .fl1-con .rtdes .p24{font-size:24px;margin-top:30px}.homepage .floor1 .fl1-con .rtdes img{display:block;position:absolute;z-index:1;width:450px;right:-50px;top:-150px}.homepage .floor1 .fl1-con .fl1botbox{margin-top:94px}.homepage .floor1 .fl1-con .fl1botbox .ftitem{width:390px;padding-top:38px;padding-bottom:42px;background:rgba(2,11,51,0.75);margin-right:15px;text-align:center;transition:all .8s}.homepage .floor1 .fl1-con .fl1botbox .ftitem.ftlast{margin-right:0px}.homepage .floor1 .fl1-con .fl1botbox .ftitem div{height:88px;width:88px;margin:0 auto;background:#fff;border-radius:88px;text-align:center;transition:all .8s}.homepage .floor1 .fl1-con .fl1botbox .ftitem div i{font-size:47px;position:relative;top:18px;color:#283FEB}.homepage .floor1 .fl1-con .fl1botbox .ftitem p{text-align:center;font-size:30px;color:#fff;margin-top:38px;margin-bottom:24px}.homepage .floor1 .fl1-con .fl1botbox .ftitem i.ijt{color:#283FEB;transition:all .8s}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover{background:rgba(40,63,235,0.75)}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover i.ijt{color:#F68332}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover div{background:none}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover div i{font-size:60px;color:#fff}.homepage .floor2{height:480px;background:url("../../images/home/bg2.png") center top no-repeat;font-size:24px;color:#fff}.homepage .floor2 b{font-size:40px}.homepage .floor2 .f2con{width:500px;margin:0 auto;position:relative;top:260px;width:864px}.homepage .floor2 video{width:1200px;margin:0 auto;display:block}.homepage .floor3{padding-top:4px}.homepage .floor3 .row{margin-bottom:1px}.homepage .floor3 .itemf3{height:200px;width:50%;background:#1B2037;color:#fff;font-size:30px;line-height:200px;margin-bottom:1px}.homepage .floor3 .itemf3.trr{padding-left:122px}.homepage .floor3 .itemf3.trl{text-align:right;padding-right:122px;margin-right:1px}.homepage .floor3 .itemf3 b{font-size:40px;font-weight:bold;margin-right:10px}.homepage .floor3 .itemf3:hover b{font-size:100px;font-weight:bold}.homepage .floor3 .itemf3.bgbts1:hover{background:url("../../images/home/bgf1.png") no-repeat;background-size:100% 100%}.homepage .floor3 .itemf3.bgbts2:hover{background:url("../../images/home/bgf2.png") no-repeat;background-size:100% 100%}.homepage .floor3 .itemf3.bgbts3:hover{background:url("../../images/home/bgf3.png") no-repeat;background-size:100% 100%}.homepage .floor3 .itemf3.bgbts4:hover{background:url("../../images/home/bgf4.png") no-repeat;background-size:100% 100%}.homepage .floor4{padding-top:60px;text-align:center;padding-bottom:60px}.homepage .floor4 p{font-size:30px;font-weight:bold;color:#FFf;margin-bottom:36px}.homepage .floor4 .but{width:560px;height:64px;line-height:64px;background:#283FEB;color:#fff;font-size:22px;border:2px solid #283FEB;cursor:pointer}.homepage .floor4 .but.but-lk{background:none;margin-left:39px}.homepage .footfixedcor{height:160px;width:100%;background:rgba(31,104,242,0.9);color:#fff;position:fixed;bottom:0px;z-index:1}.homepage .footfixedcor .confotfix{position:relative;padding-top:44px;padding-bottom:47px;z-index:2}.homepage .footfixedcor .confotfix div.textt{width:656px;font-size:18px;line-height:24px;margin-right:28px;color:#fff}.homepage .footfixedcor .confotfix .but{display:block;position:relative;top:10px;text-align:center;width:248px;height:48px;line-height:48px;background:#F68332;color:#fff;font-size:20px;border:1px solid #F68332;cursor:pointer}.homepage .footfixedcor .confotfix .but.but-lk{background:none;margin-right:20px;color:#F68332}
\ No newline at end of file
.gw-header-nav{position:fixed}body{background:#000;min-width:1200px}.homepage{background:#000}.homepage .floor1{height:1021px;width:100%;background:url("../../images/home/bg1.png") center top no-repeat}.homepage .floor1 .fl1-con{padding-top:440px;width:1200px;margin:0 auto}.homepage .floor1 .fl1-con .rtdes{position:relative}.homepage .floor1 .fl1-con .rtdes p{color:#fff;font-size:60px}.homepage .floor1 .fl1-con .rtdes .p24{font-size:24px;margin-top:30px}.homepage .floor1 .fl1-con .rtdes img{display:block;position:absolute;z-index:1;width:450px;right:-50px;top:-150px}.homepage .floor1 .fl1-con .fl1botbox{margin-top:94px}.homepage .floor1 .fl1-con .fl1botbox .ftitem{width:390px;padding-top:38px;padding-bottom:42px;background:rgba(2,11,51,0.75);margin-right:15px;text-align:center;transition:all .8s}.homepage .floor1 .fl1-con .fl1botbox .ftitem.ftlast{margin-right:0px}.homepage .floor1 .fl1-con .fl1botbox .ftitem div{height:88px;width:88px;margin:0 auto;background:#fff;border-radius:88px;text-align:center;transition:all .8s}.homepage .floor1 .fl1-con .fl1botbox .ftitem div i{font-size:47px;position:relative;top:18px;color:#283FEB}.homepage .floor1 .fl1-con .fl1botbox .ftitem p{text-align:center;font-size:30px;color:#fff;margin-top:38px;margin-bottom:24px}.homepage .floor1 .fl1-con .fl1botbox .ftitem i.ijt{color:#283FEB;transition:all .8s}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover{background:rgba(40,63,235,0.75)}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover i.ijt{color:#F68332}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover div{background:none}.homepage .floor1 .fl1-con .fl1botbox .ftitem:hover div i{font-size:60px;color:#fff}.homepage .floor2{height:480px;background:url("../../images/home/bg2.png") center top no-repeat;font-size:24px;color:#fff}.homepage .floor2 b{font-size:40px}.homepage .floor2 .f2con{width:500px;margin:0 auto;position:relative;top:260px;width:864px}.homepage .floor2 video{width:1200px;margin:0 auto;display:block}.homepage .floor3{padding-top:4px}.homepage .floor3 .row{margin-bottom:1px}.homepage .floor3 .itemf3{height:200px;width:50%;background:#1B2037;color:#fff;font-size:30px;line-height:200px;margin-bottom:1px}.homepage .floor3 .itemf3.trr{padding-left:122px}.homepage .floor3 .itemf3.trl{text-align:right;padding-right:122px;margin-right:1px}.homepage .floor3 .itemf3 b{font-size:40px;font-weight:bold;margin-right:10px}.homepage .floor3 .itemf3:hover b{font-size:100px;font-weight:bold}.homepage .floor3 .itemf3.bgbts1:hover{background:url("../../images/home/bgf1.png") no-repeat;background-size:100% 100%}.homepage .floor3 .itemf3.bgbts2:hover{background:url("../../images/home/bgf2.png") no-repeat;background-size:100% 100%}.homepage .floor3 .itemf3.bgbts3:hover{background:url("../../images/home/bgf3.png") no-repeat;background-size:100% 100%}.homepage .floor3 .itemf3.bgbts4:hover{background:url("../../images/home/bgf4.png") no-repeat;background-size:100% 100%}.homepage .floor4{padding-top:60px;text-align:center;padding-bottom:60px}.homepage .floor4 p{font-size:30px;font-weight:bold;color:#FFf;margin-bottom:36px}.homepage .floor4 .but{width:560px;height:64px;line-height:64px;background:#283FEB;color:#fff;font-size:22px;border:2px solid #283FEB;cursor:pointer}.homepage .floor4 .but.but-lk{background:none;margin-left:39px}.homepage .footfixedcor{height:160px;width:100%;background:rgba(31,104,242,0.9);color:#fff;position:fixed;bottom:0px;z-index:1}.homepage .footfixedcor .confotfix{position:relative;padding-top:44px;padding-bottom:47px;z-index:2}.homepage .footfixedcor .confotfix div.textt{width:656px;font-size:18px;line-height:24px;margin-right:28px;color:#fff}.homepage .footfixedcor .confotfix .but{display:block;position:relative;top:10px;text-align:center;width:248px;height:48px;line-height:48px;background:#F68332;color:#fff;font-size:20px;border:1px solid #F68332;cursor:pointer}.homepage .footfixedcor .confotfix .but.but-lk{background:none;margin-right:20px;color:#F68332}
\ No newline at end of file
......@@ -50,13 +50,23 @@
</div>
</div>
<div class="readbox">
<p>READY TO CONNECT?</p>
<div class="row rowCenter">
<a class="but" href="/mall">LOCATE PARTS ON SEMOUR STORE</a>
<div class="but but-lk frqbtnxs">SUBMIT REAL-TIME RFQ</div>
@if(!$is_disable_ip)
<div class="readbox" style="display: none">
<p>READY TO CONNECT?</p>
<div class="row rowCenter">
<a class="but" href="/mall">LOCATE PARTS ON SEMOUR STORE</a>
<div class="but but-lk frqbtnxs">SUBMIT REAL-TIME RFQ</div>
</div>
</div>
</div>
@else
<div class="readbox">
<p>READY TO CONNECT?</p>
<div class="row rowCenter">
<a class="but" href="/mall">LOCATE PARTS ON SEMOUR STORE</a>
<div class="but but-lk frqbtnxs">SUBMIT REAL-TIME RFQ</div>
</div>
</div>
@endif
</div>
......
@extends('layouts.app')
@section('css')
<link rel="stylesheet" href="{{$public}}/assets/css/about/about.min.css?v={{time()}}">
<link rel="stylesheet" href="{{$public}}/assets/css/about/about.min.css?v={{time()}}">
@endsection
@section('title','Refund - ')
@section('body')
@include('common.headerTop')
@include('common.headerNav')
@include('common.headerTop')
@if(!$is_disable_ip)
@include('common.headerNavDisabled')
@else
@include('common.headerNav')
@endif
<div class="refundpage">
<div class="floor1 row verCenter">
<p>Refund & Return</p>
</div>
<div class="floor2">
<div class="jscon boxsiz">
<p class="b">
Refund:
</p><p>
Please contact our support team for any issues immediately once you receive your parcels includes but is not limited to below reasons:
</p><p class="b">
Not received the parcel normally
</p><p>
Yes, we guarantee a refund or to resend your order if you haven't received the parcel beyond the regular shipping days, except the case which customer takes the responsibility for the unsuccessful delivery such as providing an incorrect shipping address, can not complete the customs clearance due to customer's reason, etc.
</p><p class="b">
Note: If the following issues occurs:
</p><p>
extreme weather, post office delay, customs clearance, local protest, etc. In this case, we are incapable of guaranteeing on-time delivery, but we'll try our best to support you,thanks.
</p><p class="b">
Some items missing from my shipment
</p><p>
First, check that you've received all the boxes associated with your order. Then fully empty each box you received, sometimes small parts get caught in crevices or in packing material. If you still can't find your item, please email customer service right away. Include a description of the missing quantities and pictures of the whole parcel. We'll forward them to our warehouse to check the monitor records and the packing pictures records. Steps:
</p><p>
1. Send email to support team for authorization.
</p><p>
2. We'll check and verify the issues.
</p><p>
3. Offer solutions to customer case by case.
</p><p class="b">
Return
</p><p>
By returning products to Semour , the Customer certifies that the products were purchased from Semour and there has been no substitution in whole or part of the same product from another supplier, distributor or other such sources of the product. The return should be in the original packaging and in unused condition (except defective). ESD or moisture-sensitive products should not be opened except under controlled conditions.
</p><p class="b">
General Rules:
</p><p>
When a customer requests a return due to 'non-original/fake/quality problems', a valid quality report from a third-party authoritative organization recognized by our company is required for the return and exchange.
</p><p class="tc-r">Last update date: 5 September 2022</p>
<div class="refundpage">
<div class="floor1 row verCenter">
<p>Refund & Return</p>
</div>
<div class="readbox">
<p>READY TO CONNECT?</p>
<div class="row rowCenter">
<a class="but" href="/mall">LOCATE PARTS ON SEMOUR STORE</a>
<div class="but but-lk frqbtnxs">SUBMIT REAL-TIME RFQ </div>
<div class="floor2">
<div class="jscon boxsiz">
<p class="b">
Refund:
</p>
<p>
Please contact our support team for any issues immediately once you receive your parcels includes but is not limited to below reasons:
</p>
<p class="b">
Not received the parcel normally
</p>
<p>
Yes, we guarantee a refund or to resend your order if you haven't received the parcel beyond the regular shipping days, except the case which customer takes the responsibility for the unsuccessful delivery such as providing an incorrect shipping address, can not complete the customs clearance due to customer's reason, etc.
</p>
<p class="b">
Note: If the following issues occurs:
</p>
<p>
extreme weather, post office delay, customs clearance, local protest, etc. In this case, we are incapable of guaranteeing on-time delivery, but we'll try our best to support you,thanks.
</p>
<p class="b">
Some items missing from my shipment
</p>
<p>
First, check that you've received all the boxes associated with your order. Then fully empty each box you received, sometimes small parts get caught in crevices or in packing material. If you still can't find your item, please email customer service right away. Include a description of the missing quantities and pictures of the whole parcel. We'll forward them to our warehouse to check the monitor records and the packing pictures records. Steps:
</p>
<p>
1. Send email to support team for authorization.
</p>
<p>
2. We'll check and verify the issues.
</p>
<p>
3. Offer solutions to customer case by case.
</p>
<p class="b">
Return
</p>
<p>
By returning products to Semour , the Customer certifies that the products were purchased from Semour and there has been no substitution in whole or part of the same product from another supplier, distributor or other such sources of the product. The return should be in the original packaging and in unused condition (except defective). ESD or moisture-sensitive products should not be opened except under controlled conditions.
</p>
<p class="b">
General Rules:
</p>
<p>
When a customer requests a return due to 'non-original/fake/quality problems', a valid quality report from a third-party authoritative organization recognized by our company is required for the return and exchange.
</p>
<p class="tc-r">Last update date: 5 September 2022</p>
</div>
@if(!$is_disable_ip)
<div class="readbox" style="display: none">
<p>READY TO CONNECT?</p>
<div class="row rowCenter">
<a class="but" href="/mall">LOCATE PARTS ON SEMOUR STORE</a>
<div class="but but-lk frqbtnxs">SUBMIT REAL-TIME RFQ</div>
</div>
</div>
@else
<div class="readbox">
<p>READY TO CONNECT?</p>
<div class="row rowCenter">
<a class="but" href="/mall">LOCATE PARTS ON SEMOUR STORE</a>
<div class="but but-lk frqbtnxs">SUBMIT REAL-TIME RFQ</div>
</div>
</div>
@endif
</div>
</div>
@include('common.footersm')
</div>
@include('common.footersm')
</div>
@endsection
......
@empty($_COOKIE['topclose'])
<div class="gw-header-top ta-c" >
<div>
<span><i class="icon iconfont icon-guanbi topclose"></i></span>
<a href="/mall">LOOKING FOR HARD-TO-FIND PARTS? CLICK TO VISIT SEMOUR ONLINE STORE!</a>
</div>
</div>
@if($is_disable_ip)
<div class="gw-header-top ta-c">
<div>
<span><i class="icon iconfont icon-guanbi topclose"></i></span>
<a href="/mall">LOOKING FOR HARD-TO-FIND PARTS? CLICK TO VISIT SEMOUR ONLINE STORE!</a>
</div>
</div>
@endif
@endempty
......@@ -14,6 +14,9 @@
<div class="f1right">
<div class="brlbox">
<div class="brandroll">
<a class="brandrollitem" href="https://www.semour.com/brand/1354">
<img src="{{$public}}/assets/images/mall/xsens.jpg" alt="">
</a>
<a class="brandrollitem" href="javascript:void(0)">
<img src="{{$public}}/assets/images/mall/banner-1.jpg" alt="">
</a>
......@@ -29,6 +32,7 @@
<li class="on"></li>
<li class="on"></li>
<li class="on"></li>
<li class="on"></li>
</ul>
</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