abouts.html 5.1 KB
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>关于我们</title>
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
		<script type="text/javascript" src="../js/base.js"></script>
		<link rel="stylesheet" type="text/css" href="../assets/css/weui.min.css" />
		<link rel="stylesheet" type="text/css" href="../assets/css/swiper-3.4.2.min.css" />
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_773803_6y9erxzbkn2.css" />
		<script type="text/javascript" src="../assets/font/iconfont.js">
		</script>
		<link rel="stylesheet" href="../css/abouts.css" />
		<style>
			#mooc {
	width: 399px;
	border: 5px solid #ababab;
	-moz-border-radius: 15px;      /* Gecko browsers */
	-webkit-border-radius: 15px;   /* Webkit browsers */
	border-radius: 15px;
	box-shadow: 2px 2px 10px #ababab;
	margin: 50px auto 0;
	text-align: left;               /* 让新闻内容靠左 */
}
/*  头部样式 */	
#moocTitle {
	height: 62px;
	overflow: hidden;  /* 这个一定要加上,内容超出的部分要隐藏,免得撑高头部 */
	font-size: 26px;
	line-height: 62px;
	padding-left: 30px;
	background-image: -moz-linear-gradient(top, #f05e6f, #c9394a); /* Firefox */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f05e6f), color-stop(1, #c9394a)); /* Saf4+, Chrome */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8fa1ff', endColorstr='#f05e6f', GradientType='0'); /* IE*/
	border: 1px solid ##f05e6f;
	-moz-border-radius: 8px 8px 0 0;      /* Gecko browsers */
	-webkit-border-radius: 8px 8px 0 0;   /* Webkit browsers */
	border-radius: 8px 8px 0 0;
	color: #fff;
	position: relative;
}
#moocTitle a {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline;
	color: #fff;
	font-size: 12px;
	line-height: 24px;
}
/*  底部样式 */
#moocBot {
	width: 399px;
	height: 10px;
	overflow: hidden;     /* 这个一定要加上,内容超出的部分要隐藏,免得撑高底部结构 */
}
/*  中间样式 */
#moocBox {
	height: 144px;   /*修改高度可以更改显示条数*/
	width: 335px;
	margin-left: 25px;
	margin-top: 10px;
	overflow: hidden;    /*  这个一定要加,超出的内容部分要隐藏,免得撑高中间部分 */
}
#mooc ul li {
	height: 24px;
}
#mooc ul li a {
	width: 180px;
	float: left;
	display: block;
	overflow: hidden;
	text-indent: 15px;
	height: 24px;
}
#mooc ul li span {
	float: right;
	color: #999;
}
a{color: #000;}
		</style>
	</head>

	<body>
		<div class="pic">
			<img src="../images/banner.png" alt="" />
		</div>
		<div class="show">
			平台简介
		</div>
		<div class="text">
			Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tempor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus sapien nunc eget.
		</div>
		<div class="phone">
			<span>客服电话:XXXXXX</span>
			<a href="aboutus.html"><span class="yan">留言</span></a>
		</div>
		<!--<div>
			<ul>
				<a href="advisoryDetails.html">
					<li>
						·跟着萨米去玩户外
					</li>
				</a>
				<a href="advisoryDetails.html">
					<li>
						·跟着萨米去玩户外
					</li>
				</a>
				<a href="advisoryDetails.html">
					<li>
						·跟着萨米去玩户外
					</li>
				</a>
				<a href="advisoryDetails.html">
					<li>
						·跟着萨米去玩户外
					</li>
				</a>
				<a href="advisoryDetails.html">
					<li>
						·跟着萨米去玩户外
					</li>
				</a>
			</ul>
		</div>-->
		<div id="moocBox">
			<ul>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
				<li>
					<a href="advisoryDetails.html">·跟着萨米去玩户外</a></li>
			</ul>
		</div>
	</body>

</html>
<script type="text/javascript">
	var area = document.getElementById('moocBox');
	var iliHeight = 24*7; //单行滚动的高度
	var speed = 50; //滚动的速度
	var time;
	var delay = 2000;
	area.scrollTop = 0;
	area.innerHTML += area.innerHTML; //克隆一份一样的内容
	function startScroll() {
		time = setInterval("scrollUp()", speed);
		area.scrollTop++;
	}

	function scrollUp() {
		if(area.scrollTop % iliHeight == 0) {
			clearInterval(time);
			setTimeout(startScroll, delay);
		} else {
			area.scrollTop++;
			if(area.scrollTop >= area.scrollHeight / 2) {
				area.scrollTop = 0;
			}
		}
	}
	setTimeout(startScroll, delay)
</script>