-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
58 lines (58 loc) · 2.48 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta content="telephone=no" name="format-detection">
<meta content="email=no" name="format-detection">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<title>omui</title>
<link rel="apple-touch-icon" sizes="144x144" href="img/touch/omw-144×144.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/touch/omw-114×114.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/touch/omw-72×72.png">
<link rel="apple-touch-icon" href="img/touch/omw-57×57.png">
<link rel="shortcut icon" href="img/touch/omw.png">
<link rel="stylesheet" href="src/css/omui.css"/>
<link rel="stylesheet" href="src/css/style.css"/>
</head>
<body>
<header class="om-header om-header-default om-header-fixed">
<a href="javascript:history.back()" class="om-header-left">
<i class="iconfont icon-left"></i>
</a>
<h1 class="om-header-title">omui框架</h1>
<a href="#" class="om-header-right">
<i class="iconfont icon-home"></i>
</a>
</header>
<footer class="om-footer om-footer-fixed">
<div class="om-grid-row om-grid-center">
<a href="index.html" class="om-grid-col-33 om-footer-on">基础样式</a>
<a href="html/ui.html" class="om-grid-col-33">UI组件</a>
<a href="html/js.html" class="om-grid-col-33">js组件</a>
</div>
</footer>
<section class="om-container">
<ul class="om-list-box">
<li class="om-list" data-href="html/text.html">文本</li>
<li class="om-list" data-href="html/icon.html">图标</li>
<li class="om-list" data-href="html/grid.html">网格</li>
<li class="om-list" data-href="html/layout.html">布局</li>
<li class="om-list" data-href="html/txtcut.html">文字截断</li>
</ul>
</section>
<script>
var _li = document.querySelectorAll('.om-list'),
_href = '',
i;
for(i in _li){
_li[ i ].onclick = function(){
_href = this.getAttribute('data-href');
location.href = _href;
};
}
</script>
</body>
</html>