-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (77 loc) · 3.24 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta charset="utf-8">
<script type="text/javascript" rel="script" src="minx/observer.js"></script>
<script type="text/javascript" rel="script" src="minx/watcher.js"></script>
<script type="text/javascript" rel="script" src="minx/compile.js"></script>
<script type="text/javascript" rel="script" src="minx/router.js"></script>
<script type="text/javascript" rel="script" src="minx/minx.js"></script>
<script type="text/javascript" rel="script" src="index.js"></script>
</head>
<body>
<div id="root" :class="title">
<h3> {{ title }} - {{ name['first'].split('').reverse().join('') }} - {{ name['first'] + name['last'] }}</h3>
<div>
<div><a x-attr:href="url">{{ user }}的BLOG</a></div>
<button x-on:click="click('Hello')">CLICK TO SAY: Hello</button>
<hr>
<div x-attr:class="user">相应输入: {{ message }}</div>
<div x-attr:class="user">相应输入: {{ message }}</div>
<input title="input" x-model="message">
<hr>
列表数目: {{ list.length + 1 - 1 }}
<ol>
<li><button x-on:click="push">push</button></li>
<li><button x-on:click="pop">pop</button></li>
<li><button x-on:click="reverse">reverse</button></li>
<li><button x-on:click="shift">shift</button></li>
<li><button x-on:click="unshift">unshift</button></li>
<li><button x-on:click="splice">splice</button></li>
<li><button x-on:click="sort">sort</button></li>
</ol>
<ul :id="title">
<li x-for="todo:list">
<p x-attr:href="url+'/'+todo.id">创建人:{{ todo.creator }} - {{ message }} </p>
<input title="input" x-model="todo.creator">
<p>时间: {{ todo.date }}</p>
<p>事件:{{ todo.content }}</p>
<ol>
<li x-for="member:todo.members">
<span>{{ member.name }}</span>
</li>
</ol>
</li>
<li>mid</li>
<li x-for="todo:list" >
<p x-attr:href="url+'/'+todo.id">创建人:{{ todo.creator }} - {{ message }} </p>
<!--<input title="input" x-model="todo.creator">-->
<p>时间: {{ todo.date }}</p>
<p>事件:{{ todo.content }}</p>
<ol>
<li x-for="member:todo.members">
<span>{{ member.name }} {{message}}</span>
</li>
</ol>
</li>
</ul>
<div :class="title">
<div>UP</div>
<div x-for="todo:list">
<p x-attr:href="url+'/'+todo.id">创建人:{{ todo.creator }} - {{ message }} </p>
<!--<input title="input" x-model="todo.creator">-->
<p>时间: {{ todo.date }}</p>
<p>事件:{{ todo.content }}</p>
<!--<ol>-->
<!--<li x-for="member:todo.members">-->
<!--<span>{{ member.name }}</span>-->
<!--</li>-->
<!--</ol>-->
</div>
<div>DOWN</div>
</div>
</div>
</div>
</body>
</html>