<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport">
<script src="./js/common/ali_rem.js"></script>
<link rel="stylesheet" href="lib/swiper/swiper.min.css">
<link rel="stylesheet" href="css/index.css">
<script src="./js/common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="./js/common/mockjax.js"></script>
<title>首页</title>
</head>
<body>
<div class="wrap">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<a href="http://www.baidu.com"><img src="images/index/banner.png" alt=""></a>
</div>
<div class="swiper-slide">
<a href="http://39.108.128.90:8090/activiti/518/index.dhtml"><img src="images/index/banner.png" alt=""></a>
</div>
<div class="swiper-slide">
<a href="http://39.108.128.90:8090/activiti/518/index.dhtml"><img src="images/index/banner.png" alt=""></a>
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
<div class="block block-1">
<div class="ft">
<a href="/abao/info/list.dhtml?c=notice" class="more aln-y">更多</a>
<div class="text-scorll">
<i class="icon icon-horn"></i>
<ul>
<li><a href="/abao/info/show.dhtml?id=402894316076866b0160769f7e20000e" title="我的幸福刚刚好">我的幸福刚刚好</a></li>
<li><a href="/abao/info/show.dhtml?id=402894316076866b0160769eee40000d" title="爱若放手,祝福依旧">爱若放手,祝福依旧</a></li>
<li><a href="/abao/info/show.dhtml?id=402894316076866b0160769e72b7000b" title="后来,我瞒着所有人爱了你很久很久">后来,我瞒着所有人爱了你很久很久</a>
</li>
<li><a href="/abao/info/show.dhtml?id=402894316076866b0160769f7e20000e" title="我的幸福刚刚好">我的幸福刚刚好</a></li>
</ul>
</div>
</div>
</div>
<div class="bar">
<ul>
<li>
<a href="#"><span><img src="images/index/productIntroduce.png" alt=""></span><span class="text">产品介绍</span></a>
</li>
<li>
<a href="#"><span><img src="images/index/terraceData.png" alt=""></span><span class="text">平台数据</span></a>
</li>
<li>
<a href="#"><span><img src="images/index/safetyEnsure.png" alt=""></span><span class="text">安全保障</span></a>
</li>
<li>
<a href="#"><span><img src="images/index/newerDirect.png" alt=""></span><span class="text">新手指引</span></a>
</li>
</ul>
</div>
<div class="block block-2">
<div class="hd">
<div class="bd">
<!-- 体验标 -->
<div class="bids-list">
<i class="newWeal"></i>
<a href="" class="item">
<span class="tit">[投资计划]2017212212</span>
<h3>新手专享</h3>
<div class="rate-bar">
<span class="rate-one">10</span>
<span class="symbol">%</span>
<span class="plus">+</span>
<span class="rate-add">2.00</span>
<span class="symbol2">%</span>
<span class="rate">年化利率</span>
</div>
<div class="info">
<div class="money-bar">剩余金额: <span class="money-num">0</span>元</div>
<div class="limit-bar">期限: <span class="limit-one"><font>12</font> 个月</span></div>
</div>
</a>
<span class="btn" οnclick="showProject(${project.id});">满标 </span>
</div>
<!-- 非体验标 -->
</div>
</div>
</div>
<!-- 底部按钮 -->
<div class="fix-nav">
<ul>
<li><a href="/abao/" class="icon icon-home active ">
<i class="home-page"></i><div>首页</div></a>
</li>
<li><a href="/abao/project/listProject.dhtml" class="icon icon-rise ">
<i class="financial"></i><div>理财</div></a></li>
<li><a href="/abao/" class="icon icon-home active ">
<i class="find"></i><div>发现</div></a></li>
<li><a href="/abao/usercenter/home.dhtml" class="icon icon-user ">
<i class="mine"></i><div>我的</div></a></li>
</ul>
</div>
</div>
</div>
<script src="./js/common/notice.js"></script>
<script src="lib/swiper/swiper.min.js"></script>
<script src="./js/data/mock.js"></script>
<script src="js/common/template-web.js"></script>
<script id="lunbo" type="text/template">
{{each lunbotu as lbt}}
<div class="swiper-slide">
<a href="{{lbt.alink}}"><img src="{{lbt.imglink}}" alt="{{lbt.imgalt"></a>
</div>
{{/each}}
</script>
<script>
var swiper = new Swiper('.swiper-container', {
centeredSlides: true,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
//公告
$('.text-scorll').notice();
getmock.index('index','lunbotu','https://www.rongniu360.com/index/lunbotu');
$.ajax({
url:'https://www.rongniu360.com/index/lunbotu',
type:'GET',
success:function(res){
console.log(res)
var template = template.render('lunbo',res);
console.log(template)
},
error:function(err){
console.log(err)
}
})
</script>
</body>
</html>