-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlist.html
119 lines (112 loc) · 3.76 KB
/
list.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="app" style="min-height: 800px">
<!-- <h1>Hello App!</h1>
<p>
<router-link to="/user/foo">Go to Foo</router-link>
<router-link to="/user/bar">Go to Bar</router-link>
</p>
<router-view></router-view>
</div> -->
<!-- <div id="app">
<p>
<router-link to="/user/foo">/user/foo</router-link>
<router-link to="/user/foo/profile">/user/foo/profile</router-link>
<router-link to="/user/foo/posts">/user/foo/posts</router-link>
</p>
<router-view></router-view>
</div> -->
<!-- <div id="app">
<h1>Named Views</h1>
<ul>
<li>
<router-link to="/a">/a</router-link>
</li>
<li>
<router-link to="/b">/other</router-link>
</li>
</ul>
<router-view></router-view>
</div> -->
<!-- <div id="todo-list-example">
<input
v-model="newTodoText"
v-on:keyup.enter="addNewTodo"
placeholder="Add a todo"
>
<ul>
<li
is="todo-item"
v-for="(todo, index) in todos"
v-bind:title="todo"
v-on:remove="todos.splice(index, 1)"
></li>
</ul>
</div> -->
<div id="todo-list-example">
<h1>{{subject}}</h1>
<br>
<h3 class="list-title"><span>Comments</span><a class="" id='comment-num'>{{comment}}条评论</a></h3>
<div is="list-item" v-for="(item,index) in items" :parent="items[index]" :username="listName[index]" :time="listTime[index]"></div>
<ul class="pagination">
<li v-show="current != 1" @click="current-- && goto(current--)">
<a href="#">上一页</a>
</li>
<li v-for="index in pages" @click="goto(index)" :class="{'active':current == index}" :key="index">
<a href="#">{{index}}</a>
</li>
<li v-show="allpage != current && allpage != 0 " @click="current++ && goto(current++)">
<a href="#">下一页</a>
</li>
</ul>
<!--评论功能-->
<div class="comments">
<!-- <h3>Welcome back,<a href="#" @click="activeBtn"> [修改]</a></h3>
<div id="user" class="user">
<input type="text" placeholder="Name" v-model="message">
<input type="text" placeholder="E_mail">
<input type="text" placeholder="Blog">
</div> -->
<textarea v-model="text" v-text="text" v-on:keyup.ctrl.enter="addNewComment"></textarea>
<button @click="addNewComment">发布评论</button>
</div>
</div>
<!---->
<!-- <template v-if="walletAlert">
<div draggable="true" @drag="mouseDrag" @dragend="mouseDragend" :style="dialogStyle" class="g-dialog-wrapper">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">提示</h4>
</div>
<div class="modal-body">请先安装<a href="https://github.com/ChengOrangeJu/WebExtensionWallet"> webExtensionWallet</a>钱包</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" @click="myVisible=false" aria-hidden="true" data-dismiss="modal">关闭</button>
</div>
</div>
<div class="g-dialog-container">
</div>
</div>
</template> -->
<script src="vue.js"></script>
<script src="vue-router.js"></script>
<script type="text/javascript" src="./dist/nebulas.js"></script>
<script type="text/javascript" src="./dist/nebPay.js"></script>
<script src="index.js"></script>
</div>
<!--copy-->
<div class="copy-section">
<div class="container">
<p>Copyright © 2018.Hongjie Wang All rights reserved.</p>
</div>
</div>
</body>
</html>