forked from zyzsdy/bili-danmu-vod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (161 loc) · 7.64 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<html>
<head>
<meta charset="utf-8">
<title>谜之弹幕点歌软件</title>
<link rel="stylesheet" type="text/css" href="assest/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assest/css/ripples.min.css">
<link rel="stylesheet" type="text/css" href="assest/css/bootstrap-material-design.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<!--help and about-->
<div class="modal fade" id="about">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="aboutmodal-title">帮助和关于</h4>
</div>
<div class="modal-body" id="aboutmodal-content">
<p>Bili-danmu-vod v<span id="version">0.1.0</span></p>
<p>By Zyzsdy, 本点歌叽在空空视奸下开发</p>
<p>Github: https://github.com/zyzsdy/bili-danmu-vod</p>
<p>
<button type="button" class="btn btn-info" id="checkforupdate">检查更新</button>
<span id="updateinfo"></span>
</p>
<hr>
<div class="row">
<div class="col-xs-6">
<p>操作快捷键:</p>
<p>F1 显示帮助和关于页面</p>
<p>Ctrl + L 清空日志</p>
<p>Ctrl + 0 恢复界面初始大小</p>
</div>
<div class="col-xs-6">
<p>播放控制:</p>
<p>Space 暂停/恢复</p>
<p>Ctrl + → 下一曲</p>
<p>Ctrl + P 强制开始播放</p>
<p>Ctrl + Shift + 1~7 删除对应位置的点歌</p>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!--modal-->
<div class="modal fade" id="modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modal-title">信息</h4>
</div>
<div class="modal-body" id="modal-content">
<p>谜之弹幕点歌软件。</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!--title bar-->
<header class="navbar navbar-warning" id="application-titlebar">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="javascript:;" id="main-title">谜之弹幕点歌软件</a>
</div>
<ul class="nav navbar-nav">
<li><a href="javascript:;" id="connect-button">未连接</a></li>
</ul>
<form class="navbar-form navbar-left" id="roomid-form">
<div class="form-group">
<input type="text" class="form-control" id="roomid" placeholder="房间号">
</div>
</form>
<ul class="nav navbar-nav navbar-right">
<li class="application-quit-border">
<a href="javascript:;" id="application-quit" class="navbar-quit">×</a>
</li>
</ul>
</div>
</header>
<!--main frame-->
<div class="container-fluid">
<div class="row">
<div class="col-xs-8">
<div class="well">
<div class="player-maininfo">
<div id="nowplaying">
<div class="player-cover pull-left">
<img v-bind:src="cover" width="175" height="175">
</div>
<div class="player-controls pull-left">
<h3 class="p-title">{{ title }}</h3>
<div class="p-text">{{ artists }} / {{ album }}</div>
<div class="player-lyrics">
<p class="lyrics-main">{{ lyric }}</p>
<p>{{ tlyric }}</p>
</div>
<div class="player-requester">
{{ reqer }}
</div>
<div class="player-timespan">
<span>{{ nowtime }}</span> / <span>{{ duration }}</span>
</div>
</div>
<div class="clearfix"></div>
<div class="progress">
<div class="progress-bar" v-bind:style="{ width: percent }"></div>
</div>
</div>
<table class="table table-striped table-condensed table-hover player-list" id="playlist">
<tr v-for="item in list">
<td v-if="$index==0" class="playlist-index">即将播放</td>
<td v-else class="playlist-index">{{ $index + 1 }}</td>
<td>
<div class="playlist-title">{{ item.title }}</div>
</td>
<td>
<div class="playlist-artists">{{ item.artists }}</div>
</td>
<td>{{ item.duration }}</td>
</tr>
</table>
</div>
</div>
<div id="player-status" class="player-status">
{{ status }}
</div>
</div>
<div class="col-xs-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">信息输出</h3>
</div>
<div class="panel-body mainsection-info-body">
<pre id="info"></pre>
</div>
</div>
</div>
</div>
</div>
<!--hidden player-->
<audio id="player" style="display:none"></audio>
<!--scripts-->
<script type="text/javascript" src="assest/js/jquery.min.js"></script>
<script type="text/javascript" src="assest/js/bootstrap.min.js"></script>
<script type="text/javascript" src="assest/js/material.min.js"></script>
<script type="text/javascript" src="assest/js/ripples.min.js"></script>
<script type="text/javascript" src="assest/js/vue.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="js/classes.js"></script>
<script type="text/javascript" src="js/player.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>