-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (56 loc) · 2.61 KB
/
index.html
File metadata and controls
68 lines (56 loc) · 2.61 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Phoneview by keyzf</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<script src="//cdn.bootcss.com/jquery/3.1.0/jquery.min.js"></script>
<script type="text/javascript" src="phoneView.min.js"></script>
</head>
<body>
<section class="page-header">
<h1 class="project-name">Phoneview</h1>
<h2 class="project-tagline">一个用来格式化手机跟大陆固定电话的小工具,格式成133-1234-1234 、010-1234561</h2>
<a href="https://github.com/keyzf/phoneView" class="btn">View on GitHub</a>
<a href="https://github.com/keyzf/phoneView/zipball/master" class="btn">Download .zip</a>
<a href="https://github.com/keyzf/phoneView/tarball/master" class="btn">Download .tar.gz</a>
</section>
<section class="main-content">
<h1>
<a id="phoneview" class="anchor" href="#phoneview" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>phoneView</h1>
<h4>
<a id="简单说明" class="anchor" href="#%E7%AE%80%E5%8D%95%E8%AF%B4%E6%98%8E" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>简单说明</h4>
<ul>
<li>用于格式化手机电话号码的显示;</li>
<li>依赖Jquery;</li>
</ul>
<h4>
<a id="版本" class="anchor" href="#%E7%89%88%E6%9C%AC" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>版本</h4>
<ul>
<li>phoneView-1.0</li>
</ul>
<h4>
<a id="Demo" class="anchor" href="#%E7%89%88%E6%9C%AC" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Demo</h4>
<div>
<input id="phone" type="text"/>
</div>
<footer class="site-footer">
<img style="width: 20px; height: 20px;" src="http://www.beian.gov.cn/img/ghs.png" alt="备案标识" />
<a id="beian" href="http://beian.miit.gov.cn" target="_blank" rel="nofollow noopener noreferrer">粤ICP备13059092号-2</a>
</footer>
</section>
<script type="text/javascript">
$("#phone").phoneView();
if (location.host.indexOf('zhangzhifu') !== -1)
{
$("#beian").text('粤ICP备13059092号-2')
} else {
$("#beian").text('粤ICP备13059092号')
}
</script>
</body>
</html>