加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
product.html 15.56 KB
一键复制 编辑 原始数据 按行查看 历史
NO25dav 提交于 2019-04-09 16:56 . 4.09完成页面基本制作
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<meta name="format-detection" content="telephone=yes"/>
<title>产品展示</title>
<!--引入mui的css-->
<link rel="stylesheet" href="lib/mui/css/mui.min.css">
<!--引入mui字体-->
<link rel="stylesheet" href="lib/mui/css/icons-extra.css">
<!--引入公共css-->
<link rel="stylesheet" href="css/base.css">
<!--引入本页面的css-->
<link rel="stylesheet" href="css/product.css">
<!--引入公共的侧边栏顶部和底部样式-->
<link rel="stylesheet" href="css/commontab.css">
<!--引入animation-->
<link rel="stylesheet" href="lib/wow/animate.css">
<!--引入swiper的css-->
<link rel="stylesheet" href="lib/swiper/swiper.min.css">
<!--进度条-->
<link rel="stylesheet" href="lib/pace/pace.css">
<script src="lib/pace/pace.min.js"></script>
<!--引入rem-->
<script src="js/rem.js"></script>
<!--引入wow.js-->
<script src="lib/wow/wow.min.js"></script>
<!--引入macy-->
<!--<script src="lib/macy/macy.js"></script>-->
</head>
<body>
<div class="layout clearfix">
<!-- 侧滑导航根容器 -->
<div class="mui-off-canvas-wrap mui-slide-in">
<!-- 菜单容器 -->
<aside class="mui-off-canvas-right" id="my-pop">
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<ul class="mui-table-view tab-nav">
<li class="mui-table-view-cell mui-collapse small-item">
<a class="mui-navigate-right" href="#">蜀帅首页</a>
<div class="mui-collapse-content small-item-con">
<a href="/" class="">返回首页</a>
</div>
</li>
<li class="mui-table-view-cell mui-collapse small-item">
<a class="mui-navigate-right" href="#">关于我们</a>
<div class="mui-collapse-content small-item-con">
<a href="/company.html">企业介绍</a>
<a href="/brand.html">品牌介绍</a>
</div>
</li>
<li class="mui-table-view-cell mui-collapse small-item mui-active">
<a class="mui-navigate-right">产品系列</a>
<div class="mui-collapse-content small-item-con">
<a href="javascript:void(0);" class="tab-active">产品展示</a>
</div>
</li>
<li class="mui-table-view-cell mui-collapse mui-collapse small-item">
<a class="mui-navigate-right" href="#">新闻中心</a>
<div class="mui-collapse-content small-item-con">
<a href="/news.html" class="">新闻资讯</a>
</div>
</li>
<li class="mui-table-view-cell mui-collapse small-item">
<a class="mui-navigate-right" href="#">招商加盟</a>
<div class="mui-collapse-content small-item-con">
<a href="/cost.html">加盟费用</a>
<a href="/process.html">加盟流程</a>
<a href="/support.html">加盟支持</a>
</div>
</li>
<li class="mui-table-view-cell mui-collapse small-item">
<a class="mui-navigate-right" href="#">联系我们</a>
<div class="mui-collapse-content small-item-con">
<a href="/contact.html">联系我们</a>
</div>
</li>
</ul>
</div>
</div>
</aside>
<!-- 主页面容器 -->
<div class="mui-inner-wrap">
<!-- 主页面标题 -->
<header class="mui-bar mui-bar-nav my-header-nav">
<a id="offCanvasBtn" href="#my-pop"
class="mui-icon mui-action-menu mui-icon-bars mui-pull-right iconfont my-header-menu">&#xe61e;</a>
<h1 class="mui-title">
<a href="javascript:void(0)">
<img src="img/home/header_img.png" alt="">
</a>
</h1>
</header>
<!-- 主界面具体展示内容 -->
<div class="mui-content mui-scroll-wrapper my-content">
<div class="mui-scroll my-scroll">
<!--轮播图-->
<div class="swiper-container my-banner">
<div class="swiper-wrapper">
<div class="swiper-slide">
<a href="#">
<img src="img/home/banner_01.png" alt="">
</a>
</div>
<div class="swiper-slide">
<a href="#">
<img src="img/home/banner_02.png" alt="">
</a>
</div>
<div class="swiper-slide">
<a href="#">
<img src="img/home/banner_01.png" alt="">
</a>
</div>
<div class="swiper-slide">
<a href="#">
<img src="img/home/banner_02.png" alt="">
</a>
</div>
</div>
<!-- 如果需要分页器 -->
<div class="swiper-pagination"></div>
</div>
<!--面包屑导航-->
<div class="bread">
<ul class="bread-nav clearfix container">
<li>
<a href="/" class="clearfix">
<img src="img/product/bread_home.png" alt="">
<p>返回首页</p>
</a>
</li>
<li>
<img src="img/product/bread_back.png" alt="">
</li>
<li>
<a href="#">
<img src="img/product/bread_product.png" alt="">
<p>产品介绍</p>
</a>
</li>
</ul>
</div>
<!--产品展示-->
<div class="product_show container">
<!--标题-->
<div class="ps-title">
</div>
<!--图片区域-->
<ul class="ps-imgbox-nav wow fadeInLeft">
<li>
<a href="#">
</a>
</li>
<li>
<a href="#">
</a>
</li>
<li>
<a href="#">
</a>
</li>
<li>
<a href="#">
</a>
</li>
</ul>
</div>
<!--爆款单品-->
<div class="single container">
<!--标题-->
<div class="single-title">
</div>
<!--以下是瀑布流布局-->
<div id="waterfall" class="clearfix waterfall1">
<div class="box">
<div class="img-box"><a href="javascript:void(0);"><p>甄选牛柳</p></a>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>千张</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>年糕</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>毛肚</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>清脆藕片</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>优质木耳</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>新鲜时蔬</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>百搭培根</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>腐竹</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>骨肉相连</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>香菇贡丸</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>玉米肠</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>黄豆芽</p>
</div>
</div>
</div>
<div id="btn1">
点击加载更多
</div>
</div>
<!--加餐力荐-->
<div class="addfood container">
<!--标题-->
<div class="addfood-title">
</div>
<!--以下是瀑布流布局-->
<div id="waterfall2" class="clearfix waterfall2">
<div class="box">
<div class="img-box"><a href="javascript:void(0);"><p>优质金针菇</p></a>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>花菜</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>火腿肠</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>豆浆</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>蟹棒</p>
</div>
<div class="img-box"><a href="javascript:void(0);"></a>
<p>土豆</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>包菜</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>肥牛</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>海带</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>杏鲍菇</p>
</div>
<div class="img-box hide"><a href="javascript:void(0);"></a>
<p>莴笋</p>
</div>
</div>
</div>
<div id="btn2">
点击加载更多
</div>
</div>
<footer>
<p class="foot-logo"></p>
<p>地址:杭州市滨江区味捷餐饮</p>
<p>全国免费加盟热线:400-9016-799</p>
</footer>
</div>
</div>
<div class="mui-off-canvas-backdrop"></div>
</div>
</div>
<!--固定的联系方式等-->
<div class="teles-box">
<a href="tel:400-9016-799">
<img src="img/home/msg_bottom_img.png" alt="">
<p>留言资讯</p>
</a>
<a href="#">
<img src="img/home/join_bottom_img.png" alt="">
<p>招商加盟</p>
</a>
</div>
</div>
<!--引入mui的js-->
<script src="lib/mui/js/mui.min.js"></script>
<!--引入swiper-->
<script src="lib/swiper/swiper.min.js"></script>
<!--引入zepto-->
<script src="lib/jq/jquery-1.10.2.min.js"></script>
<script src="lib/jq/jquery.waterfall.min.js"></script>
<script src="js/common.js"></script>
<script>
$(function () {
// btnId 为按钮id
// parCls 为瀑布流布局外面大盒子的类名
// mainBox 为装图片的大盒子的类名
// limitHeight 为显示完整后的盒子高度,保证瀑布流布局
function loadAnimation(btnId,parCls,mainBox,limitHeight) {
$(btnId).on("click", function () {
$(this).html("<img src=\"img/product/loading_img.png\" class=\"runsca\" alt=\"\">")
setTimeout(function () {
$(parCls).children(mainBox).height(limitHeight)
$(parCls).children().children(".img-box").fadeIn()
$(btnId).hide()
}, 2000)
})
}
loadAnimation("#btn1",".waterfall1",".box","9.2rem")
loadAnimation("#btn2",".waterfall2",".box","8rem")
})
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化