关于本素材我会免费上传源码的全部文件,需要的话点击下面链接下载。
购物商城网站制作.zip-网页制作文档类资源-CSDN下载
PS:希望得到你的关注。
效果图:
Index.html(内容):
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>欢迎来到商城</title>
<link rel="stylesheet" type="text/css" href="css/index.css" />
<link rel="stylesheet" type="text/css" href="css/swiper.min.css" />
<!-- Demo styles -->
<style>
html, body {
position: relative;
height: 100%;
}
body {
background: #eee;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color:#000;
margin: 0;
padding: 0;
}
.swiper-container {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
</style>
</head>
<body>
<!--标签选择器-->
<!--<div>你真是个小天才,天霸动霸TUA!!!</div>-->
<!--类选择器-->
<div class="Header">
<div class="qnav">
<div class="qnav-m">
<!--ul>li*5-->
<ul>
<li>请登陆</li>
<li>免费注册</li>
<li>我的订单</li>
<li>客服服务</li>
<li>网站导航</li>
</ul>
</div>
</div>
<div class="fm">
<div class="logo"><img src="images/img_06.png" /></div>
<input type="text" value="搜索" />
<div class="fdj"><img src="images/img_12.gif" /></div>
<div class="tp"><img src="images/img_54.png" /></div>
<div class="tpp"><img src="images/img_03.gif" /></div>
<button>购物车</button>
</div>
</div>
<div class="Banner">
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide"><img src="images/img_18.gif"/></div>
<div class="swiper-slide"><img src="images/back3.gif"/></div>
<div class="swiper-slide"><img src="images/back2.jpg"/></div>
<div class="swiper-slide"><img src="images/back4.gif"/></div>
<div class="swiper-slide"><img src="images/back3.gif"/></div>
<div class="swiper-slide"><img src="images/back2.jpg"/></div>
<div class="swiper-slide"><img src="images/back4.gif"/></div>
<div class="swiper-slide"><img src="images/back3.gif"/></div>
<div class="swiper-slide"><img src="images/bg.gif"/></div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<!-- Add Arrows -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
<div class="Nav">
<div class="Nav-m">
<ul>
<strong><a href="index.html"><li>OPPO</li></a></strong>
<a href="index.html">
<li>Find系列</li>
</a>
<a href="index.html">
<li>Reno系列</li>
</a>
<a href="index.html">
<li>R系列</li>
</a>
<a href="index.html">
<li>K系列</li>
</a>
<a href="index.html">
<li>配件</li>
</a>
<a href="index.html">
<li>服务</li>
</a>
<li>商城</li>
</ul>
</div>
</div>
</div>
<div class="Coupon">
<div class="fm1">
<div class="q1"><img src="images/img_55.png" /></div>
<div class="q2"><img src="images/img_21.gif" /></div>
<div class="q3"><img src="images/img_24.gif" /></div>
<div class="q4"><img src="images/img_26.gif" /></div>
</div>
</div>
<div class="display">
<div class="c1"><img src="images/img_34.gif" /></div>
<div class="c2"><img src="images/img_32.gif" /></div>
<div class="c3"><img src="images/img_38.gif" /></div>
<div class="c4"><img src="images/img_40.gif" /></div>
<div class="c5"><img src="images/img_44.gif" /></div>
</div>
<div class="end">
<div class="e1">
<a href="https://www.oppo.com/cn/product/reno/index.html"><img src="images/img_56.gif" /></a>
</div>
<div class="e2">
<a href="https://www.oppo.com/cn/service.html"><img src="images/img_53.gif" /></a>
</div>
<div class="e3"><img src="images/shu_03.png" /></div>
</div>
<div class="k1">
<div class="header">
<div class="banner">
</div>
</div>
</div>
<div class="k2">
<img src="images/images/结尾_02.gif"/>
</div>
<!--<div class="xian"></div>-->
<!--<div class="yes">
<ul>
<center>
<li>© 2005 - 2019 版权所有 鲁ICP备01730332号-1 | 隐私 | 用户使用协议 | 联系方式:4001-777-666</li>
</center>
</ul>
</div>-->
<!-- Swiper JS -->
<script src="js/swiper.min.js"></script>
<script src="js/jquery-3.3.1.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.swiper-container', {
spaceBetween: 30,
centeredSlides: true,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
// .mouseenter鼠标经过/ click点击
$(function () {
$(".Nav").mouseenter(function () {
$(".Nav li").fadeIn()
});
$(".Nav").mouseleave(function () {
$(".Nav li").fadeOut()
});
$(".fm .q1").mouseenter(function () {
$(".fm .q1").fadeIn()
});
$(".content .left").click(function () {
$(".content .left img").fadeToggle()
});
});
</script>
</body>
</html>