

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layuiAdmin 主页示例模板一</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
</head>
<style>
   #qe{
     width: 100%;
     height: auto;
   }
</style>
<body>

  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md8">    
        <div class="layui-card">
          <div class="layui-card-header">
            最近更新
            <a lay-href="http://www.layui.com/doc/base/changelog.html" class="layui-a-tips">全部更新</a>
          </div>
          <div class="layui-card-body">
            <div class="layui-row layui-col-space10">
              <div class="layui-carousel" id="test1">
                <div carousel-item>
                  <div><img id="qe" src="../imgs/5.png"></div>
                  <div><img id="qe" src="../imgs/4.jpg"></div>
                  <div><img id="qe" src="../imgs/3.jpg"></div>
                  <div><img id="qe" src="../imgs/2.jpg"></div>
                  <div><img id="qe" src="../imgs/1.jpg"></div>
                </div>
              </div>
            </div>
          </div>
        </div>
    
        <div class="layui-col-md4">

          <div class="layui-card">
            <div class="layui-card-header">产品动态</div>
            <div class="layui-card-body">
              <div class="layui-carousel layadmin-carousel layadmin-news" data-autoplay="true" data-anim="fade" lay-filter="news">
                <div carousel-item>
                  <div><a  target="_blank" class="layui-bg-red">Swordsman 快速上手文档</a></div>
                  <div><a  target="_blank" class="layui-bg-green">Swordsman 讨论专区</a></div> 
                  <div><a  target="_blank" class="layui-bg-blue">获得 Swordsman 授权版</a></div>
                </div>
              </div>
            </div>
          </div>
  
          <div class="layui-card">
            <div class="layui-card-header">
              作者心语
              <i class="layui-icon layui-icon-tips" lay-tips="要支持的噢" lay-offset="5"></i>
            </div>
            <div class="layui-card-body layui-text layadmin-text">
              <p>《Swordsman》 剑客组织，在桌面开发即将进入死胡同的时代，我准备出一次手,挽救一下，国内盗版游戏资源市场</p>
              <p>在过去的一段的时间，我一直在寻求持久发展道路，已维持你眼前所见的一切。而 开源 是我们尝试解决的手段之一。我相信真正有爱于 开源 生态的你，定然不会错过这一拥抱吧。</p>
              <p>—— 爱国（<a  target="_blank">Swordsman.cn</a>）</p>
            </div>
          </div>
        </div>
    </div>
  </div>

  <script src="../../layuiadmin/layui/layui.js"></script>  
  <script>
    layui.use('carousel', function(){
  var carousel = layui.carousel;
  //建造实例
  carousel.render({
    elem: '#test1'
    ,width: '100%' //设置容器宽度
    ,arrow: 'always' //始终显示箭头
    ,height:'450px'
    //,anim: 'updown' //切换动画方式
  });
});
  layui.config({
    base: '../../layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'sample']);
  </script>
</body>
</html>