abouts.html
5.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!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>