在好例子网,分享、交流、成长!
您当前所在位置:首页CSS 开发实例Box Model → zepto框架模拟的腾讯新闻

zepto框架模拟的腾讯新闻

Box Model

下载此实例
  • 开发语言:CSS
  • 实例大小:0.15M
  • 下载次数:49
  • 浏览次数:707
  • 发布时间:2015-07-09
  • 实例类别:Box Model
  • 发 布 人:花果山呼噜娃
  • 文件格式:.zip
  • 所需积分:2
 相关标签: 模拟 框架 zepto

实例介绍

【实例简介】

【实例截图】

【核心代码】


<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=100%;
    initial-scale=1.0;
    maximum-scale=1.0;
    minimum-scale=1.0;
    user-scalable=no;" />
	<title>zepto tab</title>
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/style.css" />
	<script type="text/javascript" src="js/zepto.js"></script>
	</head>
<body>

<div class="zx-back" id="zx-back">
	<header class="header">
        <h1><span class="ico"></span><span class="t_head_title">爱播</span></h1>
        <a class="art-back" id="art-back" href="javascript:;"></a>
        <a class="right center" id="t_h_login" href="javascript:;"></a>
    </header>
</div>
<div class="zx-tab"> 
	<div id="zx-video">
		<video width="100%" height="100%" x-webkit-airplay="true" controls="" poster="css/images/33.jpg" preload="none" src="http://222.73.3.98/vkp.tc.qq.com/u00154ez3kn.m1.mp4?vkey=D76D5FF6E4A131601B84E87DB905860E6890210B82D47D13D2F87734C72833FE48DD4078BB6823D720790DB9B45821FD00841BE900739E81&br=29&platform=2&fmt=auto&level=0&sdtfrom=v5010&locid=b7c236a4-8d3f-49f1-9f5b-a93b0f6677a4&size=2613694&ocid=3558547372"></video>
	</div>
	<ul class="tab_area">
		<li><a href="javascript:;"><span>详情</span></a></li>
		<li class="current"><a href="javascript:;"><span>评论</span></a></li>
	</ul>
	<!--用户评论-->
	<div id="single-comment-main" style="display: block;">
		<div class="info-comment">   
			<div class="info-comment-reply">       
				<textarea class="info-reply-area cmt_text" placeholder="说说你的看法" id="cmt_textarea" style="height: 78px;"></textarea>       
				<div class="info-reply-bar info-bar  hide" style="display: -webkit-box;">           
					<div class="comment-count t_join_count">70条评论</div>           
					<button class="info-btn info-btn-submit t_send">发表</button>       
				</div>   
			</div>
			<div class="main-comment new-comment t_latest_cmt_con" style="display: block;">   
				<div class="main-comment-title">最新评论</div>   
				<ul class="main-comment-list" id="comment_list">
					<li>
						<a class="comment-list-title">       
							<strong class="comment-user-name">           
								<span>不曾流泪的雨</span>      
							</strong>       
							<time>刚刚</time>   
						</a>
						<ul class="main-comment-list small">
							<li>   
								<a class="comment-list-title">       
									<strong class="comment-user-name">          
										<span>一分等于六十秒</span>       
									</strong>       
									<time>1 楼</time>   
								</a>   
								<div class="comment-content">上课都要扯政治,这不是有病吗!</div>   
								<div class="comment-bar">       
									<em class="info-btn ilike">14</em>   
								</div>
							</li>
							<li>   
								<a class="comment-list-title">       
									<strong class="comment-user-name">           
										<span>横刀</span>       
									</strong>       
									<time>2 楼</time>   
								</a>   
								<div class="comment-content">那为什么要考政治?!有病吗</div>   
								<div class="comment-bar">       
									<em class="info-btn ilike">5</em>   
								</div>
							</li>
						</ul>   
						<div class="comment-content">就是</div>   
						<div class="comment-bar">       
							<em class="info-btn ilike">0</em>       
							<em class="info-btn info-btn-reply">回复</em>   
						</div>
					</li>
					<li>   
						<a class="comment-list-title">       
							<strong class="comment-user-name">           
								<span>我</span>       
							</strong>      
							<time>1分钟前</time>   
						</a>
						<ul class="main-comment-list small">
							<li>   
								<a class="comment-list-title">      
									<strong class="comment-user-name">           
										<span>Tyrael</span>       
									</strong>       
									<time>1 楼</time>  
								</a>   
								<div class="comment-content">我真的很好奇,那他是怎么当上老师的</div>   
								<div class="comment-bar">       
									<em class="info-btn ilike">3</em>   
								</div>
							</li>
						</ul>   
						<div class="comment-content">希特勒怎么当上元首的?</div>   
						<div class="comment-bar">       
							<em class="info-btn ilike">0</em>       
							<em class="info-btn info-btn-reply">回复</em>   
						</div>
					</li>
					<li>  
						 <a class="comment-list-title">       
						 	<strong class="comment-user-name">           
						 		<span>横刀</span>       
						 	</strong>       
						 	<time>1分钟前</time>   
						 </a>
						 <ul class="main-comment-list small">
						 	<li>   
						 		<a class="comment-list-title">       
						 			<strong class="comment-user-name">           
						 				<span>一分等于六十秒</span>       
						 			</strong>       
						 			<time>1 楼</time>   
						 		</a>   
						 		<div class="comment-content">上课都要扯政治,这不是有病吗!</div>   
						 		<div class="comment-bar">       
						 			<em class="info-btn ilike">12</em>   
						 		</div>
						 	</li>
						 </ul>   
						 <div class="comment-content">那为什么要考政治?!有病吗</div>   
						 <div class="comment-bar">       
						 	<em class="info-btn ilike">0</em>       
						 	<em class="info-btn info-btn-reply">回复</em>   
						 </div>
					</li>
					<li>  
						 <a class="comment-list-title">       
						 	<strong class="comment-user-name">           
						 		<span>Tyrael</span>       
						 	</strong>      
						 	<time>6分钟前</time>   
						 </a>   
						 <div class="comment-content">我真的很好奇,那他是怎么当上老师的</div>   
						 <div class="comment-bar">       
						 	<em class="info-btn ilike">3</em>      
						 	<em class="info-btn info-btn-reply t_reply">回复</em>   
						 </div>
					</li>
					<li>   
						<a class="comment-list-title">       
							<strong class="comment-user-name">           
								<span>王宸</span>       
							</strong>       
							<time>7分钟前</time>   
						</a>   
						<div class="comment-content">一派胡言</div>   
						<div class="comment-bar">       
							<em class="info-btn ilike" >1</em>       
							<em class="info-btn info-btn-reply">回复</em>   
						</div>
					</li>
					<li>   
						<a class="comment-list-title">      
							<strong class="comment-user-name">           
								<span>仙雪</span>      
							</strong>       
							<time>7分钟前</time>   
						</a>   
						<div class="comment-content">好日子过到头了,呵呵!</div>   
						<div class="comment-bar">       
							<em class="info-btn ilike">2</em>       
							<em class="info-btn info-btn-reply">回复</em>   
						</div>
					</li>
					<li>   
						<a class="comment-list-title">       
							<strong class="comment-user-name">           
								<span>↘_子陵阁</span>       
							</strong>      
							<time>8分钟前</time>   
						</a>   
						<div class="comment-content">都是听评论员说话,当事人一句都没听到!党也弯曲过好多把</div>  
						<div class="comment-bar">       
							<em class="info-btn ilike">2</em>      
							<em class="info-btn info-btn-reply">回复</em>   
						</div>
					</li>
				</ul>   
				<a class="comment-link-more" href="javascript:;" id="link_more" style="display: block;">
					<em>更多评论(60)条</em>
				</a> 
			</div>
		</div>
	</div>
	<div id="jumphelper" style="display: block;">
		<a onclick="javascript:void 0;" id="gotop">∧</a>
		<a onclick="javascript:void 0;" id="gobot">∨</a>
	</div>
	<div id="ivideo_footer">
		<footer class="footer">	    			
			<nav>	        		
				<a href="javascript:;" class="ileft footer_channel">反馈</a>
				<a href="javascript:;" class="iright footer_login">退出</a>	      			    			
			</nav>			
		</footer>
	</div>
</div>
</body>
<script type="text/javascript"> 
	$(function(){
		$("#art-back").on('click', function(){
			history.go(-1);
		});

		$("#link_more").on('click', function(){
			var appendData = '<li><a class="comment-list-title"><strong class="comment-user-name"><span>Tyrael</span></strong><time>10分钟前</time></a><div class="comment-content">哈哈哈啊哈哈哈哈哈哈</div><div class="comment-bar"><em class="info-btn ilike">3</em><em class="info-btn info-btn-reply">回复</em></div></li><li><a class="comment-list-title"><strong class="comment-user-name"><span>王小马</span></strong><time>11分钟前</time></a><div class="comment-content">颠三倒四</div><div class="comment-bar"><em class="info-btn ilike" >2</em><em class="info-btn info-btn-reply">回复</em></div></li><li><a class="comment-list-title"><strong class="comment-user-name"><span>夏雪</span></strong><time>13分钟前</time></a><div class="comment-content">好日子过到头了,呵呵!</div><div class="comment-bar"><em class="info-btn ilike">2</em><em class="info-btn info-btn-reply">回复</em></div></li><li><a class="comment-list-title"><strong class="comment-user-name"><span>小黄人</span></strong><time>17分钟前</time></a><div class="comment-content">好啊哈哈啊哈啊哈哈哈哈哈哈</div><div class="comment-bar"><em class="info-btn ilike">2</em><em class="info-btn info-btn-reply">回复</em></div></li>';

			$("#comment_list").append(appendData);
		});
	});
</script>
</html>


标签: 模拟 框架 zepto

实例下载地址

zepto框架模拟的腾讯新闻

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警