-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
99 lines (96 loc) · 5.37 KB
/
demo.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>DEMO PAGE</title>
<link rel="stylesheet" type="text/css" href="demo/demo.css">
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="demo/demo.js"></script>
</head>
<body>
<div class="title">我写的小网页(节选)</div>
<a href="#" class="scrlBtn" id="scrlPrev"></a>
<div class="container" id="container">
<div class="demoPanel">
<img src="demo/img/twitchScrSht-mb.png">
<div class="demoDesc">
<input type="button" name="iptIntro" value="项目简介" class="iptIntro">
<div class="demoCont">
<span>推奇直播</span>
<p>这个小页面主要是利用jQuery的$.getJSON()方法从twitch.tv开放的API获取主播在线状态及直播信息, 再通过字符串的提取拼接, 操作DOM节点和CSS渲染生成类APP界面</p>
<a target="_blank" href="https://www.mike652638.com/demo/twitch.html">
<input type="button" name="btn" value="查看DEMO" class="iptLink">
</a>
</div>
</div>
</div>
<div class="demoPanel">
<img src="demo/img/weatherScrSht-mb.png">
<div class="demoDesc">
<input type="button" name="iptIntro" value="项目简介" class="iptIntro">
<div class="demoCont">
<span>天气预报</span>
<p>这个小项目应用了HTML5定位功能, 并通过百度地图API反解析得到城市名, 再由AJAX从聚合API获取相应城市的天气信息, 同时整合了城市选择器和农历转换函数</p>
<a target="_blank" href="https://www.mike652638.com/demo/weather.html">
<input type="button" name="btn" value="查看DEMO" class="iptLink">
</a>
</div>
</div>
</div>
<div class="demoPanel">
<img src="demo/img/tickScrSht-mb.png">
<div class="demoDesc">
<input type="button" name="iptIntro" value="项目简介" class="iptIntro">
<div class="demoCont">
<span>三子棋(TICK-TACK-TOE)</span>
<p>这个小项目应用了BootStrap和MediaQuery完成响应式布局, 同时用JS, JQ实现了人机对战时电脑端的走子逻辑, 棋局判断, 事件响应以及基本的人机交互</p>
<a target="_blank" href="https://www.mike652638.com/demo/tick-tack-toe.html">
<input type="button" name="btn" value="查看DEMO" class="iptLink">
</a>
</div>
</div>
</div>
<div class="demoPanel">
<img src="demo/img/simonScrSht-mb.png">
<div class="demoDesc">
<input type="button" name="iptIntro" value="项目简介" class="iptIntro">
<div class="demoCont">
<span>我爱记音符</span>
<p>这个小项目应用了CSS3的transform rotate和skew等样式实现扇形转盘设计, HTML5的audio实现钢琴音效, 并设定了"自由模式"和"记忆模式"两种玩法</p>
<a target="_blank" href="https://www.mike652638.com/demo/simon.html">
<input type="button" name="btn" value="查看DEMO" class="iptLink">
</a>
</div>
</div>
</div>
<div class="demoPanel">
<img src="demo/img/danmuScrSht-mb.png">
<div class="demoDesc">
<input type="button" name="iptIntro" value="项目简介" class="iptIntro">
<div class="demoCont">
<span>弹幕墙</span>
<p>这个小项目灵感来自Bilibili视频弹幕, 通过JS的createElement, JQ的addClass, append等方法, 结合CSS3的animation等动画样式实现字幕的上墙和滚动</p>
<a target="_blank" href="https://www.mike652638.com/demo/danmu.html">
<input type="button" name="btn" value="查看DEMO" class="iptLink">
</a>
</div>
</div>
</div>
<div class="demoPanel">
<img src="demo/img/wikiScrSht-mb.png">
<div class="demoDesc">
<input type="button" name="iptIntro" value="项目简介" class="iptIntro">
<div class="demoCont">
<span>维基词条</span>
<p>这个小项目主要是监听输入框获取搜索词, 从而调用mediaWiki开放的API并匹配相关的维基百科词条, 实现基本的搜索结果页布局和手动/自动翻页效果, 内置科学上网工具下载</p>
<a target="_blank" href="https://www.mike652638.com/demo/wiki.html">
<input type="button" name="btn" value="查看DEMO" class="iptLink">
</a>
</div>
</div>
</div>
</div>
<a href="#" class="scrlBtn" id="scrlNext"></a>
</body>
</html>