1 Star 0 Fork 0

tianyuan/bx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.php 7.56 KB
一键复制 编辑 原始数据 按行查看 历史
tianyuan 提交于 2018-12-06 09:02 . 完成
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>阿里百秀-发现生活,发现美!</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/vendors/font-awesome/css/font-awesome.css">
<script src="assets/vendors/jquery/jquery.js"></script>
</head>
<body>
<div class="wrapper">
<div class="topnav">
<ul>
<li><a href="javascript:;"><i class="fa fa-glass"></i>奇趣事</a></li>
<li><a href="javascript:;"><i class="fa fa-phone"></i>潮科技</a></li>
<li><a href="javascript:;"><i class="fa fa-fire"></i>会生活</a></li>
<li><a href="javascript:;"><i class="fa fa-gift"></i>美奇迹</a></li>
</ul>
</div>
<?php include_once "public/_header.php"; ?>
<?php include_once "public/_aside.php"; ?>
<div class="content">
<div class="swipe">
<ul class="swipe-wrapper">
<li>
<a href="#">
<img src="uploads/slide_1.jpg">
<span>XIU主题演示</span>
</a>
</li>
<li>
<a href="#">
<img src="uploads/slide_2.jpg">
<span>XIU主题演示</span>
</a>
</li>
<li>
<a href="#">
<img src="uploads/slide_1.jpg">
<span>XIU主题演示</span>
</a>
</li>
<li>
<a href="#">
<img src="uploads/slide_2.jpg">
<span>XIU主题演示</span>
</a>
</li>
</ul>
<p class="cursor"><span class="active"></span><span></span><span></span><span></span></p>
<a href="javascript:;" class="arrow prev"><i class="fa fa-chevron-left"></i></a>
<a href="javascript:;" class="arrow next"><i class="fa fa-chevron-right"></i></a>
</div>
<div class="panel focus">
<h3>焦点关注</h3>
<ul>
<li class="large">
<a href="javascript:;">
<img src="uploads/hots_1.jpg" alt="">
<span>XIU主题演示</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="uploads/hots_2.jpg" alt="">
<span>星球大战:原力觉醒视频演示 电影票68</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="uploads/hots_3.jpg" alt="">
<span>你敢骑吗?全球第一辆全功能3D打印摩托车亮相</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="uploads/hots_4.jpg" alt="">
<span>又现酒窝夹笔盖新技能 城里人是不让人活了!</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="uploads/hots_5.jpg" alt="">
<span>又现酒窝夹笔盖新技能 城里人是不让人活了!</span>
</a>
</li>
</ul>
</div>
<div class="panel top">
<h3>一周热门排行</h3>
<ol>
<li>
<i>1</i>
<a href="javascript:;">你敢骑吗?全球第一辆全功能3D打印摩托车亮相</a>
<a href="javascript:;" class="like">赞(964)</a>
<span>阅读 (18206)</span>
</li>
<li>
<i>2</i>
<a href="javascript:;">又现酒窝夹笔盖新技能 城里人是不让人活了!</a>
<a href="javascript:;" class="like">赞(964)</a>
<span class="">阅读 (18206)</span>
</li>
<li>
<i>3</i>
<a href="javascript:;">实在太邪恶!照亮妹纸绝对领域与私处</a>
<a href="javascript:;" class="like">赞(964)</a>
<span>阅读 (18206)</span>
</li>
<li>
<i>4</i>
<a href="javascript:;">没有任何防护措施的摄影师在水下拍到了这些画面</a>
<a href="javascript:;" class="like">赞(964)</a>
<span>阅读 (18206)</span>
</li>
<li>
<i>5</i>
<a href="javascript:;">废灯泡的14种玩法 妹子见了都会心动</a>
<a href="javascript:;" class="like">赞(964)</a>
<span>阅读 (18206)</span>
</li>
</ol>
</div>
<div class="panel hots">
<h3>热门推荐</h3>
<ul id="rm">
<li>
<a href="javascript:;">
<img src="uploads/hots_2.jpg" alt="">
<span>星球大战:原力觉醒视频演示 电影票68</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="uploads/hots_3.jpg" alt="">
<span>你敢骑吗?全球第一辆全功能3D打印摩托车亮相</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="uploads/hots_4.jpg" alt="">
<span>又现酒窝夹笔盖新技能 城里人是不让人活了!</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="uploads/hots_5.jpg" alt="">
<span>实在太邪恶!照亮妹纸绝对领域与私处</span>
</a>
</li>
</ul>
</div>
<div class="panel new">
<h3>最新发布</h3>
</div>
</div>
<div class="footer">
<p>© 2016 XIU主题演示 本站主题由 themebetter 提供</p>
</div>
</div>
<script src="assets/vendors/swipe/swipe.js"></script>
<script>
//
var swiper = Swipe(document.querySelector('.swipe'), {
auto: 3000,
transitionEnd: function (index) {
// index++;
$('.cursor span').eq(index).addClass('active').siblings('.active').removeClass('active');
}
});
// 上/下一张
$('.swipe .arrow').on('click', function () {
var _this = $(this);
if(_this.is('.prev')) {
swiper.prev();
} else if(_this.is('.next')) {
swiper.next();
}
})
</script>
</body>
</html>
<script type="text/template" id='posttp'>
{{each $data value}}
<div class="entry">
<div class="head">
<span class="sort">{{value.name}}</span>
<a href="detail.php?id={{value.id}}">{{value.title}}</a>
</div>
<div class="main">
<p class="info">{{value.nickname}} 发表于 {{value.created}}</p>
<div class="brief">{{@value.content}}</div>
<p class="extra">
<span class="reading">阅读({{value.views}})</span>
<span class="comment">评论({{value.commentsCount}})</span>
<a href="javascript:;" postid="{{value.id}}" like="{{value.likes}}" class="like">
<i class="fa fa-thumbs-up"></i>
<span>({{value.likes}})</span>
</a>
<a href="list.php?id={{value.category_id}}" class="tags">
分类<span>{{value.name}}</span>
</a>
</p>
<a href="detail.php?id={{value.id}}" class="thumb">
<img src="uploads/hots_2.jpg" alt="">
</a>
</div>
</div>
{{/each}}
</script>
<script type="text/template" id="remtp">
{{each $data value}}
<li>
<a href="detail.php?id={{value.id}}">
<img src="{{value.feature}}" alt="">
<span>{{@value.content}}</span>
<span>({{value.views}})</span>
</a>
</li>
{{/each}}
</script>
<script src="/assets/vendors/art-template/template-web.js"></script>
<script src="/assets/js/_index.js"></script>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/newtianyuan/bx.git
git@gitee.com:newtianyuan/bx.git
newtianyuan
bx
bx
master

搜索帮助