forked from WangJia-mm/JavaScript201708
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (68 loc) · 2.29 KB
/
index.html
File metadata and controls
73 lines (68 loc) · 2.29 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>珠峰培训-投票首页</title>
<!--IMPORT CSS-->
<link rel="stylesheet/less" href="css/index.less">
<script src="js/less-2.5.3.min.js"></script>
<!--REM-->
<script>
~function () {
window.addEventListener('resize', computed, false);
computed();
function computed() {
var deviceW = document.documentElement.clientWidth;
if (deviceW > 640) return;
document.documentElement.style.fontSize = deviceW / 640 * 100 + 'px';
}
}();
</script>
</head>
<body>
<main class="mainBox">
<!--NAV-->
<nav class="navBox">
<a href="index.html">首页</a>
<a href="javascript:;">登录</a>
<a href="javascript:;">注册</a>
<a href="detail.html"></a>
<a href="javascript:;">退出</a>
</nav>
<header class="headerBox">
<img src="img/title.png" alt="" class="title">
<a href="join.html" class="sign">我要参赛</a>
<div class="search">
<input type="search" placeholder="输入用户名查找">
<a href="javascript:;" class="searchBtn">搜索</a>
</div>
</header>
<section class="userList">
<ul>
<!--<li>
<a href="detail.html?userId=0">
<img src="img/man.png" alt="" class="picture">
<p class="title">
<span>canfoo</span>
|
<span>编号 #001</span>
</p>
<p class="slogan">同一个世界同一个梦想同一个世界同一个梦想</p>
</a>
<div class="vote">
<span class="voteNum">7</span>
<a href="javascript:;" class="voteBtn">投他一票</a>
</div>
</li>-->
</ul>
<div class="tip">暂时没有匹配的数据</div>
</section>
</main>
<!--IMPORT JS-->
<script src="js/zepto.min.js"></script>
<script src="js/common.js"></script>
<script src="js/index.js"></script>
</body>
</html>