-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
41 lines (41 loc) · 1.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>周历插件</title>
<link rel="stylesheet" href="weekCalendar.css">
<script src="js/jquery-2.1.1.min.js"></script>
</head>
<body>
<div class="wcYear"></div>
<ul class="wcMonth">
<li data-month="01">一月</li>
<li data-month="02">二月</li>
<li data-month="03">三月</li>
<li data-month="04">四月</li>
<li data-month="05">五月</li>
<li data-month="06">六月</li>
<li data-month="07">七月</li>
<li data-month="08">八月</li>
<li data-month="09">九月</li>
<li data-month="10">十月</li>
<li data-month="11">十一月</li>
<li data-month="12">十二月</li>
</ul>
<ul class="wcDate">
<li><上周</li>
<li><span>02</span><span>周日</span></li>
<li><span>02</span><span>周一</span></li>
<li><span>02</span><span>周二</span></li>
<li><span>02</span><span>周三</span></li>
<li><span>02</span><span>周四</span></li>
<li><span>02</span><span>周五</span></li>
<li><span>02</span><span>周六</span></li>
<li>下周></li>
</ul>
<script src="js/weekCalendar.js"></script>
<script>
WeekCalendar();
</script>
</body>
</html>