Watch 1 Star 3 Fork 1

风云 / qkj

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Nothing here. spread retract

Clone or download
index.html 1.89 KB
Copy Edit Web IDE Raw Blame History
风云 authored 2018-03-25 18:09 . 完成网站开发
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>青海互助金泉青稞酒酿造有限公司</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="青海互助金泉青稞酒酿造有限公司">
<link rel="stylesheet" href="res/layui/css/layui.css">
<link rel="stylesheet" href="res/css/global.css">
</head>
<body>
<!-- 网页头部 -->
<div class="fly-header layui-bg-black">
<!--#include virtual="/include/top.html" -->
</div>
<!-- 头部结束 -->
<!-- 滚动图片 -->
<div class="fly-panel">
<div class="layui-carousel" id="test1">
<div carousel-item>
<!--#include virtual="/pages/comm/carousel.html" -->
</div>
</div>
</div>
<!-- 滚动图片结束 -->
<!--友情链接-->
<div class="fly-panel">
<!--#include virtual="/pages/comm/link.html"-->
</div>
<div class="fly-footer">
<!--#include virtual="/include/footer.html" -->
</div>
<script src="res/layui/layui.js"></script>
<script>
layui.use('carousel', function() {
var carousel = layui.carousel;
//建造实例
carousel.render({
elem: '#test1',
width: '100%' //设置容器宽度
,
height: '640px',
arrow: 'always' //始终显示箭头
//,anim: 'updown' //切换动画方式
});
});
layui.use('element', function(){
var element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
//监听导航点击
element.on('nav(demo)', function(elem){
//console.log(elem)
layer.msg(elem.text());
});
});
</script>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/live.cn/qkj.git
git@gitee.com:live.cn/qkj.git
live.cn
qkj
qkj
master

Search